Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
george-dorin committed Dec 20, 2024
1 parent 918bfc9 commit d91dc36
Show file tree
Hide file tree
Showing 4 changed files with 358 additions and 32 deletions.
6 changes: 3 additions & 3 deletions integration-tests/actions/deployment_dual_aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ func NewDualAggregatorDeployment(c *seth.Client, in *Input, linkContractAddress
offchainOptions.RequesterAccessController, // requesterAccessController
offchainOptions.Decimals,
offchainOptions.Description,
"0x0000000000000000000000000000000000000000", // secondary proxy
30, // cutOffTime
20, // maxSyncIterations
common.HexToAddress("0x0000000000000000000000000000000000000000"), // secondary proxy
uint32(30), // cutOffTime
uint32(20), // maxSyncIterations
)
if err != nil {
return nil, err
Expand Down
9 changes: 9 additions & 0 deletions integration-tests/smoke/config/dual_transmission_e2e.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
[test_config]
overwrite_custom_url = false
test_timeout_minutes = 10
expected_event_count = 5

[contracts]

[blockchain_a]
type = "anvil"
docker_cmd_params = ["-b", "1"]
chain_id = "1337"

[blockchain_a.out]
family = "evm"

[nodeset]
nodes = 5
Expand Down
68 changes: 68 additions & 0 deletions integration-tests/smoke/config/dual_transmission_e2e_holesky.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
[test_config]
overwrite_custom_url = false
test_timeout_minutes = 10
expected_event_count = 5
custom_url = "https://rpc-holesky.flashbots.net/fast"

[contracts]

[blockchain_a]
type = "geth"
docker_cmd_params = ["-b", "1"]

[blockchain_a.out]
chain_id = "17000"
use_cache = false
family = "evm"

[[blockchain_a.out.nodes]]
docker_internal_http_url = "https://nd-033-002-348.p2pify.com/f46b081bafa80b7c0be87edfdd6c0815"
docker_internal_ws_url = "wss://ws-nd-033-002-348.p2pify.com/f46b081bafa80b7c0be87edfdd6c0815"
http_url = "https://nd-033-002-348.p2pify.com/f46b081bafa80b7c0be87edfdd6c0815"
ws_url = "wss://ws-nd-033-002-348.p2pify.com/f46b081bafa80b7c0be87edfdd6c0815"

[nodeset]
nodes = 5
override_mode = "all"

[nodeset.db]
image = "postgres:12.0"

[[nodeset.node_specs]]

[nodeset.node_specs.node]
image = "localhost:5000/chainlink:develop"
user_config_overrides = """
[Feature]
LogPoller = true
[OCR2]
Enabled = true
DatabaseTimeout = '1s'
[P2P.V2]
Enabled = true
ListenAddresses = ['0.0.0.0:6690']
[[EVM]]
ChainID = '17000'
ChainType = 'dualBroadcast'
AutoCreateKey = true
FinalityDepth = 1
MinContractPayment = 0
[EVM.TxmV2]
Enabled = true
BlockTime = '11s'
CustomURL = '%s'
[EVM.Transactions]
ForwardersEnabled = true
[EVM.Transactions.AutoPurge]
Enabled = true
Threshold = 5
MinAttempts = 10000
DetectionApiUrl = 'https://protect-holesky.flashbots.net/tx/'
[EVM.GasEstimator]
BumpThreshold = 6
"""
Loading

0 comments on commit d91dc36

Please sign in to comment.