Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 28 additions & 28 deletions src/contracts/RollupCreator/v2.1.ts
Copy link
Member Author

Choose a reason for hiding this comment

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

ABIs stayed the same, changes were internal

Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x8c88430658a03497D13cDff7684D37b15aA2F3e1)
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x09De8b5E61E413F35f630798250ecE1B6ECA872A)
* -
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x091b8FC0F48613b191f81009797ce55Cf97Af7C8)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x79607f00e61E6d7C0E6330bd7E9c4AC320D50FC9)
* - [__View Contract on Arbitrum Nova Arbiscan__](https://nova.arbiscan.io/address/0x9B523BF5F77e8d90e0E9eb0924aEA6E40B081aE6)
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x6e244cD02BBB8a6dbd7F626f05B2ef82151Ab502)
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xd2Ec8376B1dF436fAb18120E416d3F2BeC61275b)
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xfb774ea8a92ae528a596c8d90cbcf1bdbc4cee79)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x36395b4102526A51Bf730637334807fb182Bd0b6)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x351015499AC958272E3A9B6936db0968dd31741A)
* - [__View Contract on Arbitrum Nova Arbiscan__](https://nova.arbiscan.io/address/0xa1bd8B5b1FbacD24888C38A09fb4fDCf28c43263)
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x04824235981aCAe210A9362E7bBfe77452e9cD5b)
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x2Bf262F2f2187a998B87Ff5F91e418bDF38d89a4)
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x57A8aBED71b14dBa84b5d400A4227Ff4B4f31EB5)
*/
export const rollupCreatorABI = [
{ stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
Expand Down Expand Up @@ -202,36 +202,36 @@ export const rollupCreatorABI = [
] as const;

/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x8c88430658a03497D13cDff7684D37b15aA2F3e1)
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x09De8b5E61E413F35f630798250ecE1B6ECA872A)
* -
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x091b8FC0F48613b191f81009797ce55Cf97Af7C8)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x79607f00e61E6d7C0E6330bd7E9c4AC320D50FC9)
* - [__View Contract on Arbitrum Nova Arbiscan__](https://nova.arbiscan.io/address/0x9B523BF5F77e8d90e0E9eb0924aEA6E40B081aE6)
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x6e244cD02BBB8a6dbd7F626f05B2ef82151Ab502)
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xd2Ec8376B1dF436fAb18120E416d3F2BeC61275b)
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xfb774ea8a92ae528a596c8d90cbcf1bdbc4cee79)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x36395b4102526A51Bf730637334807fb182Bd0b6)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x351015499AC958272E3A9B6936db0968dd31741A)
* - [__View Contract on Arbitrum Nova Arbiscan__](https://nova.arbiscan.io/address/0xa1bd8B5b1FbacD24888C38A09fb4fDCf28c43263)
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x04824235981aCAe210A9362E7bBfe77452e9cD5b)
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x2Bf262F2f2187a998B87Ff5F91e418bDF38d89a4)
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x57A8aBED71b14dBa84b5d400A4227Ff4B4f31EB5)
*/
export const rollupCreatorAddress = {
1: '0x8c88430658a03497D13cDff7684D37b15aA2F3e1',
1: '0x09De8b5E61E413F35f630798250ecE1B6ECA872A',
1337: '0x82A3c114b40ecF1FC34745400A1B9B9115c33d31',
8453: '0x091b8FC0F48613b191f81009797ce55Cf97Af7C8',
42161: '0x79607f00e61E6d7C0E6330bd7E9c4AC320D50FC9',
42170: '0x9B523BF5F77e8d90e0E9eb0924aEA6E40B081aE6',
84532: '0x6e244cD02BBB8a6dbd7F626f05B2ef82151Ab502',
8453: '0x36395b4102526A51Bf730637334807fb182Bd0b6',
42161: '0x351015499AC958272E3A9B6936db0968dd31741A',
42170: '0xa1bd8B5b1FbacD24888C38A09fb4fDCf28c43263',
84532: '0x04824235981aCAe210A9362E7bBfe77452e9cD5b',
412346: '0x4287839696d650A0cf93b98351e85199102335D0',
421614: '0xd2Ec8376B1dF436fAb18120E416d3F2BeC61275b',
11155111: '0xfb774eA8A92ae528A596c8D90CBCF1bdBC4Cee79',
421614: '0x2Bf262F2f2187a998B87Ff5F91e418bDF38d89a4',
11155111: '0x57A8aBED71b14dBa84b5d400A4227Ff4B4f31EB5',
} as const;

/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x8c88430658a03497D13cDff7684D37b15aA2F3e1)
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x09De8b5E61E413F35f630798250ecE1B6ECA872A)
* -
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x091b8FC0F48613b191f81009797ce55Cf97Af7C8)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x79607f00e61E6d7C0E6330bd7E9c4AC320D50FC9)
* - [__View Contract on Arbitrum Nova Arbiscan__](https://nova.arbiscan.io/address/0x9B523BF5F77e8d90e0E9eb0924aEA6E40B081aE6)
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x6e244cD02BBB8a6dbd7F626f05B2ef82151Ab502)
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xd2Ec8376B1dF436fAb18120E416d3F2BeC61275b)
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xfb774ea8a92ae528a596c8d90cbcf1bdbc4cee79)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x36395b4102526A51Bf730637334807fb182Bd0b6)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x351015499AC958272E3A9B6936db0968dd31741A)
* - [__View Contract on Arbitrum Nova Arbiscan__](https://nova.arbiscan.io/address/0xa1bd8B5b1FbacD24888C38A09fb4fDCf28c43263)
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x04824235981aCAe210A9362E7bBfe77452e9cD5b)
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x2Bf262F2f2187a998B87Ff5F91e418bDF38d89a4)
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x57A8aBED71b14dBa84b5d400A4227Ff4B4f31EB5)
*/
export const rollupCreatorConfig = {
address: rollupCreatorAddress,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getRollupCreatorAddress.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
transport: http(),
});

expect(getRollupCreatorAddress(client)).toEqual('0xfb774eA8A92ae528A596c8D90CBCF1bdBC4Cee79');
expect(getRollupCreatorAddress(client)).toEqual('0x7edb2dfBeEf9417e0454A80c51EE0C034e45a570');

Check failure on line 16 in src/utils/getRollupCreatorAddress.unit.test.ts

View workflow job for this annotation

GitHub Actions / Test (Unit)

src/utils/getRollupCreatorAddress.unit.test.ts > successfully returns address for Sepolia

AssertionError: expected '0x57A8aBED71b14dBa84b5d400A4227Ff4B4f…' to deeply equal '0x7edb2dfBeEf9417e0454A80c51EE0C034e4…' Expected: "0x7edb2dfBeEf9417e0454A80c51EE0C034e45a570" Received: "0x57A8aBED71b14dBa84b5d400A4227Ff4B4f31EB5" ❯ src/utils/getRollupCreatorAddress.unit.test.ts:16:43
});

it(`fails to return address for an unrecognized parent chain`, () => {
Expand Down
14 changes: 7 additions & 7 deletions wagmi.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,16 @@ const contracts: ContractConfig[] = [
version: '2.1',
address: {
// mainnet L1
[mainnet.id]: '0x8c88430658a03497D13cDff7684D37b15aA2F3e1',
[mainnet.id]: '0x09De8b5E61E413F35f630798250ecE1B6ECA872A',
// mainnet L2
[arbitrumOne.id]: '0x79607f00e61E6d7C0E6330bd7E9c4AC320D50FC9',
[arbitrumNova.id]: '0x9B523BF5F77e8d90e0E9eb0924aEA6E40B081aE6',
[base.id]: '0x091b8FC0F48613b191f81009797ce55Cf97Af7C8',
[arbitrumOne.id]: '0x351015499AC958272E3A9B6936db0968dd31741A',
[arbitrumNova.id]: '0xa1bd8B5b1FbacD24888C38A09fb4fDCf28c43263',
[base.id]: '0x36395b4102526A51Bf730637334807fb182Bd0b6',
// testnet L1
[sepolia.id]: '0xfb774ea8a92ae528a596c8d90cbcf1bdbc4cee79',
[sepolia.id]: '0x57A8aBED71b14dBa84b5d400A4227Ff4B4f31EB5',
// testnet L2
[arbitrumSepolia.id]: '0xd2Ec8376B1dF436fAb18120E416d3F2BeC61275b',
[baseSepolia.id]: '0x6e244cD02BBB8a6dbd7F626f05B2ef82151Ab502',
[arbitrumSepolia.id]: '0x2Bf262F2f2187a998B87Ff5F91e418bDF38d89a4',
[baseSepolia.id]: '0x04824235981aCAe210A9362E7bBfe77452e9cD5b',
// local nitro-testnode (on "release" branch with --tokenbridge --l3node --l3-token-bridge flags)
[nitroTestnodeL1.id]: '0x82a3c114b40ecf1fc34745400a1b9b9115c33d31',
[nitroTestnodeL2.id]: '0x4287839696d650a0cf93b98351e85199102335d0',
Expand Down
Loading