Skip to content

BM-3087: chore(deployment): staging router deployments (Base Sepolia + Taiko) and upgrade-script reference override#2061

Draft
jonastheis wants to merge 5 commits into
mainfrom
jonas/staging-base-sepolia-router-deployment
Draft

BM-3087: chore(deployment): staging router deployments (Base Sepolia + Taiko) and upgrade-script reference override#2061
jonastheis wants to merge 5 commits into
mainfrom
jonas/staging-base-sepolia-router-deployment

Conversation

@jonastheis

@jonastheis jonastheis commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Staging deployments of the BoundlessRouter market upgrade from main@9f2470ab, plus a small upgrade-script extension the Taiko flow required.

Base Sepolia staging — deployed, Safe txs pending

Fresh bring-up redone from main; the earlier deployment (router 0x9045fa3c…, impl 0xd60e833e…, from jonas/adopt-router-in-broker@b04705a) was abandoned before the Safe txs executed and its queued upgrade tx has been rejected.

[deployment.base-sepolia-staging]:

  • boundless-router0x6f4523fd85fa19bf469d4f804a55e0d5e73efef4 — freshly deployed, Safe holds ADMIN_ROLE from the deploy tx
  • boundless-market-impl0x1de3eacc02f263b666e2251ff6167cecbf51e3b6 — new router-aware impl (ROUTER/LEGACY_IMPL/collateral immutables verified on-chain)

Two Safe txs are pending: the router bootstrap batch (must execute first) and upgradeToAndCall on the market proxy. Upgrade guide: https://docs.google.com/document/d/1yNDBqafT9pOgbSfxNRYjPGbU1ZSrIXTMJICeZLED6lo/edit

Taiko staging — deployed and executed

EOA-admin flow (no Safe), everything built under FOUNDRY_PROFILE=shanghai. Live on Taiko (chain 167000), verified on-chain:

[deployment.taiko-staging]:

  • boundless-router0xd2a01b63bf9d08d31fb11ba81825624c6484453f — bootstrapped (4 classes, 5 entries); every adapter wraps exactly the verifier the legacy market resolved for its selector
  • boundless-market-impl0xad9af87319e744c62f33e05bb2a2cb9f20c7a358 — the shanghai-variant router market, upgraded in place
  • boundless-market-old-impl0x7d27d73368c9cece5bc25d9b4c9d912de5af9db1 — the previous impl, now serving the legacy ABI via the delegatecall fallback (LEGACY_IMPL)

Upgrade script: REFERENCE_CONTRACT override

UpgradeBoundlessMarket hardcoded its OZ storage-layout reference to build-info-reference:contracts/src/BoundlessMarket.sol:BoundlessMarket, which cannot resolve for the Taiko upgrade: the deployed commit (901097a54) predates the shared-tree shanghai profile, so no reference build exists at that path.

New optional REFERENCE_CONTRACT env var points the validation at a contract from the current build instead — for Taiko, the frozen legacy BoundlessMarketLegacy.sol:BoundlessMarket under contracts/shanghai/legacy/, whose bytecode parity with the deployed impl is CI-enforced (just check-legacy-bytecode-shanghai). This keeps the layout safety checks on (no SKIP_SAFETY_CHECKS) with a reference that is provably the deployed code. Default behavior is unchanged when the variable is unset.

@github-actions github-actions Bot changed the title chore(deployment): Base Sepolia staging router redeploy from main BM-3085: chore(deployment): Base Sepolia staging router redeploy from main Jul 7, 2026
@linear

linear Bot commented Jul 7, 2026

Copy link
Copy Markdown

BM-3085

BM-3087

@jonastheis jonastheis changed the title BM-3085: chore(deployment): Base Sepolia staging router redeploy from main chore(deployment): staging router deployments (Base Sepolia + Taiko) and upgrade-script reference override Jul 9, 2026
@github-actions github-actions Bot changed the title chore(deployment): staging router deployments (Base Sepolia + Taiko) and upgrade-script reference override BM-3087: chore(deployment): staging router deployments (Base Sepolia + Taiko) and upgrade-script reference override Jul 9, 2026
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