Repository navigation
Conversation
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.
|
Warning Review limit reachedYou'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. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
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.
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_0spell 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.0x2Ac8418D6479Ac86CAe88d321b7DceA47b6B41D80x442f8fc98e3cc6B3d49a66f9858Ac9B6e70Dad3eDeployed
Deployed from
8c1a65310(master) with thephase1-corescripts: libraries, implementations, RSR asset, Deployer, FacadeWrite. Same set as the 4.2.0 release. All are verified on Etherscan and Basescan.0x09166E27cEBCb94cAcB31f09F5dd0735AE3841610x674B9565989852E068Cb46Bf5F1fe86F326c9a7f0xf0b513Dbd1C3EB80cF99E828e4A68454Ee9C3D6D0xa1c36F2e894C4d60BdFed884f966Cb8FAfAD48aD0x542B165498FE3305e8A6737c24dD685c2fd060170x62BD44b05542bfF1E59A01Bf7151F533e1c9C12c0x9c0C62C3bA1b948fCad785a2159Be46f4eb2865d0xc60a7Cd6fce24d0c3637A1dCBC8B0f9A9BFF6a7c0x248b2Dd7e21f9FF41b0C8EEc6C5EbD21FE83eFA00x784955641292b0014BC9eF82321300f0b6C7E36d0x8703C997A84c7991f27e89fE4Aa2Ff2b2A6f47920xE433673648c94FEC0706E5AC95d4f4097f58B5fb0xd12eD9cc26f4FB523030f266e7fFe96fd68CC8800x591529f039Ba48C3bEAc5090e30ceDDcb41D0EaA0xE751Ac0ec257014E8959883634597976bC76EDE90x14dCbb5034F176cDB89573983F7af082EB51e81C0xc4e3697a0D74122a926461D1Dbc2425a4f2c0AE50x2204EC97D31E2C9eE62eaD9e6E2d5F7712D3f1bF0x32C987aE34BCD8BE07c80a72c1A8AB57C1Ac162f0xDf73Cd789422040182b0C24a8b2C97bbCbba32630xad92a4F0c514eD20e980761fAB10f8C5fBcD9bed0x1D94290F82D0B417B088d9F5dB316B11C9cf220C0xC434d08dB52d669cA1a93fEAe592f03E1F7d1D380xF4493581D52671a9E04d693a68ccc61853bceEaE0x1f9f79B33f39b092F5Ed9080d96b419B484aa5DD0x44a42A0F14128E81a21c5fc4322a9f91fF83b4Ee0x4aBD7690b3F0627bc0A195673B0f5B76E472E7230x845B8b0a1c6DB8318414d708Da25fA28d4a0dc810xdC8d96BC71B7149f94b2Ac8dbB60FceccA67DfFD0x20C801869e578E71F2298649870765Aa81f7DC690x8709F940D2F372c683D0AB843748E4351b354ee50xeE7FC703f84AE2CE30475333c57E56d3A7D3AdBC0x5F3f17c8c1Fc1680B652E8dC50c2326070A613700x3eD9C756163d5973013a27159003BA64B0F141720x6880B2De63Cd20d005a5d3feB859415830dC74cd0xEc375F2984D21D5ddb0D82767FD8a9C4CE8Eec2FNot 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 writesunknown-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_DELAYis 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 withNo contract at addressif 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 feed0x19219BC90F48DeE4d5cF202E09c438FAacFd8Bealast 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
4.3.0and 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.0at block 26558170 andFORK_NETWORK=base yarn hardhat 4.3.0at 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'sErr(15)andErr(16)guards fire. The ETH+ proposal unregisters its two deprecated assets, ETHx and KING.claimRewardsSinglecalls revert on the live 4.2.0 contracts withComp::_transferTokens: transfer amount exceeds balance.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.VersionRegistry.registerVersion(deployer): mainnet, Base.AssetPluginRegistry.updateAssetsByVersion(keccak256("4.3.0"), assets, [true, ...]): mainnet (22 assets), Base (6 assets). Version hash0xdef94dbdd8411ae515cefcb56b153df454453010a1f4c881b3daa7ed18db793a.Assets whitelisted for 4.3.0
Mainnet (22):
0xbCb71eE9c3372f3444cBBe3E1b263204967EdBE3(eUSD, ETH+, USD3)0xa52F93E61EdF1B77B2D680945F3EA4E84Bb825D3(eUSD)0xA32a92073fEB7ed31081656DeFF34518FB5194b9(eUSD, USD3)0x9A65173df5D5B86E26300Cc9cA5Ff378be6DAeA5(eUSD, USD3)0x56bcd730040417b871CDf2549564EbB3C88730c9(eUSD, USD3)0x4D6F9A0F0F57A8179A146f37dD93D558073b814f(eUSD, USD3)0x8A782e182EeE2299B3DB733659ea764A5a97AdC5(eUSD, USD3)0xDB665809eF5e2D8015c05504c242DDc2932AcDee(eUSD, USD3)0xd717d722074C8dBfd0a29F73E4638cCc49C7D53D(eUSD, USD3)0xd317b21d37B171F7821420cBE59eBfD3c1248200(eUSD)0xa16B5F3d3b449d6B486AF69672f2E311569Bdbc4(eUSD)0xD07FBabd47eBe5CB7CEE8F6EA63D7B2E061e719b(eUSD)0x798D102Cb206b81b0C789C35Ff3744c8400a4c80(eUSD)0xF156B8b44941C6f9c1Fd4825b0C6e50ecFDECfC7(ETH+)0x81283be7aD5A6d6C4A085b4D694B127Ccf7E652E(ETH+)0x90c26f98cBE23666ED1E59186e1e4888512BE58d(ETH+)0x71793f9e0A13CE361560aFa588aCFac9B525b1c1(ETH+)0x9dc6cEFC09b0917c78a05148d45f6e6594e227de(ETH+)0xEB11916A884342ef772Ef2941F586c9a42Fd6Db4(USD3)0xb1327EAd6ab9A1e363C4fC61648bD3131A587E39(USD3)0x4FD189996b5344Eb4CF9c749b97C7424D399d24e(USD3)0xf0b513Dbd1C3EB80cF99E828e4A68454Ee9C3D6D(new 4.3.0 RSR asset)ETH+'s deprecated ETHx asset
0x9fc417439D8C12159A89962C28D8A8dED9EA9ddeand KING asset0xe64ca4AC2401D6D57cEE942B9ee01494814803f1are left out: the upgrade proposal unregisters them.Base (6):
0x22018D85BFdA9e2673FB4101e957562a1e952Cdf(bsdETH)0x14c443d8BdbE9A65F3a23FA4e199d8741D5B38Fa(bsdETH)0x9b2A9bAeB8F1930fC2AF9b7Fa473edF2B8c3B549(bsdETH)0x2387C22727ACb91519b80A15AEf393ad40dFdb2F(bsdETH)0x878b995bDD2D9900BEE896Bd78ADd877672e1637(bsdETH)0xa1c36F2e894C4d60BdFed884f966Cb8FAfAD48aD(new 4.3.0 RSR asset)