-
Notifications
You must be signed in to change notification settings - Fork 208
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
install Inter protocol defi contracts after boostrap using publishBundle #5819
Comments
Do we really want to start the SwingSet VM without the Inter Protocol contracts?Based on plans from April (#5062), the sketch above includes:
but maybe it's simpler to combine those steps? Combining them is the more well-trodden path in engineering. @michaelfig and I added Doing them together is arguably simpler from a BLDer DAO governance perspective. Other product launch considerations may apply. @Tartuffo I hope you'll help coordinate those. |
@dckc, I believe this issue is solved by |
no; there's also all the bootstrapping to wire up |
pruning work-around from descriptionbut let's keep it available for searching... In the course of the RUN Protocol Preview (#5062), we ran into some (cosmos?) size limitation when installing the contracts using the normal technique of calling Work-around: fragmentation and reassemblyWe came up with inter-protocol/scripts/deploy-contracts.js, which does fragmentation and reassembly:
Description of the DesignUse One part of the work-around that would be nice to keep is a resulting
But maybe that's rendered obsolete in favor of |
Which parts can/should be included in genesis/bootstrap?
p.s. yes to all 3. In particular, re Oracles: |
devnet configuration was moving to a smaller set of bootstrap bundles, picking up provisionPool and walletFactory by way of coreProposals. But the test-vaults-config is more widely tested, so until we pick up work on #5819, let's postpone that. - a bit of lint - sort devnet-config bundles to match test-vaults-config
devnet configuration was moving to a smaller set of bootstrap bundles, picking up provisionPool and walletFactory by way of coreProposals. But the test-vaults-config is more widely tested, so until we pick up work on #5819, let's postpone that. - a bit of lint - sort devnet-config bundles to match test-vaults-config
broke ground: c21dea9 * origin/5819-launch-inter fix(devnet): omit vaults contracts from platform launch config |
PSM prefixes config didn't land in #6645, did it? |
This is no longer plan of record for the vaults release. |
For reference, the BLD stakers have been invited to consider which way to go on this:
|
Problem Statement?
Unlike the PSM contract, which can be considered part of the platform, vaults introduce defi considerations that motivate launching them as a separate governance action.
Description of the Design
Somewhat like the RUN Protocol Preview (#5062), but use
publishBundle
(#4975) and hash bundles to avoid putting the full text of the bundles inside swingset messages.Documentation Considerations
A runbook seems in order, much like ...
See also:
Security Considerations
see also
Test Plan
Note that the testnets/devnets we typically stand up lately using instagoric avoid this problem by using a swingset config (derived from
decentral-demo-config.json
) where the contracts get installed as part of bootstrap. So testing this involvesagoric run inter-protocol/scripts/init-core.js
)add-collateral-core.js
proposals to add IBC assets to the VBANK and such.agd gov submit-proposal swingset-core-eval ...
as incosmic-swingset/Makefile
optional goals:
cc @warner
The text was updated successfully, but these errors were encountered: