Skip to content

Commit

Permalink
Update with new defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ferglor committed Jul 4, 2024
1 parent 635e4ba commit 5868cae
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 53 deletions.
2 changes: 2 additions & 0 deletions core/chains/evm/config/toml/defaults/Arbitrum_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ SyncThreshold = 10
[OCR2.Automation]
GasLimit = 14500000
BlockRate = 4
LogLimit = 2

2 changes: 2 additions & 0 deletions core/chains/evm/config/toml/defaults/Arbitrum_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ SyncThreshold = 10
[OCR2.Automation]
GasLimit = 14500000
BlockRate = 4
LogLimit = 2

2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/fallback.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ ObservationGracePeriod = '1s'
[OCR2.Automation]
GasLimit = 5400000
BlockRate = 1
LogLimit = 2
LogLimit = 1
2 changes: 1 addition & 1 deletion core/config/docs/chains-evm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ GasLimit = 5400000 # Default
# BlockRate is the number of blocks that make up a block window.
BlockRate = 1 # Default
# LogLimit is the number of logs per upkeep per block window we guarantee will be processed.
LogLimit = 2 # Default
LogLimit = 1 # Default

[EVM.Workflow]
# FromAddress is Address of the transmitter key to use for workflow writes.
Expand Down
4 changes: 2 additions & 2 deletions core/services/chainlink/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ func TestConfig_Marshal(t *testing.T) {
Automation: evmcfg.Automation{
GasLimit: ptr[uint32](540),
BlockRate: ptr[uint32](1),
LogLimit: ptr[uint32](2),
LogLimit: ptr[uint32](1),
},
},
},
Expand Down Expand Up @@ -1091,7 +1091,7 @@ ObservationGracePeriod = '1s'
[EVM.OCR2.Automation]
GasLimit = 540
BlockRate = 1
LogLimit = 2
LogLimit = 1
[[EVM.Nodes]]
Name = 'foo'
Expand Down
2 changes: 1 addition & 1 deletion core/services/chainlink/testdata/config-full.toml
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ ObservationGracePeriod = '1s'
[EVM.OCR2.Automation]
GasLimit = 540
BlockRate = 1
LogLimit = 2
LogLimit = 1

[[EVM.Nodes]]
Name = 'foo'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ ObservationGracePeriod = '1s'
[EVM.OCR2.Automation]
GasLimit = 5400000
BlockRate = 1
LogLimit = 2
LogLimit = 1

[[EVM.Nodes]]
Name = 'foo'
Expand Down
2 changes: 1 addition & 1 deletion core/web/resolver/testdata/config-full.toml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ ObservationGracePeriod = '1s'
[EVM.OCR2.Automation]
GasLimit = 540
BlockRate = 1
LogLimit = 2
LogLimit = 1

[[EVM.Nodes]]
Name = 'foo'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ ObservationGracePeriod = '1s'
[EVM.OCR2.Automation]
GasLimit = 5400000
BlockRate = 1
LogLimit = 2
LogLimit = 1

[[EVM.Nodes]]
Name = 'foo'
Expand Down
Loading

0 comments on commit 5868cae

Please sign in to comment.