Skip to content

docs: add full contract deployment sequence to deployment guide - #504

Merged
dultimateade merged 1 commit into
dultimateade:mainfrom
sweet-baddy:docs/deployment-sequence
Nov 24, 2026
Merged

dultimateade merged 1 commit into
dultimateade:mainfrom
sweet-baddy:docs/deployment-sequence

Conversation

@sweet-baddy

Copy link
Copy Markdown
Contributor

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.

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.
@drips-wave

drips-wave Bot commented Nov 24, 2026

Copy link
Copy Markdown

@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! 🚀

Learn more about application limits

@dultimateade
dultimateade merged commit 3e9a305 into dultimateade:main Nov 24, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants