Skip to content
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

World deployments with deterministic addresses #966

Merged
merged 1 commit into from
Oct 3, 2023
Merged

Conversation

tarrencev
Copy link
Contributor

@tarrencev tarrencev commented Oct 3, 2023

World deployer that deploys a placeholder contract and then replaces it with the actual contract impl
It allows us to get deterministic addresses based on the contract name, so we don't need to maintain an onchain registry
Downside is we can't use constructors. We need to use the initialize pattern. I think constructors will be uncommon with the dojo architecture (and aren't supported by sozo right now)

@tarrencev tarrencev changed the title World deployments with determinsitic addresses World deployments with deterministic addresses Oct 3, 2023
@tarrencev tarrencev force-pushed the placeholder branch 8 times, most recently from 5d85fcc to b7a4dd1 Compare October 3, 2023 20:52
@tarrencev tarrencev merged commit 0ab891e into main Oct 3, 2023
9 checks passed
@tarrencev tarrencev deleted the placeholder branch October 3, 2023 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant