Repository navigation
docs: add full contract deployment sequence to deployment guide - #504
Merged
dultimateade merged 1 commit intoNov 24, 2026
Merged
Conversation
The deployment guide covered deploying a single contract but did not document the initialization step each contract requires after the WASM is uploaded, leaving testnet deployments without the contract wiring needed to accept traffic. Add a "Full deployment sequence" section listing, for every deployable contract, whether it has an initialize entrypoint and the parameters that entrypoint takes. Contracts with initialize (admin, allowlist, monitor, reporting, fees, validators, migrate, predictify-hybrid) all take the deployer account as admin plus, where applicable, the stake window, target version, or optional fee/allowlist. Contracts without initialize (oracles, markets, resolution, disputes, auction, analytics) are deploy-only; the oracle registry is populated at runtime via add_oracle. Note that none of the current initialize signatures take a sibling contract's address, so contract addresses are bound at runtime instead: through add_oracle for the oracle registry and through predictify-hybrid's per-market oracle_config when a market is created. Include a recommended deploy order and concrete deploy + invoke examples.
|
@sweet-baddy Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
closes #453
closes #454
closes #455
closes #456
The deployment guide covered deploying a single contract but did not document the initialization step each contract requires after the WASM is uploaded, leaving testnet deployments without the contract wiring needed to accept traffic.
Add a "Full deployment sequence" section listing, for every deployable contract, whether it has an initialize entrypoint and the parameters that entrypoint takes. Contracts with initialize (admin, allowlist, monitor, reporting, fees, validators, migrate, predictify-hybrid) all take the deployer account as admin plus, where applicable, the stake window, target version, or optional fee/allowlist. Contracts without initialize (oracles, markets, resolution, disputes, auction, analytics) are deploy-only; the oracle registry is populated at runtime via add_oracle.
Note that none of the current initialize signatures take a sibling contract's address, so contract addresses are bound at runtime instead: through add_oracle for the oracle registry and through predictify-hybrid's per-market oracle_config when a market is created. Include a recommended deploy order and concrete deploy + invoke examples.