Closed onikonychev closed 1 month ago
The recent updates to the NibiruChain/nibiru
project primarily focus on enhancing test coverage and improving code quality within the Ethereum Virtual Machine (EVM) module. Key changes include the addition of comprehensive test functions for EVM queries and transactions, modifications to existing functions, and minor code cleanup across various files. These changes aim to ensure robust testing, better code maintainability, and improved functionality within the EVM-related components.
File Path | Change Summary |
---|---|
CHANGELOG.md |
Added entry for PR #1907, detailing enhancements in test coverage for grpc_query related functionality in the EVM module. |
x/evm/evmtest/eth.go |
Modified EthAddrToNibiruAddr function to change return type from sdk.AccAddress to []byte . |
x/evm/keeper/grpc_query_test.go |
Added multiple new functions and test cases for EVM queries and transactions, enhancing testing capabilities. |
x/evm/keeper/keeper_test.go |
Updated a comment for clarity. |
x/evm/evmtest/tx.go |
Added new imports and functions for handling Nibi transfers, ERC-20 transfers, and Ethereum transaction generation/signing. |
app/evmante_fees.go |
Removed unnecessary parentheses in a variable declaration. |
gosdk/gosdk_test.go , x/tokenfactory/cli/cli_test.go |
Modified the declaration of SetupAllSuite and TearDownAllSuite interfaces within the TestSuite struct. |
In the land where code does thrive,
EVM tests now come alive.
Nibi transfers, ERC-20 too,
All are covered, through and through.
With cleaner code and functions bright,
NibiruChain shines in the night.
πβ¨
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 1.58730%
with 62 lines
in your changes missing coverage. Please review.
Project coverage is 63.13%. Comparing base (
ad173e9
) to head (290c372
). Report is 1 commits behind head on main.:exclamation: Current head 290c372 differs from pull request most recent head f73cdc3
Please upload reports for the commit f73cdc3 to get more accurate results.
Summary by CodeRabbit
New Features
grpc_query
functionality in the EVM module.Bug Fixes
Refactor