Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
iljapavlovs committed Nov 14, 2023
1 parent c3a2108 commit 17dc41e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on-demand-vrfv2plus-performance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
- "BSC_MAINNET"
- "BSC_TESTNET"
- "POLYGON_MAINNET"
- "MUMBAI"
- "POLYGON_MUMBAI"
- "AVALANCHE_FUJI"
- "AVALANCHE_MAINNET"
fundingPrivateKey:
Expand Down
6 changes: 0 additions & 6 deletions integration-tests/actions/vrfv2/vrfv2_steps.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
6 changes: 0 additions & 6 deletions integration-tests/actions/vrfv2plus/vrfv2plus_steps.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
34 changes: 17 additions & 17 deletions integration-tests/load/vrfv2/config.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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
Expand Down

0 comments on commit 17dc41e

Please sign in to comment.