Closed yihuang closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 17.87%. Comparing base (
fb902d2
) to head (493cbba
). Report is 1 commits behind head on main.:exclamation: There is a different number of reports uploaded between BASE (fb902d2) and HEAD (493cbba). Click for more details.
HEAD has 5 uploads less than BASE
| Flag | BASE (fb902d2) | HEAD (493cbba) | |------|------|------| ||2|0| |integration_tests|13|10|
The changes in this pull request involve updates to the integration_tests/configs/ibc.jsonnet
, integration_tests/ibc_utils.py
, integration_tests/test_ica.py
, and integration_tests/test_ica_precompile.py
files. Modifications include enhancements to blockchain configurations for cronos_777-1
and chainmain-1
, the introduction of a new class and function for querying interchain account balances, and the addition of testing functions to validate these queries. These changes collectively improve the functionality and testing capabilities related to interchain account management.
File | Change Summary |
---|---|
integration_tests/configs/ibc.jsonnet |
Updated configurations for cronos_777-1 and chainmain-1 , including new coin entry, message types, and parameters. |
integration_tests/ibc_utils.py |
Added QueryBalanceRequest class and gen_query_balance_packet function for querying interchain account balances. |
integration_tests/test_ica.py |
Introduced call_module_safe_query function to query interchain account balance after transactions. |
integration_tests/test_ica_precompile.py |
Utilized gen_query_balance_packet in test_sc_call to enhance balance verification after transaction submissions. |
integration_tests/configs/ibc.jsonnet
, indicating potential overlap in configuration changes.integration_tests/ibc_utils.py
, relevant to the main PR.sendtx.py
regarding transaction handling, connecting with message handling enhancements in the main PR.🐇 In the fields where the blockchains play,
New coins and messages come out to play.
With balances queried and tests that are bright,
We hop through the code, oh what a delight!
Configs and functions, all in a row,
Enhancing our world, watch our systems grow! 🐇
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?
Solution:
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
PR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit
New Features
cronos_777-1
andchainmain-1
, including new parameters for message handling and account definitions.Bug Fixes
Documentation