From 17dc41e98b929b17a27abf4592109a8c5236ecac Mon Sep 17 00:00:00 2001 From: Ilja Pavlovs Date: Tue, 14 Nov 2023 15:43:34 -0400 Subject: [PATCH] update --- .../on-demand-vrfv2plus-performance-test.yml | 2 +- .../actions/vrfv2/vrfv2_steps.go | 6 ---- .../actions/vrfv2plus/vrfv2plus_steps.go | 6 ---- integration-tests/load/vrfv2/config.toml | 34 +++++++++---------- 4 files changed, 18 insertions(+), 30 deletions(-) diff --git a/.github/workflows/on-demand-vrfv2plus-performance-test.yml b/.github/workflows/on-demand-vrfv2plus-performance-test.yml index c50928e7569..a68460b9824 100644 --- a/.github/workflows/on-demand-vrfv2plus-performance-test.yml +++ b/.github/workflows/on-demand-vrfv2plus-performance-test.yml @@ -17,7 +17,7 @@ on: - "BSC_MAINNET" - "BSC_TESTNET" - "POLYGON_MAINNET" - - "MUMBAI" + - "POLYGON_MUMBAI" - "AVALANCHE_FUJI" - "AVALANCHE_MAINNET" fundingPrivateKey: diff --git a/integration-tests/actions/vrfv2/vrfv2_steps.go b/integration-tests/actions/vrfv2/vrfv2_steps.go index a354ca115c7..f30bcb54560 100644 --- a/integration-tests/actions/vrfv2/vrfv2_steps.go +++ b/integration-tests/actions/vrfv2/vrfv2_steps.go @@ -411,12 +411,6 @@ func CreateSubAndFindSubID(env *test_env.CLClusterTestEnv, coordinator contracts //SubscriptionsCreated Log should be emitted with the subscription ID subID := receipt.Logs[0].Topics[1].Big().Uint64() - //verify that the subscription was created - _, err = coordinator.FindSubscriptionID(subID) - if err != nil { - return 0, fmt.Errorf("%s, err %w", ErrFindSubID, err) - } - return subID, nil } diff --git a/integration-tests/actions/vrfv2plus/vrfv2plus_steps.go b/integration-tests/actions/vrfv2plus/vrfv2plus_steps.go index 772fee02c97..b7ccb187b74 100644 --- a/integration-tests/actions/vrfv2plus/vrfv2plus_steps.go +++ b/integration-tests/actions/vrfv2plus/vrfv2plus_steps.go @@ -430,12 +430,6 @@ func CreateSubAndFindSubID(env *test_env.CLClusterTestEnv, coordinator contracts //SubscriptionsCreated Log should be emitted with the subscription ID subID := receipt.Logs[0].Topics[1].Big() - //verify that the subscription was created - _, err = coordinator.FindSubscriptionID(subID) - if err != nil { - return nil, fmt.Errorf("%s, err %w", ErrFindSubID, err) - } - return subID, nil } diff --git a/integration-tests/load/vrfv2/config.toml b/integration-tests/load/vrfv2/config.toml index aaf0e0cc5b9..4d4d9c3c315 100644 --- a/integration-tests/load/vrfv2/config.toml +++ b/integration-tests/load/vrfv2/config.toml @@ -1,28 +1,28 @@ [Common] -minimum_confirmations = 1 +minimum_confirmations = 3 [NewEnvConfig] sub_funds_link = 1 node_sending_key_funding = 10 [ExistingEnvConfig] -coordinator_address = "0x50d47e4142598E3411aA864e08a44284e471AC6f" -#consumer_address = "0x087F232165D9bA1A602f148025e5D0666953F64a" -#sub_id = "52116875585187328970776211988181422347535732407068188096422095950800466618218" -key_hash = "0x027f94ff1465b3525f9fc03e9ff7d6d2c0953482246dd6ae07570c45d6631414" +coordinator_address = "0x1d186B0A9b6EBd99AaE88af8893e46575Fd5BaD2" +#consumer_address = "" +#sub_id = "" +key_hash = "0x0cf74660cc616c9f40313af1fb699b862b15a86aa1787789315a66440205674e" create_fund_subs_and_add_consumers = true -link_address = "0xb1D4538B4571d411F07960EF2838Ce337FE1E80E" -sub_funds_link = 50 -node_sending_key_funding_min = 3 -node_sending_keys = [ - "0x3d659dE506d3b22e7660d579327126221EfB2651", - "0x7cAF21fA7423b3f4Ec15f87C7BBa83aE8cA4bDf3", - "0x8E1aDA97ac6883E8D7738E2dB9cC1A32211d3429", - "0xA4fdfE2c9438fd8388C2837c0AB199946f8041D3", - "0xb4CC2d6f933244Ff596dd1A7aB6E96769d237B3b", - "0xded252Eb0caA71aFABab6a0fd948eA9CaAdf7012", -] +link_address = "0xB426B2Bde3ad4BEEE2f07d8d38fDe2d66EdAb943" +sub_funds_link = 1000 +#node_sending_key_funding_min = 3 +#node_sending_keys = [ +# "", +# "", +# "", +# "", +# "", +# "", +#] # 10 RPM - 1 tx request with 1 rand request in each tx every 6 seconds [Soak] @@ -32,7 +32,7 @@ randomness_request_count_per_request = 1 # amount of randomness requests to make randomness_request_count_per_request_deviation = 0 #NOTE - deviation should be less than randomness_request_count_per_request setting number_of_sub_to_create = 1 -# approx 60 RPM - 1 tx request with 4 rand requests in each tx every 3 seconds +# approx 60 RPM - 1 tx request with 3 rand requests in each tx every 3 seconds [Load] rate_limit_unit_duration = "3s" rps = 1