Skip to content

Commit

Permalink
Blue/green deployments for LLO; code cleanup (#14628)
Browse files Browse the repository at this point in the history
* Blue/green deployments for LLO; code cleanup

* Go mod tidy
  • Loading branch information
samsondav authored Oct 18, 2024
1 parent a25f1a5 commit 6ec5ab8
Show file tree
Hide file tree
Showing 78 changed files with 5,997 additions and 503 deletions.
6 changes: 6 additions & 0 deletions .changeset/real-doors-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"chainlink": patch
---

Implement blue-green Configurator contract and retirement report handover for LLO
#added
2 changes: 1 addition & 1 deletion ccip/config/evm/Simulated.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ChainID = '1337'
FinalityDepth = 10
FinalityDepth = 1
MinIncomingConfirmations = 1
MinContractPayment = '100'
NoNewHeadsThreshold = '0s'
Expand Down
7 changes: 7 additions & 0 deletions contracts/.changeset/cool-laws-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@chainlink/contracts': patch
---

Add new Configurator contract for blue-green LLO deployments

PR issue: MERC-5954
26 changes: 24 additions & 2 deletions contracts/gas-snapshots/llo-feeds.gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,31 @@ ByteUtilTest:test_readUint32MultiWord() (gas: 3371)
ByteUtilTest:test_readUint32WithEmptyArray() (gas: 3231)
ByteUtilTest:test_readUint32WithNotEnoughBytes() (gas: 3272)
ByteUtilTest:test_readZeroAddress() (gas: 3343)
ChannelConfigStoreTest:testSetChannelDefinitions() (gas: 46927)
ChannelConfigStoreTest:testSetChannelDefinitions() (gas: 46905)
ChannelConfigStoreTest:testSupportsInterface() (gas: 8367)
ChannelConfigStoreTest:testTypeAndVersion() (gas: 9621)
ChannelConfigStoreTest:testTypeAndVersion() (gas: 9644)
ChannelConfigStoreTest:test_revertsIfCalledByNonOwner() (gas: 11288)
ConfiguratorPromoteStagingConfigTest:test_promotesStagingConfig() (gas: 99047)
ConfiguratorPromoteStagingConfigTest:test_revertsIfCalledByNonOwner() (gas: 10962)
ConfiguratorPromoteStagingConfigTest:test_revertsIfIsGreenProductionDoesNotMatchContractState() (gas: 13423)
ConfiguratorPromoteStagingConfigTest:test_revertsIfNoConfigHasEverBeenSetWithThisConfigId() (gas: 13419)
ConfiguratorPromoteStagingConfigTest:test_revertsIfProductionConfigDigestIsZero() (gas: 68521)
ConfiguratorPromoteStagingConfigTest:test_revertsIfStagingConfigDigestIsZero() (gas: 48258)
ConfiguratorSetProductionConfigTest:test_correctlyUpdatesTheConfig() (gas: 259776)
ConfiguratorSetProductionConfigTest:test_revertsIfCalledByNonOwner() (gas: 266559)
ConfiguratorSetProductionConfigTest:test_revertsIfFaultToleranceIsZero() (gas: 264173)
ConfiguratorSetProductionConfigTest:test_revertsIfNotEnoughSigners() (gas: 95951)
ConfiguratorSetProductionConfigTest:test_revertsIfOnchainConfigIsInvalid() (gas: 60885)
ConfiguratorSetProductionConfigTest:test_revertsIfSetWithTooManySigners() (gas: 107412)
ConfiguratorSetProductionConfigTest:test_supportsHigherVersionsIgnoringExcessOnchainConfig() (gas: 125099)
ConfiguratorSetStagingConfigTest:test_correctlyUpdatesTheConfig() (gas: 265921)
ConfiguratorSetStagingConfigTest:test_revertsIfCalledByNonOwner() (gas: 266528)
ConfiguratorSetStagingConfigTest:test_revertsIfFaultToleranceIsZero() (gas: 264142)
ConfiguratorSetStagingConfigTest:test_revertsIfNotEnoughSigners() (gas: 95920)
ConfiguratorSetStagingConfigTest:test_revertsIfOnchainConfigIsInvalid() (gas: 67763)
ConfiguratorSetStagingConfigTest:test_revertsIfSetWithTooManySigners() (gas: 107392)
ConfiguratorTest:testSupportsInterface() (gas: 8367)
ConfiguratorTest:testTypeAndVersion() (gas: 9683)
DestinationFeeManagerProcessFeeTest:test_DiscountIsAppliedForNative() (gas: 52717)
DestinationFeeManagerProcessFeeTest:test_DiscountIsReturnedForNative() (gas: 52645)
DestinationFeeManagerProcessFeeTest:test_DiscountIsReturnedForNativeWithSurcharge() (gas: 78879)
Expand Down
1 change: 1 addition & 0 deletions contracts/scripts/native_solc_compile_all_llo-feeds
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ compileContract llo-feeds/v0.5.0/configuration/Configurator.sol
# Test | Mocks
compileContract llo-feeds/v0.3.0/test/mocks/ErroredVerifier.sol
compileContract llo-feeds/v0.3.0/test/mocks/ExposedVerifier.sol
compileContract llo-feeds/v0.5.0/configuration/test/mocks/ExposedConfigurator.sol
28 changes: 0 additions & 28 deletions contracts/src/v0.8/llo-feeds/interfaces/IConfigurator.sol

This file was deleted.

Loading

0 comments on commit 6ec5ab8

Please sign in to comment.