Use anvil with deployed gateways #1109
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use anvil with deployed gateways by updating dev Docker and test utilities to ghcr.io/xmtp/contracts:sha-3b16f01 and enabling gateway pause flag tests
chainservice image in docker-compose.yml toghcr.io/xmtp/contracts:sha-3b16f01.TestPauseFlagsin appchainAdmin_test.go to execute theapp-chain-gatewaytoggle test.TestPauseFlagsSettlementin settlementchainAdmin_test.go to execute thesettlement-chain-gatewaytoggle test.ghcr.io/xmtp/contracts:sha-3b16f01.📍Where to Start
Start with the image changes in pkg/testutils/anvil/anvil.go and dev/docker/docker-compose.yml, then verify updated addresses in dev/environments/anvil.json before reviewing the unskipped tests in pkg/blockchain/appchainAdmin_test.go and pkg/blockchain/settlementchainAdmin_test.go.
Macroscope summarized a3037be.
Fixes xmtp/smart-contracts#125