Skip to content

chore(deployments): refresh base_sepolia_v10 — rc.11 contract redeploy#686

Merged
branarakic merged 2 commits into
mainfrom
chore/post-rc11-base-sepolia-redeploy
May 26, 2026
Merged

chore(deployments): refresh base_sepolia_v10 — rc.11 contract redeploy#686
branarakic merged 2 commits into
mainfrom
chore/post-rc11-base-sepolia-redeploy

Conversation

@branarakic
Copy link
Copy Markdown
Contributor

Summary

Refresh packages/evm-module/deployments/base_sepolia_v10_contracts.json after the v10.0.0-rc.11 contract redeploy on Base Sepolia. Hub address unchanged (0xC056e67Da4F51377Ad1B01f50F655fFdcCD809F6); all 6 contracts re-registered via Hub.setAndReinitializeContracts(...) in the 998_initialize_contracts.ts finalize step (22 contracts re-initialized in the same batched tx).

Contracts deployed off v10.0.0-rc.11 (commit d7a79c71)

Contract Old → New address Version Reason
DKGPublishingConvictionNFT 0x60a7acc5…0xbd247CFb… 2.0.0 → 3.0.0 PCA split + CEI mint-last
DKGStakingConvictionNFT 0x30664292…0xF49c1C00… 1.2.0 CEI mint-last (#681)
ContextGraphStorage 0x960279B7…0x66420925… 1.0.0 CEI mint-last (#681)
ShardingTable 0x3f3E6F66…0xb4eF1571… 1.0.0 → 2.0.0 drop dead migrationPeriodEnd
PublishingConviction (new) → 0xAA3809Ab… 1.0.0 NEW — logic layer of PCA split
PublishingConvictionStorage (new) → 0x2621a844… 1.0.0 NEW — storage layer of PCA split

Gas: ~13.4M total. See deploy log at https://github.com/OriginTrail/dkg/releases/tag/v10.0.0-rc.11 (PR #680 covers the source changes that motivated each redeploy).

Cleanup — 11 abandoned entries removed

These were never deployed (evmAddress: null), have no active deploy script, and zero source references in packages/{chain,cli,agent}/src:

  • ContextGraph, ContextGraphsRegistry, ContextGraphServicesRegistry, ContextGraphStagingRegistry
  • ContextGraphKnowledgeCollectionsRegistry, ContextGraphKnowledgeMinersRegistry
  • ContextGraphIncentivesPoolFactory, ContextGraphIncentivesPoolFactoryHelper
  • MigratorV6Epochs9to12Rewards, MigratorV6TuningPeriodRewards, MigratorV8TuningPeriodRewards

The 8 remaining deployed: false entries are V8/V9 legacy contracts still resolved by the daemon via Hub.getContractAddress(...) (see packages/chain/src/evm-adapter.ts:111-124) — left in place intentionally.

On-chain verification

OK  ShardingTable                  chain=0xb4eF1571d87F23cD948dD61745D4f70372d9b628
OK  PublishingConvictionStorage    chain=0x2621a84446c739251cC2F1d1893E8219f681F422
OK  PublishingConviction           chain=0xAA3809Ab8907834CB34FdcC6536410097011958a
OK  DKGPublishingConvictionNFT    chain=0xbd247CFbf198735F152728A367955250018EA3C6
OK  DKGStakingConvictionNFT       chain=0xF49c1C002Ca8D46fb15739Bdd0c7F4f3Db0C84a2
OK  ContextGraphStorage(asset)    chain=0x664209250243b8F6405b33A25198f9829afFCC81

Run via Hub.getContractAddress (and getAssetStorageAddress for the asset-storage-track ContextGraphStorage) against Base Sepolia public RPC. All 6 names resolve to the new addresses.

Test plan

  • On-chain verification: all 6 Hub registrations resolve to the new addresses
  • deployments/base_sepolia_v10_contracts.json parses cleanly (python3 -m json.tool)
  • Diff scope: only the deployments JSON modified (git diff --stat)
  • Operators upgrading to @origintrail-official/dkg@10.0.0-rc.11 pick up new addresses automatically (daemon resolves via Hub.getContractAddress(...) at runtime)
  • chainResetMarker bump (v10-rc11-pca-split-2026-05-25) wipes stale per-node chain-derived state on first boot of rc.11

Made with Cursor

Branimir Rakic and others added 2 commits May 26, 2026 14:27
Redeployed 4 contracts and freshly deployed 2 new contracts off
v10.0.0-rc.11 (commit d7a79c7):

  - DKGPublishingConvictionNFT  v2.0.0 -> v3.0.0 (PCA split + CEI mint-last)
  - DKGStakingConvictionNFT     v1.2.0           (CEI mint-last)
  - ContextGraphStorage         v1.0.0           (CEI mint-last)
  - ShardingTable               v1.0.0 -> v2.0.0 (drop dead migrationPeriodEnd)
  - PublishingConviction        v1.0.0  NEW     (logic, PCA split)
  - PublishingConvictionStorage v1.0.0  NEW     (storage, PCA split)

Also cleaned 11 abandoned context-graph / V6/V8-migrator entries that
were never deployed and have no active deploy script or source
references (ContextGraph*Registry, ContextGraphIncentivesPoolFactory*,
MigratorV6*, MigratorV8*).

Hub address unchanged (0xC056e67Da4F51377Ad1B01f50F655fFdcCD809F6);
all 6 contracts re-registered via Hub.setAndReinitializeContracts in
the 998_initialize_contracts.ts finalize step (22 contracts
re-initialized in the same batched tx).

On-chain verification (Hub.getContractAddress + getAssetStorageAddress
for ContextGraphStorage) confirms all 6 names now resolve to the new
addresses on Base Sepolia.

Signed-off-by: Branimir Rakic <aleatoric@Branimirs-MacBook-Pro.local>
Co-authored-by: Cursor <cursoragent@cursor.com>
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex review produced 3 comment(s) but all targeted lines outside the diff and were dropped. Check the workflow logs for details.

@branarakic branarakic merged commit 4a704f0 into main May 26, 2026
39 checks passed
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