Skip to content

Add CDM root registry pointer#36

Open
charlesHetterich wants to merge 2 commits into
mainfrom
ch/cdm-root-registry
Open

Add CDM root registry pointer#36
charlesHetterich wants to merge 2 commits into
mainfrom
ch/cdm-root-registry

Conversation

@charlesHetterich
Copy link
Copy Markdown
Collaborator

Summary

  • add a minimal cdm-root contract that stores the current registry address behind owner-gated setters
  • move the legacy registry contract to src/contracts/registry and keep bootstrap contracts under src/contracts/*
  • update make build-registry and deploy-registry.ts so registry deployment can optionally deploy root and then update the root pointer

Usage

  • CHAIN=paseo DEPLOY_ROOT=1 make deploy-registry deploys root if needed, deploys/reuses registry, then updates root
  • CHAIN=paseo make deploy-registry reuses the deterministic root and updates it to the newly deployed/reused registry

Checks

  • pnpm --filter @dotdm/contracts exec tsc --noEmit
  • pnpm --filter @dotdm/contracts build
  • pnpm --filter @dotdm/scripts exec tsc --noEmit
  • make build-registry

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