Closed onikonychev closed 1 month ago
The recent changes simplify Ethereum configuration handling by removing old Ethereum forks and related checks. The updates streamline the code by refactoring configuration access, removing deprecated fields, and ensuring consistent intrinsic gas calculations. These modifications enhance code readability and maintainability while ensuring the system remains up-to-date with current Ethereum standards.
Files | Change Summary |
---|---|
CHANGELOG.md |
Simplified configuration by removing old Ethereum forks. |
app/evmante_eth.go |
Removed chainCfg , ethCfg , and related checks; updated configuration reference. |
app/evmante_sigverify.go |
Updated ethCfg retrieval method. |
eth/rpc/backend/call_tx.go |
Modified cfg assignment method. |
eth/rpc/backend/chain_info.go |
Simplified chain configuration retrieval. |
eth/rpc/backend/chain_info_test.go |
Updated test case names to focus on enabled features. |
proto/eth/evm/v1/evm.proto |
Deprecated chain_config field; removed ChainConfig message. |
proto/eth/evm/v1/query.proto |
Simplified BaseFee RPC method description. |
x/evm/chain_config.go |
Refactored EthereumConfig function; simplified block value initialization. |
x/evm/chain_config_test.go |
Simplified TestChainConfigValidate function logic. |
x/evm/evmtest/smart_contract_test.go |
Refactored Ethereum configuration access in tests. |
x/evm/keeper/gas_fees.go |
Simplified intrinsic gas calculation logic. |
x/evm/keeper/grpc_query.go |
Removed conditional check for traceConfig.Overrides . |
x/evm/keeper/msg_server.go |
Simplified access list setup logic. |
x/evm/keeper/vm_config.go |
Updated method call for Ethereum configuration retrieval. |
x/evm/params.go |
Removed ChainConfig references and validation logic. |
x/evm/statedb/statedb.go |
Reformatted PrepareAccessList method for readability. |
In code's vast and intricate dance,
We simplified, gave it a chance.
Old forks now gone, the path is clear,
Ethereum's future, we hold dear.
With gas and fees, we set things right,
A streamlined flow, a coder's delight.
🌟✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 80.00000%
with 7 lines
in your changes missing coverage. Please review.
Project coverage is 62.91%. Comparing base (
957c7b2
) to head (f6b4bc7
).
Less code, less bugs
Summary by CodeRabbit
Refactor
Tests
Chores