v0.7.0
Note: v0.7.x should only be used after the upgrade height 2693800
v0.7.0
is a major breaking upgrade from 0.6.x
, it introduces EIP-1559 implementation, significant performance improvements and many json-rpc bug fixes.
Upgrade Plan Name
The plan name for mainnet upgrade should be v0.7.0
.
New Config Items
Existing v0.6.x
node should add these config items into app.toml
before upgrade:
[json-rpc]
feehistory-cap = 100
logs-cap = 10000
block-range-cap = 10000
http-timeout="30s"
http-idle-timeout="120s"
[evm]
max-tx-gas-wanted=500000
New JSON-RPC APIs
The new apis are under json-rpc namespace cronos
, need to be enabled in the json-rpc.api
config item.
cronos_getTransactionReceiptsByBlock(BlockNumberOrHash) -> List[Receipt]
cronos_replayBlock(BlockNumberOrHash, bool) -> List[Receipt]
Major Changes
- New feemarket module to support EIP-1559 and dynamic fee transactions.
- Refactor EVM StateDB implementation, improve performance of contract execution significantly.
- Support batching multiple eth txs in a cosmos tx.
Dependency Updates
- Cosmos-sdk:
v0.44.6
->v0.45.4
- Ethermint:
v0.7.2-1d16a8af7dfc
->v0.10.0-alpha1-cronos-9
- Tendermint:
v0.34.14
->v0.34.19
RocksDB Bundle Tarball
The RocksDB tarball has all the dependencies included, the binary will find them by relative path, so it's important to keep the relative directory structure, one should extract them into a standalone directory and run the bin/cronosd
from there, don't move the files out from the bundle.