Skip to content

Commit

Permalink
CTF tests - increase gas_tip_cap for Polygon Amoy chain (#14178)
Browse files Browse the repository at this point in the history
* CTF tests - increase gas_tip_cap for Polygon Amoy chain

* CTF tests - enable gas_price_estimation_enabled

* CTF tests - add sleep to wait for txs to be mined
  • Loading branch information
iljapavlovs authored Aug 21, 2024
1 parent 4d50117 commit d204c46
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions integration-tests/load/vrfv2/vrfv2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ func TestVRFV2Performance(t *testing.T) {
Msg("Network is a simulated network. Skipping fund return for Coordinator Subscriptions.")
} else {
if *vrfv2Config.General.CancelSubsAfterTestRun {
// wait for all txs to be mined in order to avoid nonce issues
time.Sleep(10 * time.Second)
//cancel subs and return funds to sub owner
vrfv2.CancelSubsAndReturnFunds(testcontext.Get(t), vrfContracts, sethClient.MustGetRootKeyAddress().Hex(), subIDsForCancellingAfterTest, l)
}
Expand Down
2 changes: 2 additions & 0 deletions integration-tests/load/vrfv2plus/vrfv2plus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ func TestVRFV2PlusPerformance(t *testing.T) {
Msg("Network is a simulated network. Skipping fund return for Coordinator Subscriptions.")
} else {
if *testConfig.VRFv2Plus.General.CancelSubsAfterTestRun {
// wait for all txs to be mined in order to avoid nonce issues
time.Sleep(10 * time.Second)
//cancel subs and return funds to sub owner
vrfv2plus.CancelSubsAndReturnFunds(testcontext.Get(t), vrfContracts, sethClient.MustGetRootKeyAddress().Hex(), subIDsForCancellingAfterTest, l)
}
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/testconfig/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,11 @@ eip_1559_dynamic_fees = true

# automated gas estimation for live networks
# if set to true we will dynamically estimate gas for every transaction (based on suggested values, priority and congestion rate for last X blocks)
# gas_price_estimation_enabled = true
gas_price_estimation_enabled = true
# number of blocks to use for congestion rate estimation (it will determine buffer added on top of suggested values)
# gas_price_estimation_blocks = 100
gas_price_estimation_blocks = 100
# transaction priority, which determines adjustment factor multiplier applied to suggested values (fast - 1.2x, standard - 1x, slow - 0.8x)
# gas_price_estimation_tx_priority = "standard"
gas_price_estimation_tx_priority = "standard"

# URLs
# if set they will overwrite URLs from EVMNetwork that Seth uses, can be either WS(S) or HTTP(S)
Expand All @@ -346,7 +346,7 @@ gas_price = 200_000_000_000

# EIP-1559 transactions
gas_fee_cap = 200_000_000_000
gas_tip_cap = 2_000_000_000
gas_tip_cap = 25_000_000_000

[[Seth.networks]]
name = "Polygon zkEVM Goerli"
Expand Down

0 comments on commit d204c46

Please sign in to comment.