Skip to content

Commit

Permalink
cosmos(upgrade): fold in b:enable-orchestration
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Sep 5, 2024
1 parent 641891a commit 6b45090
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CoreEvalProposal to enable orchestration features
# CoreEvalProposal to test orchestration features

The `submission` for this proposal is automatically generated during `yarn build`
in [a3p-integration](../..) using the code in agoric-sdk through
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
"type": "/agoric.swingset.CoreEvalProposal",
"source": "subdir",
"sdk-generate": [
"smart-wallet/build-wallet-factory2-upgrade.js",
"testing/start-valueVow.js start-valueVow",
"testing/restart-valueVow.js restart-valueVow",
"vats/init-orchestration.js"
"testing/restart-valueVow.js restart-valueVow"
]
},
"type": "module",
Expand Down
10 changes: 8 additions & 2 deletions golang/cosmos/app/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,14 @@ func unreleasedUpgradeHandler(app *GaiaApp, targetUpgrade string) func(sdk.Conte
// Each CoreProposalStep runs sequentially, and can be constructed from
// one or more modules executing in parallel within the step.
CoreProposalSteps = []vm.CoreProposalStep{
// Upgrade orch-core to the latest version.
vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/upgrade-orch-core.js"),
vm.CoreProposalStepForModules(
// Upgrade to new liveslots for repaired vow usage.
"@agoric/builders/scripts/vats/upgrade-orch-core.js",
// Upgrade to new liveslots and support vows.
"@agoric/builders/scripts/smart-wallet/build-wallet-factory2-upgrade.js",
// Create vat-orchestration.
"@agoric/builders/scripts/vats/init-orchestration.js",
),
}
}

Expand Down

0 comments on commit 6b45090

Please sign in to comment.