Skip to content

v3.0.0

Latest

Choose a tag to compare

@0xbcdev 0xbcdev released this 28 Jan 20:51
· 2 commits to main since this release
e190031

CHANGELOG

Breaking changes

  • Module renamed from v2 into v3
  • Rename flag --rpc to --evm-rpc
  • Commands with name format like devd x_y renamed to devd x-y (except EVM RPC methods like eth_*, debug_*,...)
  • Merged devd convert encode-base64 [input] and devd convert decode-base64 [input] into new cmd devd convert base64 [input] [--decode]
  • Merged devd convert lowercase [input] and devd convert uppercase [input] into new cmd devd convert case [input] [--upper]
  • Merged devd convert dec-2-hex [dec] and devd convert hex-2-dec [hex] into new cmd devd convert hex [0xHex or Dec]
  • Moved devd convert decode-raw-tx [input] into devd debug raw-tx [input]
  • Removed previously deprecated cmd devd tx deploy-erc20, instead use devd tx deploy-contract erc20
  • Removed some commands alias:
    • devd q tx (of devd q eth_getTransactionByHash, new alias: evm-tx)
    • devd q block (of devd q eth_getBlockByNumber, new alias: evm-block)
    • devd q receipt (of devd q eth_getTransactionReceipt, new alias: evm-receipt)
    • devd q trace (of devd q debug_traceTransaction, new alias: evm-trace)
  • Output of some commands are adjusted either.

New queries:

New EVM-RPC queries:

Improvements:

  • Support flag --raw-tx in some tx commands to print RLP-encoded tx, for debugging purpose.
  • Output of some queries will have more information injected:
    • devd q eth_getAccount and devd q account will have _isContract and _sentTx info.
    • devd q evm-receipt will 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