Skip to content

Commit

Permalink
misc fixes (#2324)
Browse files Browse the repository at this point in the history
random things I found while working on the repo

* turns out that for verification of USDProxy and AccountProxy, these contracts required UUPSProxyWithOwner instead of Proxy wrapper (verified this was case by manually verifying on etherscan)
* arbitrum mainnet was not included in hardhat networks spec
  • Loading branch information
dbeal-eth authored Oct 10, 2024
1 parent 287e9bf commit c37d64c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/synthetix/cannonfile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ args = [
]
depends = ["invoke.upgrade_core_proxy", "router.AccountRouter"]
factory.AccountProxy.abiOf = ["AccountRouter"]
factory.AccountProxy.artifact = "Proxy"
factory.AccountProxy.artifact = "UUPSProxyWithOwner"
factory.AccountProxy.event = "AssociatedSystemSet"
factory.AccountProxy.arg = 2
factory.AccountProxy.highlight = true
Expand All @@ -178,7 +178,7 @@ args = [
]
depends = ["invoke.upgrade_core_proxy", "router.USDRouter"]
factory.USDProxy.abiOf = ["USDRouter"]
factory.USDProxy.artifact = "Proxy"
factory.USDProxy.artifact = "UUPSProxyWithOwner"
factory.USDProxy.event = "AssociatedSystemSet"
factory.USDProxy.arg = 2
factory.USDProxy.highlight = true
Expand Down
8 changes: 8 additions & 0 deletions utils/common-config/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ const config = {
accounts: process.env.DEPLOYER_PRIVATE_KEY ? [process.env.DEPLOYER_PRIVATE_KEY] : [],
chainId: 421614,
},
['arbitrum-mainnet']: {
url:
process.env.NETWORK_ENDPOINT ||
`https://arbitrum-mainnet.infura.io/v3/${process.env.INFURA_API_KEY}`,
accounts: process.env.DEPLOYER_PRIVATE_KEY ? [process.env.DEPLOYER_PRIVATE_KEY] : [],
chainId: 42161,
},
['optimistic-mainnet']: {
url:
process.env.NETWORK_ENDPOINT ||
Expand Down Expand Up @@ -138,6 +145,7 @@ const config = {
optimisticEthereum: process.env.OVM_ETHERSCAN_API_KEY,
optimisticSepolia: process.env.OVM_ETHERSCAN_API_KEY,
avalancheFujiTestnet: process.env.ETHERSCAN_API_KEY,
arbitrumMainnet: process.env.ARBITRUM_ETHERSCAN_API_KEY,
},
},
tenderly: {
Expand Down

0 comments on commit c37d64c

Please sign in to comment.