v2.5.5 with **Breaking Change**
CHANGELOG
*** Breaking change
to 2 queries: devd q eth_getBlockByNumber and devd q debug_traceTransaction now try to print only the inner object instead of the entire RPC-response wrapped object.
Before:
{
"jsonrpc": "2.0",
"id": 2,
"result": {
"main": true
}
}Now:
{
"main": true
}Additionally from v2.5.4, added some deprecation notice to some commands to provide breaking change information on v3.
New CLI
devd convert decode_raw_tx [raw RLP-encoded EVM tx hex]to view inner tx information, including sender address
Improvement to queries
to 4 existing queries: devd q eth_getBlockByNumber/eth_getTransactionByHash/eth_getTransactionReceipt/debug_traceTransaction
Now devd will try to inject translated value of some fields into the output, with '_' prefix, like
Before:
{
"type": "0x2",
"status": "0x1",
"gas": "0xf"
}Now:
{
"_type": "Dynamic Fee (EIP-1559)",
"_status": "Success",
"_gas": "16",
"type": "0x2",
"status": "0x1",
"gas": "0xf"
}Other improvements
- Support custom integer input for some commands. You can pass number with format like
10e18,1k(thousand),2m(million),3b(billion),4kb(trillion),5mb(million billion),6bb,... Decimal point also supported fork,m,bsuffixes like1.5k,2.5m,3.5bb,... - Support 2 new flags
--gas(gas limit) and--gas-pricesfor some tx commands, allow custom gas config. Eg:devd tx deploy-contract ... --gas 30m --gas-prices 30b
Update
go install -v github.com/bcdevtools/devd/v2/cmd/devd@v2.5.5Full Changelog: v2.4.3...v2.5.5