CHANGELOG
Breaking changes
- Module renamed from v2 into v3
- Rename flag
--rpcto--evm-rpc - Commands with name format like
devd x_yrenamed todevd x-y(except EVM RPC methods likeeth_*,debug_*,...) - Merged
devd convert encode-base64 [input]anddevd convert decode-base64 [input]into new cmddevd convert base64 [input] [--decode] - Merged
devd convert lowercase [input]anddevd convert uppercase [input]into new cmddevd convert case [input] [--upper] - Merged
devd convert dec-2-hex [dec]anddevd convert hex-2-dec [hex]into new cmddevd convert hex [0xHex or Dec] - Moved
devd convert decode-raw-tx [input]intodevd debug raw-tx [input] - Removed previously deprecated cmd
devd tx deploy-erc20, instead usedevd tx deploy-contract erc20 - Removed some commands alias:
(ofdevd q txdevd q eth_getTransactionByHash, new alias:evm-tx)(ofdevd q blockdevd q eth_getBlockByNumber, new alias:evm-block)(ofdevd q receiptdevd q eth_getTransactionReceipt, new alias:evm-receipt)(ofdevd q tracedevd q debug_traceTransaction, new alias:evm-trace)
- Output of some commands are adjusted either.
New queries:
New EVM-RPC queries:
devd q eth_call 0xContractAddr 0xCallData [--from 0xFromAddr/Bech32] [--height 5m/0xHex/latest] [--gas 500k/0xHex] [--gas-prices 20e9/0xHex] [--value 1e18/0xHex]devd q eth_getAccount [0xAddress/Bech32]devd q eth_chainId
Improvements:
- Support flag
--raw-txin some tx commands to print RLP-encoded tx, for debugging purpose. - Output of some queries will have more information injected:
devd q eth_getAccountanddevd q accountwill have_isContractand_sentTxinfo.devd q evm-receiptwill have some duplicated log fields removed to increase readability
- Add more usage of short integer for input/flag
- Increase waiting time for EVM-tx to be included in a block, to 16s (~3 blocks), previously 6s.
Update
go install -v github.com/bcdevtools/devd/v3/cmd/[email protected]Full Changelog: v2.5.3...v3.0.0