From fdbdfe52d30a3439ff8a885a67e55b4cc79cb10f Mon Sep 17 00:00:00 2001
From: Bartek Tofel <bartek.tofel@smartcontract.com>
Date: Fri, 1 Mar 2024 12:51:29 -0300
Subject: [PATCH] bump Seth version, do not use EIP-1559 for Sepolia, bump gas
 prices and timeouts for Seth (#12261)

---
 integration-tests/go.mod                  |  2 +-
 integration-tests/go.sum                  |  4 ++--
 integration-tests/load/go.mod             |  2 +-
 integration-tests/load/go.sum             |  4 ++--
 integration-tests/testconfig/default.toml | 20 ++++++++++----------
 5 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/integration-tests/go.mod b/integration-tests/go.mod
index a65042b1db5..4d46367ec9f 100644
--- a/integration-tests/go.mod
+++ b/integration-tests/go.mod
@@ -28,7 +28,7 @@ require (
 	github.com/smartcontractkit/chainlink-vrf v0.0.0-20231120191722-fef03814f868
 	github.com/smartcontractkit/chainlink/v2 v2.0.0-00010101000000-000000000000
 	github.com/smartcontractkit/libocr v0.0.0-20240229181116-bfb2432a7a66
-	github.com/smartcontractkit/seth v0.1.1
+	github.com/smartcontractkit/seth v0.1.2
 	github.com/smartcontractkit/wasp v0.4.5
 	github.com/spf13/cobra v1.8.0
 	github.com/stretchr/testify v1.8.4
diff --git a/integration-tests/go.sum b/integration-tests/go.sum
index 0dbb9e8cb86..2626cf0e8b2 100644
--- a/integration-tests/go.sum
+++ b/integration-tests/go.sum
@@ -1538,8 +1538,8 @@ github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f h1:hgJ
 github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f/go.mod h1:MvMXoufZAtqExNexqi4cjrNYE9MefKddKylxjS+//n0=
 github.com/smartcontractkit/libocr v0.0.0-20240229181116-bfb2432a7a66 h1:xsU00JB9GJxEiN6tDbqgN+fT98ySdxkUwTw6CfBXscw=
 github.com/smartcontractkit/libocr v0.0.0-20240229181116-bfb2432a7a66/go.mod h1:SJEZCHgMCAzzBvo9vMV2DQ9onfEcIJCYSViyP4JI6c4=
-github.com/smartcontractkit/seth v0.1.1 h1:Uh7Ldr6N+4HV6YPI/s5s3P8I+UndJXzDSL2VsBsiL/Y=
-github.com/smartcontractkit/seth v0.1.1/go.mod h1:aOaGwrIVFG/MYaLSj9UUMyE5QJnYQoAgnxm5cKfT9Ng=
+github.com/smartcontractkit/seth v0.1.2 h1:ImXJmniuq6yWB6b3eezjV+lkYb1GfQuaJkwRvrCfTKQ=
+github.com/smartcontractkit/seth v0.1.2/go.mod h1:aOaGwrIVFG/MYaLSj9UUMyE5QJnYQoAgnxm5cKfT9Ng=
 github.com/smartcontractkit/tdh2/go/ocr2/decryptionplugin v0.0.0-20230906073235-9e478e5e19f1 h1:yiKnypAqP8l0OX0P3klzZ7SCcBUxy5KqTAKZmQOvSQE=
 github.com/smartcontractkit/tdh2/go/ocr2/decryptionplugin v0.0.0-20230906073235-9e478e5e19f1/go.mod h1:q6f4fe39oZPdsh1i57WznEZgxd8siidMaSFq3wdPmVg=
 github.com/smartcontractkit/tdh2/go/tdh2 v0.0.0-20230906073235-9e478e5e19f1 h1:Dai1bn+Q5cpeGMQwRdjOdVjG8mmFFROVkSKuUgBErRQ=
diff --git a/integration-tests/load/go.mod b/integration-tests/load/go.mod
index a3d3fa093c7..d538469eb66 100644
--- a/integration-tests/load/go.mod
+++ b/integration-tests/load/go.mod
@@ -20,7 +20,7 @@ require (
 	github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20240214231432-4ad5eb95178c
 	github.com/smartcontractkit/chainlink/v2 v2.9.0-beta0.0.20240216210048-da02459ddad8
 	github.com/smartcontractkit/libocr v0.0.0-20240229181116-bfb2432a7a66
-	github.com/smartcontractkit/seth v0.1.1
+	github.com/smartcontractkit/seth v0.1.2
 	github.com/smartcontractkit/tdh2/go/tdh2 v0.0.0-20230906073235-9e478e5e19f1
 	github.com/smartcontractkit/wasp v0.4.5
 	github.com/stretchr/testify v1.8.4
diff --git a/integration-tests/load/go.sum b/integration-tests/load/go.sum
index 1129211f6c2..9dc04e2567f 100644
--- a/integration-tests/load/go.sum
+++ b/integration-tests/load/go.sum
@@ -1521,8 +1521,8 @@ github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f h1:hgJ
 github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f/go.mod h1:MvMXoufZAtqExNexqi4cjrNYE9MefKddKylxjS+//n0=
 github.com/smartcontractkit/libocr v0.0.0-20240229181116-bfb2432a7a66 h1:xsU00JB9GJxEiN6tDbqgN+fT98ySdxkUwTw6CfBXscw=
 github.com/smartcontractkit/libocr v0.0.0-20240229181116-bfb2432a7a66/go.mod h1:SJEZCHgMCAzzBvo9vMV2DQ9onfEcIJCYSViyP4JI6c4=
-github.com/smartcontractkit/seth v0.1.1 h1:Uh7Ldr6N+4HV6YPI/s5s3P8I+UndJXzDSL2VsBsiL/Y=
-github.com/smartcontractkit/seth v0.1.1/go.mod h1:aOaGwrIVFG/MYaLSj9UUMyE5QJnYQoAgnxm5cKfT9Ng=
+github.com/smartcontractkit/seth v0.1.2 h1:ImXJmniuq6yWB6b3eezjV+lkYb1GfQuaJkwRvrCfTKQ=
+github.com/smartcontractkit/seth v0.1.2/go.mod h1:aOaGwrIVFG/MYaLSj9UUMyE5QJnYQoAgnxm5cKfT9Ng=
 github.com/smartcontractkit/tdh2/go/ocr2/decryptionplugin v0.0.0-20230906073235-9e478e5e19f1 h1:yiKnypAqP8l0OX0P3klzZ7SCcBUxy5KqTAKZmQOvSQE=
 github.com/smartcontractkit/tdh2/go/ocr2/decryptionplugin v0.0.0-20230906073235-9e478e5e19f1/go.mod h1:q6f4fe39oZPdsh1i57WznEZgxd8siidMaSFq3wdPmVg=
 github.com/smartcontractkit/tdh2/go/tdh2 v0.0.0-20230906073235-9e478e5e19f1 h1:Dai1bn+Q5cpeGMQwRdjOdVjG8mmFFROVkSKuUgBErRQ=
diff --git a/integration-tests/testconfig/default.toml b/integration-tests/testconfig/default.toml
index b1815b1395b..26b68fd4f1f 100644
--- a/integration-tests/testconfig/default.toml
+++ b/integration-tests/testconfig/default.toml
@@ -54,7 +54,7 @@ gas_tip_cap = 3_000_000_000
 [[Seth.networks]]
 name = "Fuji"
 chain_id = "43113"
-transaction_timeout = "30s"
+transaction_timeout = "3m"
 transfer_gas_fee = 21_000
 # legacy transactions
 gas_price = 30_000_000_000
@@ -66,20 +66,20 @@ gas_tip_cap = 1_800_000_000
 [[Seth.networks]]
 name = "Sepolia"
 chain_id = "11155111"
-transaction_timeout = "30s"
-transfer_gas_fee = 21_000
-gas_limit = 14_000_000
+transaction_timeout = "3m"
+transfer_gas_fee = 40_000
+gas_limit = 30_000_000
 # legacy transactions
-gas_price = 1_000_000_000
+gas_price = 20_000_000_000
 # EIP-1559 transactions
-eip_1559_dynamic_fees = true
-gas_fee_cap = 25_000_000_000
-gas_tip_cap = 5_000_000_000
+# eip_1559_dynamic_fees = true2
+gas_fee_cap = 45_000_000_000
+gas_tip_cap = 10_000_000_000
 
 [[Seth.networks]]
 name = "Mumbai"
 chain_id = "80001"
-transaction_timeout = "30s"
+transaction_timeout = "3m"
 transfer_gas_fee = 21_000
 # legacy transactions
 #gas_price = 1_800_000_000
@@ -91,7 +91,7 @@ gas_tip_cap = 1_800_000_000
 [[Seth.networks]]
 name = "zkEVM"
 chain_id = "1442"
-transaction_timeout = "30s"
+transaction_timeout = "3m"
 transfer_gas_fee = 21_000
 gas_limit = 3_000_000
 # legacy transactions