-
Notifications
You must be signed in to change notification settings - Fork 30
fix: redeploy testnet vault with migrate_adapter (#514) #544
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
Merged
collinsezedike
merged 11 commits into
drydocs:main
from
blockchain-maxis:feat/redeploy-testnet-vault-migrate-adapter
Aug 22, 2026
Merged
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
c631c7f
fix(scripts): sign initialize() with ADMIN when separate from DEPLOYER
blockchain-maxis 9bcfdaa
chore(shared): redeploy testnet vault for #514
blockchain-maxis 129328e
chore(sdk): point testnet vault pool at redeployed contract
blockchain-maxis 83c3452
test(sdk): source mUSDC issuer fixture from @meridian/shared
blockchain-maxis b65f928
test(web): source mUSDC issuer fixture from @meridian/shared
blockchain-maxis 856d90f
test(web): source mUSDC issuer fixture from @meridian/shared
blockchain-maxis 820c31d
test(e2e): accept either no-funds error from the redeployed vault
blockchain-maxis 22927a9
docs(ops): record #514 vault migration and DEPLOYER/ADMIN signing gap
blockchain-maxis 7646eea
test(sdk): source USDC issuer fixture from @meridian/shared
blockchain-maxis 4bc82ba
fix(scripts): close the uninitialized-vault window via ADMIN_KEY
blockchain-maxis c9f5376
Merge branch 'main' into feat/redeploy-testnet-vault-migrate-adapter
collinsezedike File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR's own stated fix is only half-applied here:
MUSDC_ISSUER_TESTNETbelow is converted to source from@meridian/shared, butUSDC_ISSUER_TESTNETstays hardcoded right next to it, the exact pattern this PR exists to eliminate.USDC_ISSUERis already exported from@meridian/sharedand used the same way elsewhere in this file.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair, that's half a fix. I only touched
MUSDC_ISSUER_TESTNETbecause that's the one the redeployment broke, but leaving the literal forUSDC_ISSUER_TESTNETsitting on the line above it is exactly the drift this PR is supposed to stop. Same duplicate exists again in thebuildAddTrustlineTx via APIblock lower down at line 435.Fixing both to import
USDC_ISSUERfrom@meridian/sharedand readUSDC_ISSUER.testnet, same as the mUSDC one.One I'm leaving as a literal on purpose:
UNKNOWN_ISSUERat line 442 happens to hold the same value asUSDC_ISSUER.mainnet, but its job in the test is to be a well-formed address that isn't on the testnet allowlist. Sourcing it from the mainnet constant would make the test read as though it cares about mainnet USDC, and it would silently stop testing anything if mainnet ever got added to the allowlist. Say the word if you'd rather it come from the constant anyway.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in
7646eea.USDC_ISSUERis imported from@meridian/sharedand both fixture blocks readUSDC_ISSUER.testnet.UNKNOWN_ISSUERleft as a literal for the reason above, happy to change it if you disagree.