Skip to content

Commit

Permalink
fix(fast-usdc): update noble connection info, make new ICA (#11025)
Browse files Browse the repository at this point in the history
refs: #11013

## Description

- feat(fast-usdc): `ChainHub` update interfaces
- fix(fast-usdc): prepare to repair Noble Account
- feat(fast-usdc): core eval to update chainInfo, noble ICA
  - feat(builders): to reconfigure Fast USDC
- test(boot): start fastUsdc using fast-usdc-beta-1 release
  - chore(boot): cache fast-usdc-beta-1 release artifacts
- test(boot): upgrade Fast USDC; update noble ICA
- test(boot): oracles accept before upgrade

### Security Considerations

~~`creatorFacet.getChainHub()` increases the surface area of the contract.~~

### Scaling Considerations

none, I think.

### Testing Considerations

 - unit tests for chainHub methods
 - bootstrap test for upgrade

for a later PR:
  - a3p, multichain-testing: #11060

### Upgrade / Documentation Considerations

OCW operators have to accept their invitations before the upgrade, since their invitations are attached to ephemeral offer handlers. Consideration of addressing that is postponed to...

 - #11057
  • Loading branch information
mergify[bot] authored Feb 27, 2025
2 parents d1ef359 + 07f3dae commit a27f724
Show file tree
Hide file tree
Showing 20 changed files with 9,909 additions and 53 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions packages/boot/test/fast-usdc/bundles/dl.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
wget https://github.com/Agoric/agoric-sdk/releases/download/fast-usdc-beta-1/start-fast-usdc-plan.json
wget https://github.com/Agoric/agoric-sdk/releases/download/fast-usdc-beta-1/start-fast-usdc.js
wget https://github.com/Agoric/agoric-sdk/releases/download/fast-usdc-beta-1/start-fast-usdc-permit.json
wget https://github.com/Agoric/agoric-sdk/releases/download/fast-usdc-beta-1/b1-ff51ba7d4abbab92013467813379be4d428b0b7a3f1a6f2ebd06c9b774e0e4e6acfbd6aea9e508d53419c50e13495b314a1b1fb94392ce42ea8feb18de9b3fa7.json
wget https://github.com/Agoric/agoric-sdk/releases/download/fast-usdc-beta-1/b1-6f742c9506079a4ad917c50ef15cab85c5d2c8d562c04de72e9a79c2a192ba36e7c88aa365b740a0e1fd1968199289e20ed23ee62dd4a3240da78ebb6763fa34.json
46 changes: 46 additions & 0 deletions packages/boot/test/fast-usdc/bundles/start-fast-usdc-permit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"produce": {
"fastUsdcKit": true
},
"consume": {
"bankManager": true,
"chainStorage": true,
"chainTimerService": true,
"localchain": true,
"cosmosInterchainService": true,
"startUpgradable": true,
"zoe": "makeCoreProposalBehavior",
"agoricNames": true,
"namesByAddress": true,
"board": true,
"agoricNamesAdmin": "makeCoreProposalBehavior",
"vatAdminSvc": "makeCoreProposalBehavior"
},
"issuer": {
"produce": {
"FastLP": true
}
},
"brand": {
"produce": {
"FastLP": true
}
},
"instance": {
"produce": {
"fastUsdc": true
}
},
"installation": {
"consume": {
"fastUsdc": true
},
"produce": "makeCoreProposalBehavior"
},
"evaluateBundleCap": "makeCoreProposalBehavior",
"modules": {
"utils": {
"runModuleBehaviors": "makeCoreProposalBehavior"
}
}
}
17 changes: 17 additions & 0 deletions packages/boot/test/fast-usdc/bundles/start-fast-usdc-plan.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "start-fast-usdc",
"script": "start-fast-usdc.js",
"permit": "start-fast-usdc-permit.json",
"bundles": [
{
"entrypoint": "@agoric/fast-usdc/src/fast-usdc.contract.js",
"bundleID": "b1-ff51ba7d4abbab92013467813379be4d428b0b7a3f1a6f2ebd06c9b774e0e4e6acfbd6aea9e508d53419c50e13495b314a1b1fb94392ce42ea8feb18de9b3fa7",
"fileName": "/home/runner/.agoric/cache/b1-ff51ba7d4abbab92013467813379be4d428b0b7a3f1a6f2ebd06c9b774e0e4e6acfbd6aea9e508d53419c50e13495b314a1b1fb94392ce42ea8feb18de9b3fa7.json"
},
{
"entrypoint": "@agoric/fast-usdc/src/start-fast-usdc.core.js",
"bundleID": "b1-6f742c9506079a4ad917c50ef15cab85c5d2c8d562c04de72e9a79c2a192ba36e7c88aa365b740a0e1fd1968199289e20ed23ee62dd4a3240da78ebb6763fa34",
"fileName": "/home/runner/.agoric/cache/b1-6f742c9506079a4ad917c50ef15cab85c5d2c8d562c04de72e9a79c2a192ba36e7c88aa365b740a0e1fd1968199289e20ed23ee62dd4a3240da78ebb6763fa34.json"
}
]
}
Loading

0 comments on commit a27f724

Please sign in to comment.