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

testing utils overhaul #62

Merged
merged 5 commits into from
Oct 17, 2024
Merged

testing utils overhaul #62

merged 5 commits into from
Oct 17, 2024

Conversation

nonergodic
Copy link
Collaborator

@nonergodic nonergodic commented Sep 27, 2024

improve WormholeOverride:

  • split into a simple, clear library that should cover most use-cases and an advanced superset for more sophisticated tests
  • instead of only using the devnet guardian to sign, by default the existing guardian set is replaced by a new guardian set of the same size to stay as close to mainnet as possible (default replacement guardins use labels "guardian" + index (starting at 1 because "guardian0" to "guardian18" seems counter-intuitive))
  • old functionality of overriding with the devnet guardian alone is still available by setting the environment variable DEFAULT_TO_DEVNET_GUARDIAN=true (and the advanced library allows overriding with an arbitrary set of private keys)

add and slighly refactor WormoleCctpTokenMessenger
add documentation

@nonergodic nonergodic marked this pull request as ready for review September 29, 2024 09:35
docs/Testing.md Outdated Show resolved Hide resolved
scnale
scnale previously approved these changes Oct 16, 2024
Co-authored-by: scnale <sebinale@gmail.com>
@nonergodic nonergodic merged commit 88c4a6d into main Oct 17, 2024
1 check passed
@nonergodic nonergodic deleted the test-utils branch October 17, 2024 10:07
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.

2 participants