Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
8 changes: 5 additions & 3 deletions docs/TargetState.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ codehash checks instead.
attempt every facet and periphery contract the network declares, whatever version is already
deployed; on the version gate only a pin can refuse, and since the migration to `latest`
the only pins are deliberate hold-backs (`ChainflipFacet` on mainnet and arbitrum,
`ThorSwapFacet` on avalanche and bsc until its deprecation, EXSC-1169). Before the migration, stage 6 deployed a periphery contract only where the
declared version equalled the repo's and skipped the rest with a warning, so an entry whose
declared version had fallen behind the repo was never touched. Entering a run at stage 5 or 6
`ThorSwapFacet` on avalanche and bsc until its deprecation, EXSC-1169; `GasZipFacet` at 2.0.4
on the production networks still running 2.0.4, EXSC-1214). Before the migration, stage 6
deployed a periphery contract only where the declared version equalled the repo's and skipped
the rest with a warning, so an entry whose declared version had fallen behind the repo was
never touched. Entering a run at stage 5 or 6
against a network that already has deployments therefore attempts and re-registers the whole
declared set rather than only what has drifted. CREATE3 derives the address from the bytecode,
so an unchanged contract resolves to the address it already has and no deployment is
Expand Down
82 changes: 41 additions & 41 deletions script/deploy/_targetState.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -62,7 +62,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -94,7 +94,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -166,7 +166,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -208,7 +208,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand All @@ -235,7 +235,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -306,7 +306,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -339,7 +339,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -384,7 +384,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -417,7 +417,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand All @@ -444,7 +444,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand All @@ -470,7 +470,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -500,7 +500,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -528,7 +528,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -565,7 +565,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -624,7 +624,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -663,7 +663,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand All @@ -690,7 +690,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -729,7 +729,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -758,7 +758,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -794,7 +794,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -825,7 +825,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -860,7 +860,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -890,7 +890,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -949,7 +949,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -993,7 +993,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -1040,7 +1040,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -1070,7 +1070,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -1105,7 +1105,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -1137,7 +1137,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -1172,7 +1172,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -1207,7 +1207,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -1250,7 +1250,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -1286,7 +1286,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -1343,7 +1343,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -1376,7 +1376,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand All @@ -1403,7 +1403,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -1431,7 +1431,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -1459,7 +1459,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiIntentEscrowFacetV2": "latest",
"LiFiTimelockController": "latest",
Expand Down Expand Up @@ -1489,7 +1489,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down Expand Up @@ -1548,7 +1548,7 @@
"DiamondCutFacet": "latest",
"DiamondLoupeFacet": "latest",
"EmergencyPauseFacet": "latest",
"GasZipFacet": "latest",
"GasZipFacet": "2.0.4",
"GenericSwapFacetV3": "latest",
"LiFiTimelockController": "latest",
"OwnershipFacet": "latest",
Expand Down
Loading