Refactors WithBlockHeight() and WithBlockHash()ProofKeepersOpt functions to be in terms of a new genericOptionFunc so that they can be reused between ProofModuleKeepers and TokenomicsModuleKeepers integration environments.
Moves common helpers to a new package in testutil/keeper/common.
Issue
579
Type of change
Select one or more:
[ ] New feature, functionality or library
[ ] Bug fix
[x] Code health or cleanup
[ ] Documentation
[ ] Other (specify)
Testing
Documentation changes (only if making doc changes)
[ ] make docusaurus_start; only needed if you make doc changes
I'm converting this back to a draft for now, as I'm starting to question the necessity. Please standby on this one. I'll either close it or re-request review when ready.
Summary
WithBlockHeight()
andWithBlockHash()
ProofKeepersOpt
functions to be in terms of a newgenericOptionFunc
so that they can be reused betweenProofModuleKeepers
andTokenomicsModuleKeepers
integration environments.testutil/keeper/common
.Issue
579
Type of change
Select one or more:
Testing
Documentation changes (only if making doc changes)
make docusaurus_start
; only needed if you make doc changesLocal Testing (only if making code changes)
make go_develop_and_test
make test_e2e
PR Testing (only if making code changes)
devnet-test-e2e
label to the PR.make trigger_ci
if you want to re-trigger tests without any code changesSanity Checklist