Skip to content

Commit 9ba1148

Browse files
committed
minor refactor
1 parent 75466d6 commit 9ba1148

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ devd query erc20 [ERC20 addr] [optional account] [--evm-rpc http://localhost:854
6767

6868
_This command will try to query `totalSupply()` if possible_
6969

70+
#### Query simple txs info in a block
71+
72+
```bash
73+
devd query txs-in-block [block number] [--tm-rpc http://localhost:26657]
74+
# devd q txs-in-block 100000
75+
```
76+
7077
#### Some EVM-RPC queries
7178

7279
```bash

cmd/tx/deploy-contract.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func waitForEthTx(ethClient8545 *ethclient.Client, txHash common.Hash) *ethtypes
121121
return tx
122122
}
123123

124-
time.Sleep(time.Second)
124+
time.Sleep(500 * time.Millisecond)
125125
}
126126

127127
return nil

0 commit comments

Comments
 (0)