Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: more global contract integration tests #12965

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pugachAG
Copy link
Contributor

@pugachAG pugachAG commented Feb 20, 2025

This PR moves introduces dedicated test loop mod for global contract moving test_global_contract_by_hash and test_global_contract_by_account_id there. More checks are added as part of those tests and 2 more tests are introduced. All details are hidden inside of GlobalContractsTestEnv so tests operate on high-level concepts making it easier to understand.
Note that I explicitly opted out from using build_genesis_and_epoch_config_store because I don't think it provides a good API. I plan introducing an alternative in a separate PR.

Part of #12718.

@pugachAG pugachAG force-pushed the global-contracts-test-loop branch 2 times, most recently from 6b85e66 to bfbeb61 Compare February 22, 2025 22:00
@pugachAG pugachAG changed the title feat: global contract test loop tests test: global contract test loop tests Feb 22, 2025
@pugachAG pugachAG changed the title test: global contract test loop tests test: more global contract integration tests Feb 22, 2025
@pugachAG pugachAG requested a review from stedfn February 22, 2025 22:08
@pugachAG pugachAG force-pushed the global-contracts-test-loop branch from bfbeb61 to 2402d30 Compare February 22, 2025 22:10
@pugachAG pugachAG marked this pull request as ready for review February 23, 2025 18:02
@pugachAG pugachAG requested a review from a team as a code owner February 23, 2025 18:02
@pugachAG pugachAG requested a review from wacban February 23, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant