Skip to content

4.3.0 deployment addresses - #1321

Open
tbrent wants to merge 7 commits into
masterfrom
4.3.0-deployment
Open

tbrent wants to merge 7 commits into
masterfrom
4.3.0-deployment

Conversation

@tbrent

@tbrent tbrent commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Records the 4.3.0 core contracts deployed to Ethereum mainnet and Base, and points the 4.3.0 fork task at them.

The Upgrade4_3_0 spell is deployed on both chains. The registry owner has registered the 4.3.0 Deployer and whitelisted the current assets of eUSD, ETH+, USD3 and bsdETH for 4.3.0.

Mainnet Base
Upgrade4_3_0 spell 0x2Ac8418D6479Ac86CAe88d321b7DceA47b6B41D8 0x442f8fc98e3cc6B3d49a66f9858Ac9B6e70Dad3e

Deployed

Deployed from 8c1a65310 (master) with the phase1-core scripts: libraries, implementations, RSR asset, Deployer, FacadeWrite. Same set as the 4.2.0 release. All are verified on Etherscan and Basescan.

Contract Mainnet Base
DeployerP1 0x09166E27cEBCb94cAcB31f09F5dd0735AE384161 0x674B9565989852E068Cb46Bf5F1fe86F326c9a7f
RSR Asset 0xf0b513Dbd1C3EB80cF99E828e4A68454Ee9C3D6D 0xa1c36F2e894C4d60BdFed884f966Cb8FAfAD48aD
Main 0x542B165498FE3305e8A6737c24dD685c2fd06017 0x62BD44b05542bfF1E59A01Bf7151F533e1c9C12c
AssetRegistry 0x9c0C62C3bA1b948fCad785a2159Be46f4eb2865d 0xc60a7Cd6fce24d0c3637A1dCBC8B0f9A9BFF6a7c
BackingManager 0x248b2Dd7e21f9FF41b0C8EEc6C5EbD21FE83eFA0 0x784955641292b0014BC9eF82321300f0b6C7E36d
BasketHandler 0x8703C997A84c7991f27e89fE4Aa2Ff2b2A6f4792 0xE433673648c94FEC0706E5AC95d4f4097f58B5fb
Broker 0xd12eD9cc26f4FB523030f266e7fFe96fd68CC880 0x591529f039Ba48C3bEAc5090e30ceDDcb41D0EaA
Distributor 0xE751Ac0ec257014E8959883634597976bC76EDE9 0x14dCbb5034F176cDB89573983F7af082EB51e81C
Furnace 0xc4e3697a0D74122a926461D1Dbc2425a4f2c0AE5 0x2204EC97D31E2C9eE62eaD9e6E2d5F7712D3f1bF
RevenueTrader (RSR and RToken) 0x32C987aE34BCD8BE07c80a72c1A8AB57C1Ac162f 0xDf73Cd789422040182b0C24a8b2C97bbCbba3263
RToken 0xad92a4F0c514eD20e980761fAB10f8C5fBcD9bed 0x1D94290F82D0B417B088d9F5dB316B11C9cf220C
StRSR 0xC434d08dB52d669cA1a93fEAe592f03E1F7d1D38 0xF4493581D52671a9E04d693a68ccc61853bceEaE
GnosisTrade 0x1f9f79B33f39b092F5Ed9080d96b419B484aa5DD 0x44a42A0F14128E81a21c5fc4322a9f91fF83b4Ee
DutchTrade 0x4aBD7690b3F0627bc0A195673B0f5B76E472E723 0x845B8b0a1c6DB8318414d708Da25fA28d4a0dc81
RecollateralizationLibP1 (tradingLib) 0xdC8d96BC71B7149f94b2Ac8dbB60FceccA67DfFD 0x20C801869e578E71F2298649870765Aa81f7DC69
BasketLibP1 0x8709F940D2F372c683D0AB843748E4351b354ee5 0xeE7FC703f84AE2CE30475333c57E56d3A7D3AdBC
FacadeWrite 0x5F3f17c8c1Fc1680B652E8dC50c2326070A61370 0x3eD9C756163d5973013a27159003BA64B0F14172
FacadeWriteLib 0x6880B2De63Cd20d005a5d3feB859415830dC74cd 0xEc375F2984D21D5ddb0D82767FD8a9C4CE8Eec2F

Not redeployed: the Facade and its facets, and all collateral and asset plugins other than the RSR asset.

Changes

  • scripts/addresses/1-tmp-deployments.json, scripts/addresses/8453-tmp-deployments.json: the new addresses. Facade and facet addresses are unchanged.
  • scripts/addresses/mainnet-4.3.0/, scripts/addresses/base-4.3.0/: copies for the release.
  • .openzeppelin/mainnet.json: implementation records written by the upgrades plugin. On Base the plugin writes unknown-8453.json, which is gitignored.
  • tasks/validation/spells/4.3.0.ts: the task uses the deployed spells and the registries as they are on chain. It no longer deploys a 4.3.0 or a spell, registers a Deployer, or whitelists assets. NEW_TRADING_DELAY is 16 days (2 governance cycles), the value proposed in the RFC. The spell guard check also reports the underlying error when a call fails for another reason.
  • test/integration/fork-block-numbers.ts: the default fork block moves from 25250000 to 26545330, past the mainnet deployment. The "Deployment Scripts" job forks mainnet at this block and reads .openzeppelin/mainnet.json, so it fails with No contract at address if the manifest lists implementations the fork does not have yet. The 4.2.0 release bumped it the same way. The block is chosen just after a FRAX/USD feed update: the dev chain's clock keeps running during the job, and at 26545310 that feed was 6 minutes from its timeout, so the sFRAX script failed whenever the job ran slowly. At 26545330 the job passes with the clock pushed 20 minutes ahead.
  • scripts/deploy.ts: the apxETH collateral script is commented out. Its apxETH/ETH feed 0x19219BC90F48DeE4d5cF202E09c438FAacFd8Bea last updated on 2026-07-01, so at the new fork block the collateral deploys IFFY and the script's SOUND assertion fails. eUSD, ETH+, USD3 and bsdETH do not use it.

Verification

  • Each chain was rehearsed first on a local fork with the same chain id, scripts and account.
  • After deployment, every contract reports version 4.3.0 and is under the size limit. The Deployer returns the recorded RSR, RSR asset and implementations, FacadeWrite points at the new Deployer, GnosisTrade uses the same auction platform as 4.2.0, and the RSR asset has the same feed and parameters as the 4.2.0 one.
  • FORK_NETWORK=mainnet yarn hardhat 4.3.0 at block 26558170 and FORK_NETWORK=base yarn hardhat 4.3.0 at block 66068100, against the deployed spells and live registry state: eUSD, ETH+, USD3 and bsdETH upgrade and pass the post-upgrade checks, and the spell's Err(15) and Err(16) guards fire. The ETH+ proposal unregisters its two deprecated assets, ETHx and KING.
  • The task reports failed reward claims for the wcUSDTv3 and wcUSDCv3 collateral in eUSD and USD3. This is not caused by the upgrade: the same claimRewardsSingle calls revert on the live 4.2.0 contracts with Comp::_transferTokens: transfer amount exceeds balance.
  • Each spell was rehearsed on a local fork first and deployed at the predicted address. Its runtime bytecode matches the build from 8c1a65310, it is verified on Etherscan and Basescan, and it returns the recorded Deployer, the DAO registries and the supported RTokens.

Registry transactions (done)

Sent by the registry owner, 0xe8259842e71f4E44F2F68D6bfbC15EDA56E63064, on both chains.

  1. VersionRegistry.registerVersion(deployer): mainnet, Base.
  2. AssetPluginRegistry.updateAssetsByVersion(keccak256("4.3.0"), assets, [true, ...]): mainnet (22 assets), Base (6 assets). Version hash 0xdef94dbdd8411ae515cefcb56b153df454453010a1f4c881b3daa7ed18db793a.
Assets whitelisted for 4.3.0

Mainnet (22):

ETH+'s deprecated ETHx asset 0x9fc417439D8C12159A89962C28D8A8dED9EA9dde and KING asset 0xe64ca4AC2401D6D57cEE942B9ee01494814803f1 are left out: the upgrade proposal unregisters them.

Base (6):

The task now reads the 4.3.0 Deployer from scripts/addresses and registers it
by impersonating the registry owner, so the upgrade is tested against the
deployed contracts.
@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 14 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 72504e85-3636-47cf-896c-407ebf016ecf
Commits

Reviewing files that changed from the base of the PR and between 512576f and 0d73455.

Files selected for processing: 1

  • tasks/validation/spells/4.3.0.ts

No actionable comments were generated in the recent review.

Walkthrough

The pull request adds Mainnet implementation storage layouts and updates deployment-address manifests for Mainnet and Base. The 4.3.0 spell validation task now uses configured deployed spells. The deployment list and default Ethereum fork block also change.

Changes: Deployment Records and Validation

Layer / File(s) Summary
Protocol implementation storage layouts
.openzeppelin/mainnet.json
Adds implementation records and storage layout metadata for MainP1 and protocol components, including RTokenP1 and StRSRP1.
Network deployment addresses
scripts/addresses/1-tmp-deployments.json, scripts/addresses/8453-tmp-deployments.json, scripts/addresses/base-4.3.0/*, scripts/addresses/mainnet-4.3.0/*
Updates temporary deployment addresses for Mainnet and Base, and adds 4.3.0 deployment manifests for both networks.
Use deployed spells in validation
tasks/validation/spells/4.3.0.ts, scripts/deploy.ts, test/integration/fork-block-numbers.ts
The validation task attaches to configured deployed spells, sets the trading delay to 15 days, and no longer deploys or registers the spell or whitelists RToken assets. Revert handling falls back to e.message when e.data is absent. The Ethereum deployment list omits deploy_apxeth.ts, and the default fork block changes to 26545330.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Possibly related PRs

Suggested reviewers: akshatmittal, julianmrodri

Merge Risk: Minimal · previous review 51257

This PR records the 4.3.0 deployments, points the spell validation task at the deployed spells, and moves the default mainnet fork block. No concrete merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "4.3.0 deployment addresses" matches the main change. The PR records 4.3.0 deployment addresses for Ethereum mainnet and Base in the deployment manifests and scripts/addresses files. It also…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "4.3.0 deployment addresses" matches the main change. The PR records 4.3.0 deployment addresses for Ethereum mainnet and Base in the deployment manifests and scripts/addresses files. It also points the 4.3.0 validation task at deployed spells and changes the fork block. The title covers the primary change but omits the task and fork-block updates, which is expected for a short title.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 94c8fb42-87a0-4d10-bda7-3b0be0117c33
Commits

Reviewing files that changed from the base of the PR and between da73a6a and 512576f.

Files selected for processing: 1

  • test/integration/fork-block-numbers.ts

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

The Deployment Scripts job forks mainnet at this block and reads
.openzeppelin/mainnet.json, which now lists the 4.3.0 implementations.

Drop the apxETH collateral from scripts/deploy.ts: its apxETH/ETH feed
stopped updating in July 2026, so it no longer deploys as SOUND.
The 4.3.0 Deployer is registered and the RTokens' assets are whitelisted
on both chains, so the task no longer sets that up on the fork. It casts
the deployed Upgrade4_3_0 spells with a tradingDelay of 15 days:

  mainnet 0x2Ac8418D6479Ac86CAe88d321b7DceA47b6B41D8
  base    0x442f8fc98e3cc6B3d49a66f9858Ac9B6e70Dad3e
The dev chain's clock keeps running while the Deployment Scripts job
runs. At 26545310 the FRAX/USD feed was 59 minutes old, 6 minutes from
its timeout, so the sFRAX collateral deployed IFFY whenever the job ran
slowly. At 26545330 the job passes with the clock 20 minutes ahead.
Two governance cycles, the default in docs/deployment-variables.md and
the value proposed in the 4.3.0 RFC.

This branch has not been deployed

No deployments
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