diff --git a/deployment/artifacts/tapir.json b/deployment/artifacts/tapir.json index f9ca11d5..7805a95f 100644 --- a/deployment/artifacts/tapir.json +++ b/deployment/artifacts/tapir.json @@ -2334,9 +2334,9 @@ "deployer": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600" } }, - "80001": { + "80002": { "BetaProgramInitiator": { - "address": "0x070fbc5a82776A1fd9945824d0719E4E7a5Ac01c", + "address": "0x418e991fD07cfA950855F820023AF6191E18B6df", "abi": [ { "type": "constructor", @@ -2700,12 +2700,12 @@ ] } ], - "tx_hash": "0x78cd0d69f29577ce123a19e8a67ffbd945206b19f488f3989e9e75d331df1389", - "block_number": 44702626, + "tx_hash": "0x21d379cc84b0b373497a5da3bd1da00a1cc8706f6efef21316cfba2a82cde7e2", + "block_number": 5393140, "deployer": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600" }, "Coordinator": { - "address": "0xdED71c37e4e17aF2c825c2A4441Dd6BF5A98D194", + "address": "0xE690b6bCC0616Dc5294fF84ff4e00335cA52C388", "abi": [ { "type": "constructor", @@ -4480,12 +4480,12 @@ "outputs": [] } ], - "tx_hash": "0x4e7afe59ed54ded86f68bc3044357f80d2e8175c60548f8d40871e8ef2c11206", - "block_number": 44554907, + "tx_hash": "0xc1b97df91385ff99feb29f80b9a6c8d861544b8fa1693bc980a6c7324fdc8899", + "block_number": 5392992, "deployer": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600" }, "GlobalAllowList": { - "address": "0xd5D1A0259A18774CFe7Eb0b183C99839383Be4f0", + "address": "0xcc537b292d142dABe2424277596d8FFCC3e6A12D", "abi": [ { "type": "constructor", @@ -4653,12 +4653,12 @@ ] } ], - "tx_hash": "0x758af74bcedd32f238f2b1460532f75a3c5dcecc3e42caae0bf1ff32289cf020", - "block_number": 44554922, + "tx_hash": "0xad3cb8e085c8da332b9513edbde0f90ed8ca0be1e9dfe3f28082fe2770e7df17", + "block_number": 5393004, "deployer": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600" }, "MockPolygonChild": { - "address": "0xBD367FeeB095D6612724814E27F3fbc7BCCFd80D", + "address": "0x970b5f6A299813cA9DC45Be8446929b6513903f9", "abi": [ { "type": "constructor", @@ -4872,12 +4872,12 @@ "outputs": [] } ], - "tx_hash": "0x49bac49c127eeadcfdd0939470a2c433ebbe9307921387188c53cba41eb88118", - "block_number": 44554858, + "tx_hash": "0xafc4b19b2620836601adf59c140edc206fd87a26f926014f77b2432c516b1624", + "block_number": 5392963, "deployer": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600" }, "OpenAccessAuthorizer": { - "address": "0x23177458642a0Cf50000d8EAE53B0248475D3EdE", + "address": "0x33270a0B88d0Ffb6B0b4FBA119ca6a7263DeF675", "abi": [ { "type": "function", @@ -4909,497 +4909,541 @@ ] } ], - "tx_hash": "0x9ca790512e619a8cb9729c9be3a3e9a4f8d35b9b4a107aceb34ec3fc47b1a106", - "block_number": 41671721, + "tx_hash": "0x8bbd39406559c99b6dc35df89c604c645b0996aac2908ce9e75f2d38367d294a", + "block_number": 5196868, "deployer": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600" }, "SubscriptionManager": { - "address": "0xb9015d7B35Ce7c81ddE38eF7136Baa3B1044f313", + "address": "0x811389558a2C0B65ff56652d5E5bBF5DbC9A4358", "abi": [ { - "anonymous": false, + "type": "error", + "name": "AccessControlBadConfirmation", + "inputs": [] + }, + { + "type": "error", + "name": "AccessControlUnauthorizedAccount", "inputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "oldFeeRate", - "type": "uint256" + "name": "account", + "type": "address", + "internalType": "address" }, { - "indexed": false, + "name": "neededRole", + "type": "bytes32", + "internalType": "bytes32" + } + ] + }, + { + "type": "error", + "name": "InvalidInitialization", + "inputs": [] + }, + { + "type": "error", + "name": "NotInitializing", + "inputs": [] + }, + { + "type": "event", + "name": "FeeRateUpdated", + "inputs": [ + { + "name": "oldFeeRate", + "type": "uint256", "internalType": "uint256", + "indexed": false + }, + { "name": "newFeeRate", - "type": "uint256" + "type": "uint256", + "internalType": "uint256", + "indexed": false } ], - "name": "FeeRateUpdated", - "type": "event" + "anonymous": false }, { - "anonymous": false, + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint64", + "internalType": "uint64", + "indexed": false + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "PolicyCreated", "inputs": [ { - "indexed": true, - "internalType": "bytes16", "name": "policyId", - "type": "bytes16" + "type": "bytes16", + "internalType": "bytes16", + "indexed": true }, { - "indexed": true, - "internalType": "address", "name": "sponsor", - "type": "address" + "type": "address", + "internalType": "address", + "indexed": true }, { - "indexed": true, - "internalType": "address", "name": "owner", - "type": "address" + "type": "address", + "internalType": "address", + "indexed": true }, { - "indexed": false, - "internalType": "uint16", "name": "size", - "type": "uint16" + "type": "uint16", + "internalType": "uint16", + "indexed": false }, { - "indexed": false, - "internalType": "uint32", "name": "startTimestamp", - "type": "uint32" + "type": "uint32", + "internalType": "uint32", + "indexed": false }, { - "indexed": false, - "internalType": "uint32", "name": "endTimestamp", - "type": "uint32" + "type": "uint32", + "internalType": "uint32", + "indexed": false }, { - "indexed": false, - "internalType": "uint256", "name": "cost", - "type": "uint256" + "type": "uint256", + "internalType": "uint256", + "indexed": false } ], - "name": "PolicyCreated", - "type": "event" + "anonymous": false }, { - "anonymous": false, + "type": "event", + "name": "RoleAdminChanged", "inputs": [ { - "indexed": true, - "internalType": "bytes32", "name": "role", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32", + "indexed": true }, { - "indexed": true, - "internalType": "bytes32", "name": "previousAdminRole", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32", + "indexed": true }, { - "indexed": true, - "internalType": "bytes32", "name": "newAdminRole", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32", + "indexed": true } ], - "name": "RoleAdminChanged", - "type": "event" + "anonymous": false }, { - "anonymous": false, + "type": "event", + "name": "RoleGranted", "inputs": [ { - "indexed": true, - "internalType": "bytes32", "name": "role", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32", + "indexed": true }, { - "indexed": true, - "internalType": "address", "name": "account", - "type": "address" + "type": "address", + "internalType": "address", + "indexed": true }, { - "indexed": true, - "internalType": "address", "name": "sender", - "type": "address" + "type": "address", + "internalType": "address", + "indexed": true } ], - "name": "RoleGranted", - "type": "event" + "anonymous": false }, { - "anonymous": false, + "type": "event", + "name": "RoleRevoked", "inputs": [ { - "indexed": true, - "internalType": "bytes32", "name": "role", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32", + "indexed": true }, { - "indexed": true, - "internalType": "address", "name": "account", - "type": "address" + "type": "address", + "internalType": "address", + "indexed": true }, { - "indexed": true, - "internalType": "address", "name": "sender", - "type": "address" + "type": "address", + "internalType": "address", + "indexed": true } ], - "name": "RoleRevoked", - "type": "event" + "anonymous": false }, { - "inputs": [], + "type": "function", "name": "DEFAULT_ADMIN_ROLE", + "stateMutability": "view", + "inputs": [], "outputs": [ { - "internalType": "bytes32", "name": "", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32" } - ], - "stateMutability": "view", - "type": "function" + ] }, { - "inputs": [], + "type": "function", "name": "SET_RATE_ROLE", + "stateMutability": "view", + "inputs": [], "outputs": [ { - "internalType": "bytes32", "name": "", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32" } - ], - "stateMutability": "view", - "type": "function" + ] }, { - "inputs": [], + "type": "function", "name": "WITHDRAW_ROLE", + "stateMutability": "view", + "inputs": [], "outputs": [ { - "internalType": "bytes32", "name": "", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "createPolicy", + "stateMutability": "payable", "inputs": [ { - "internalType": "bytes16", "name": "_policyId", - "type": "bytes16" + "type": "bytes16", + "internalType": "bytes16" }, { - "internalType": "address", "name": "_policyOwner", - "type": "address" + "type": "address", + "internalType": "address" }, { - "internalType": "uint16", "name": "_size", - "type": "uint16" + "type": "uint16", + "internalType": "uint16" }, { - "internalType": "uint32", "name": "_startTimestamp", - "type": "uint32" + "type": "uint32", + "internalType": "uint32" }, { - "internalType": "uint32", "name": "_endTimestamp", - "type": "uint32" + "type": "uint32", + "internalType": "uint32" } ], - "name": "createPolicy", - "outputs": [], - "stateMutability": "payable", - "type": "function" + "outputs": [] }, { - "inputs": [], + "type": "function", "name": "feeRate", + "stateMutability": "view", + "inputs": [], "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "getPolicy", + "stateMutability": "view", "inputs": [ { - "internalType": "bytes16", "name": "_policyID", - "type": "bytes16" + "type": "bytes16", + "internalType": "bytes16" } ], - "name": "getPolicy", "outputs": [ { + "name": "", + "type": "tuple", "components": [ { - "internalType": "address payable", "name": "sponsor", - "type": "address" + "type": "address", + "internalType": "address payable" }, { - "internalType": "uint32", "name": "startTimestamp", - "type": "uint32" + "type": "uint32", + "internalType": "uint32" }, { - "internalType": "uint32", "name": "endTimestamp", - "type": "uint32" + "type": "uint32", + "internalType": "uint32" }, { - "internalType": "uint16", "name": "size", - "type": "uint16" + "type": "uint16", + "internalType": "uint16" }, { - "internalType": "address", "name": "owner", - "type": "address" + "type": "address", + "internalType": "address" } ], - "internalType": "struct SubscriptionManager.Policy", - "name": "", - "type": "tuple" + "internalType": "struct SubscriptionManager.Policy" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "getPolicyCost", + "stateMutability": "view", "inputs": [ { - "internalType": "uint16", "name": "_size", - "type": "uint16" + "type": "uint16", + "internalType": "uint16" }, { - "internalType": "uint32", "name": "_startTimestamp", - "type": "uint32" + "type": "uint32", + "internalType": "uint32" }, { - "internalType": "uint32", "name": "_endTimestamp", - "type": "uint32" + "type": "uint32", + "internalType": "uint32" } ], - "name": "getPolicyCost", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "getRoleAdmin", + "stateMutability": "view", "inputs": [ { - "internalType": "bytes32", "name": "role", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "getRoleAdmin", "outputs": [ { - "internalType": "bytes32", "name": "", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "grantRole", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "bytes32", "name": "role", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32" }, { - "internalType": "address", "name": "account", - "type": "address" + "type": "address", + "internalType": "address" } ], - "name": "grantRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [] }, { + "type": "function", + "name": "hasRole", + "stateMutability": "view", "inputs": [ { - "internalType": "bytes32", "name": "role", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32" }, { - "internalType": "address", "name": "account", - "type": "address" + "type": "address", + "internalType": "address" } ], - "name": "hasRole", "outputs": [ { - "internalType": "bool", "name": "", - "type": "bool" + "type": "bool", + "internalType": "bool" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "initialize", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "uint256", "name": "_feeRate", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" } ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [] }, { + "type": "function", + "name": "isPolicyActive", + "stateMutability": "view", "inputs": [ { - "internalType": "bytes16", "name": "_policyID", - "type": "bytes16" + "type": "bytes16", + "internalType": "bytes16" } ], - "name": "isPolicyActive", "outputs": [ { - "internalType": "bool", "name": "", - "type": "bool" + "type": "bool", + "internalType": "bool" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "renounceRole", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "bytes32", "name": "role", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32" }, { - "internalType": "address", - "name": "account", - "type": "address" + "name": "callerConfirmation", + "type": "address", + "internalType": "address" } ], - "name": "renounceRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [] }, { + "type": "function", + "name": "revokeRole", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "bytes32", "name": "role", - "type": "bytes32" + "type": "bytes32", + "internalType": "bytes32" }, { - "internalType": "address", "name": "account", - "type": "address" + "type": "address", + "internalType": "address" } ], - "name": "revokeRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [] }, { + "type": "function", + "name": "setFeeRate", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "uint256", "name": "_ratePerSecond", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" } ], - "name": "setFeeRate", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [] }, { + "type": "function", + "name": "supportsInterface", + "stateMutability": "view", "inputs": [ { - "internalType": "bytes4", "name": "interfaceId", - "type": "bytes4" + "type": "bytes4", + "internalType": "bytes4" } ], - "name": "supportsInterface", "outputs": [ { - "internalType": "bool", "name": "", - "type": "bool" + "type": "bool", + "internalType": "bool" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "sweep", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "address payable", "name": "recipient", - "type": "address" + "type": "address", + "internalType": "address payable" } ], - "name": "sweep", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [] } ], - "tx_hash": "0xf502961a38a98d7a59abe4c28d354fbcd213a967447a548af7441c3fe9547422", - "block_number": 25203956, - "deployer": "0xA5DC704642d9630636dc7d4976da9e46dcEd8BCD" + "tx_hash": "0x9a02db05c96318d8b0abfd5030c98cd013d670f46012ac1fbabf1564d40d2b6c", + "block_number": 5347313, + "deployer": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600" }, "TACoChildApplication": { - "address": "0x3a0Cd9EeF5A812Dc62f81D3b705daAf21561E33c", + "address": "0x489287Ed5BdF7a35fEE411FBdCc47331093D0769", "abi": [ { "type": "constructor", @@ -5859,12 +5903,12 @@ "outputs": [] } ], - "tx_hash": "0xdf1f50af284e50c3d2554c70f346e1a38e9d00d85012b5117d13acec2ce42f73", - "block_number": 44554870, + "tx_hash": "0x79cd34db513606db9080a729ce0012077a89ecc3f5eaf5fa524e8682eff37767", + "block_number": 5392971, "deployer": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600" }, "TapirRitualToken": { - "address": "0xc154D3D874664792c145d055Cc0C3BC961a75aA6", + "address": "0xf91afFE7cf1d9c367Cb56eDd70C0941a4E8570d9", "abi": [ { "type": "constructor", @@ -6186,8 +6230,8 @@ ] } ], - "tx_hash": "0xe835713bde2ff3daf48bfb3f7e5c0af1e64f5a44490d5d196c34fc512e3f3ff4", - "block_number": 44554884, + "tx_hash": "0x15c88783abe5dfb38592ebd99e76571a19b5a2e76922bd89becf88ea7d97bc41", + "block_number": 5392980, "deployer": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600" } } diff --git a/deployment/constructor_params/tapir/beta_program_initiator.yml b/deployment/constructor_params/tapir/beta_program_initiator.yml index ae2a5174..539fa08d 100644 --- a/deployment/constructor_params/tapir/beta_program_initiator.yml +++ b/deployment/constructor_params/tapir/beta_program_initiator.yml @@ -8,7 +8,7 @@ artifacts: constants: # See deployment/artifacts/tapir.json - COORDINATOR_PROXY: "0xdED71c37e4e17aF2c825c2A4441Dd6BF5A98D194" + COORDINATOR_PROXY: "0xE690b6bCC0616Dc5294fF84ff4e00335cA52C388" # tapir deployer account EXECUTOR: "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600" diff --git a/deployment/constructor_params/tapir/upgrade-child.yml b/deployment/constructor_params/tapir/upgrade-child.yml index ad777ea9..bc056d82 100644 --- a/deployment/constructor_params/tapir/upgrade-child.yml +++ b/deployment/constructor_params/tapir/upgrade-child.yml @@ -1,6 +1,6 @@ deployment: name: tapir-child-upgrade - chain_id: 80001 + chain_id: 80002 artifacts: dir: ./deployment/artifacts/ @@ -8,8 +8,8 @@ artifacts: constants: FORTY_THOUSAND_TOKENS_IN_WEI_UNITS: 40000000000000000000000 - MOCK_POLYGON_CHILD: "0xBD367FeeB095D6612724814E27F3fbc7BCCFd80D" - TAPIR_RITUAL_TOKEN: "0xc154D3D874664792c145d055Cc0C3BC961a75aA6" + MOCK_POLYGON_CHILD: "0x970b5f6A299813cA9DC45Be8446929b6513903f9" + TAPIR_RITUAL_TOKEN: "0xf91afFE7cf1d9c367Cb56eDd70C0941a4E8570d9" contracts: - TACoChildApplication: @@ -18,6 +18,6 @@ contracts: _minimumAuthorization: $FORTY_THOUSAND_TOKENS_IN_WEI_UNITS - Coordinator: constructor: - _application: "0x3a0Cd9EeF5A812Dc62f81D3b705daAf21561E33c" + _application: "0x489287Ed5BdF7a35fEE411FBdCc47331093D0769" _currency: $TAPIR_RITUAL_TOKEN _feeRatePerSecond: 1 diff --git a/scripts/tapir/configure_staking.py b/scripts/tapir/configure_staking.py index 281fbec7..d6a38257 100644 --- a/scripts/tapir/configure_staking.py +++ b/scripts/tapir/configure_staking.py @@ -1,6 +1,7 @@ #!/usr/bin/python3 from ape import networks, project + from deployment.constants import ARTIFACTS_DIR, TAPIR_NODES from deployment.params import Transactor from deployment.registry import contracts_from_registry @@ -45,10 +46,10 @@ def configure_sepolia_root(transactor: Transactor) -> int: return min_stake_size -def configure_mumbai_root(transactor: Transactor, stake_size: int): - """Configures MockTACoApplication on Mumbai.""" - # Set up Tapir stakes on Mumbai - poly_network = networks.polygon.mumbai +def configure_amoy_root(transactor: Transactor, stake_size: int): + """Configures MockTACoApplication on Amoy.""" + # Set up Tapir stakes on Amoy + poly_network = networks.polygon.amoy with poly_network.use_provider("infura"): deployments = contracts_from_registry( filepath=TAPIR_REGISTRY_FILEPATH, chain_id=poly_network.chain_id @@ -72,4 +73,4 @@ def main(): check_plugins() transactor = Transactor() stake_size = configure_sepolia_root(transactor) - configure_mumbai_root(transactor, stake_size) + configure_amoy_root(transactor, stake_size) diff --git a/scripts/tapir/deploy_child.py b/scripts/tapir/deploy_child.py index 25511eee..c503cf7d 100644 --- a/scripts/tapir/deploy_child.py +++ b/scripts/tapir/deploy_child.py @@ -29,6 +29,14 @@ def main(): ape-polygon 0.6.6 ape-solidity 0.6.9 eth-ape 0.6.19 + + April 2nd, 2024 + ape run tapir deploy_child --network polygon:amoy:infura + ape-etherscan 0.7.0 + ape-infura 0.7.2 + ape-polygon 0.7.2 + ape-solidity 0.7.1 + eth-ape 0.7.7 """ deployer = Deployer.from_yaml(filepath=CONSTRUCTOR_PARAMS_FILEPATH, verify=VERIFY) diff --git a/scripts/tapir/upgrade_child.py b/scripts/tapir/upgrade_child.py index 1c795a12..dde18840 100644 --- a/scripts/tapir/upgrade_child.py +++ b/scripts/tapir/upgrade_child.py @@ -12,11 +12,11 @@ def main(): """ - This script upgrades TACoChildApplication and Coordinator on Tapir/Mumbai. + This script upgrades TACoChildApplication and Coordinator on Tapir/Amoy. """ deployer = Deployer.from_yaml(filepath=CONSTRUCTOR_PARAMS_FILEPATH, verify=VERIFY) - instances = contracts_from_registry(filepath=ARTIFACTS_DIR / "tapir.json", chain_id=80001) + instances = contracts_from_registry(filepath=ARTIFACTS_DIR / "tapir.json", chain_id=80002) child_application = deployer.upgrade( project.TACoChildApplication, diff --git a/src/index.ts b/src/index.ts index dac9357b..0a2fded8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,7 +29,7 @@ export const domainRegistry: Record = { export type Domain = "mainnet" | "oryx" | "tapir" | "lynx"; -export type ChainId = 1 | 5 | 137 | 80001 | 80002; +export type ChainId = 1 | 5 | 137 | 80002; export type ChecksumAddress = `0x${string}`; diff --git a/test/registry.spec.ts b/test/registry.spec.ts index 0175ad0e..f19ab70f 100644 --- a/test/registry.spec.ts +++ b/test/registry.spec.ts @@ -4,7 +4,7 @@ import { ChainId, type ContractName, contractNames, type Domain, getContract } f const testCases: Array<[string, number, ContractName]> = contractNames.flatMap((contract) => [ ["lynx", 80002, contract], - ["tapir", 80001, contract], + ["tapir", 80002, contract], ["mainnet", 137, contract], ]); @@ -37,7 +37,7 @@ describe("registry", () => { it("should return different contract addresses for different domains", () => { const contractAddress1 = getContract("lynx", 80002, "Coordinator"); - const contractAddress2 = getContract("tapir", 80001, "Coordinator"); + const contractAddress2 = getContract("tapir", 80002, "Coordinator"); expect(contractAddress1).not.toEqual(contractAddress2); }); });