-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: repair upgrade 18 proposal (#10363)
## Description Fix a variety of things in a3p-integration for Upgrade 18 * The keys in updatePriceFeeds.js for specifying the platform don't match what's needed. * move test-localchain.js to z:acceptance * drop extraneous sdk-generate entries in package.json * drop eval.sh (and code it intended to run) * make upgrade.go and the parameterized proposals more robust to variations in the parameters * clean up go formatting ### Security Considerations N/A ### Scaling Considerations No impact ### Documentation Considerations None ### Testing Considerations We'll verify in DevNet The logic for configurable core proposals was tested locally with the following `upgrade-next` config (in `package.json`): ``` "agoricProposal": { "releaseNotes": false, "sdkImageTag": "unreleased", "planName": "UNRELEASED_BASIC", "upgradeInfo": { "coreProposals": { "steps": [ [ { "module": "@agoric/builders/scripts/inter-protocol/replace-electorate-core.js", "entrypoint": "defaultProposalBuilder", "args": [ { "config": { "committeeName": "Economic Committee", "voterAddresses": { "gov1": "agoric1ee9hr0jyrxhy999y755mp862ljgycmwyp4pl7q", "gov2": "agoric1wrfh296eu2z34p6pah7q04jjuyj3mxu9v98277", "gov4": "agoric1c9gyu460lu70rtcdp95vummd6032psmpdx7wdy" }, "highPrioritySendersConfig": { "addressesToAdd": [ "agoric1c9gyu460lu70rtcdp95vummd6032psmpdx7wdy" ], "addressesToRemove": [ "agoric1ydzxwh6f893jvpaslmaz6l8j2ulup9a7x8qvvq" ] } } } ] } ], [ { "module": "@agoric/builders/scripts/inter-protocol/updatePriceFeeds.js", "entrypoint": "defaultProposalBuilder", "args": [ { "config": { "oracleAddresses": [ "agoric1ee9hr0jyrxhy999y755mp862ljgycmwyp4pl7q", "agoric1wrfh296eu2z34p6pah7q04jjuyj3mxu9v98277", "agoric1ydzxwh6f893jvpaslmaz6l8j2ulup9a7x8qvvq" ], "inBrandNames": [ "ATOM", "stATOM" ] } } ] } ], [ "@agoric/builders/scripts/vats/add-auction.js" ], [ "@agoric/builders/scripts/vats/upgradeVaults.js" ] ] } }, "type": "Software Upgrade Proposal" }, ``` ### Upgrade Considerations It's all upgrade.
- Loading branch information
Showing
19 changed files
with
160 additions
and
261 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
102 changes: 0 additions & 102 deletions
102
a3p-integration/proposals/n:upgrade-next/provisionPool.test.js
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
a3p-integration/proposals/n:upgrade-next/resetChargingPeriod.js
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
!*submission/ | ||
restart-valueVow | ||
start-valueVow | ||
localchaintest-submission |
File renamed without changes.
This file contains 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 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 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 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.