From be764602874e7cb21f842ce314e037fd6f40412c Mon Sep 17 00:00:00 2001 From: Anna McAllister Date: Wed, 15 Jan 2025 13:27:43 +0000 Subject: [PATCH 1/2] set default and quickstart gas estimation factors Signed-off-by: Anna McAllister --- config/pkg/pldconf/publictxmgr.go | 2 +- operator/config/samples/core_v1alpha1_paladin_node1.yaml | 4 +++- operator/config/samples/core_v1alpha1_paladin_node2.yaml | 3 +++ operator/config/samples/core_v1alpha1_paladin_node3.yaml | 3 +++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/config/pkg/pldconf/publictxmgr.go b/config/pkg/pldconf/publictxmgr.go index f59476933..61301e033 100644 --- a/config/pkg/pldconf/publictxmgr.go +++ b/config/pkg/pldconf/publictxmgr.go @@ -102,7 +102,7 @@ var PublicTxManagerDefaults = &PublicTxManagerConfig{ }, }, GasLimit: GasLimitConfig{ - GasEstimateFactor: confutil.P(1.0), + GasEstimateFactor: confutil.P(1.5), }, } diff --git a/operator/config/samples/core_v1alpha1_paladin_node1.yaml b/operator/config/samples/core_v1alpha1_paladin_node1.yaml index 238ec3be3..4ded537c6 100644 --- a/operator/config/samples/core_v1alpha1_paladin_node1.yaml +++ b/operator/config/samples/core_v1alpha1_paladin_node1.yaml @@ -15,7 +15,9 @@ spec: db: postgres: debugQueries: true - + publicTxManager: + gasLimit: + gasEstimateFactor: 2.0 database: mode: sidecarPostgres migrationMode: auto diff --git a/operator/config/samples/core_v1alpha1_paladin_node2.yaml b/operator/config/samples/core_v1alpha1_paladin_node2.yaml index 7f022ffbf..d87d763ee 100644 --- a/operator/config/samples/core_v1alpha1_paladin_node2.yaml +++ b/operator/config/samples/core_v1alpha1_paladin_node2.yaml @@ -12,6 +12,9 @@ spec: config: | log: level: debug + publicTxManager: + gasLimit: + gasEstimateFactor: 2.0 database: mode: sidecarPostgres migrationMode: auto diff --git a/operator/config/samples/core_v1alpha1_paladin_node3.yaml b/operator/config/samples/core_v1alpha1_paladin_node3.yaml index 73955eb26..5d44c30f5 100644 --- a/operator/config/samples/core_v1alpha1_paladin_node3.yaml +++ b/operator/config/samples/core_v1alpha1_paladin_node3.yaml @@ -12,6 +12,9 @@ spec: config: | log: level: debug + publicTxManager: + gasLimit: + gasEstimateFactor: 2.0 database: mode: sidecarPostgres migrationMode: auto From 791aded6c52c063b7e2c705338a9285ce6628f40 Mon Sep 17 00:00:00 2001 From: Anna McAllister Date: Wed, 15 Jan 2025 13:30:52 +0000 Subject: [PATCH 2/2] fix comments in kind yaml Signed-off-by: Anna McAllister --- operator/paladin-kind.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/operator/paladin-kind.yaml b/operator/paladin-kind.yaml index 5c9bdb8df..258f8fcb9 100644 --- a/operator/paladin-kind.yaml +++ b/operator/paladin-kind.yaml @@ -9,24 +9,24 @@ nodes: # to up to 3 Paladin + Besu nodes per the samples provided in the project, # and the E2E tests. - # Open up ports on LOCALHOST only for the second Paladin node - - containerPort: 31545 # Besu2 - JSON/RPC HTTP + # Open up ports on LOCALHOST only for the first Paladin node + - containerPort: 31545 # Besu1 - JSON/RPC HTTP hostPort: 31545 listenAddress: "127.0.0.1" protocol: tcp - - containerPort: 31546 # Besu2 - JSON/RPC WebSockets + - containerPort: 31546 # Besu1 - JSON/RPC WebSockets hostPort: 31546 listenAddress: "127.0.0.1" protocol: tcp - - containerPort: 31547 # Besu2 - GraphQL HTTP + - containerPort: 31547 # Besu1 - GraphQL HTTP hostPort: 31547 listenAddress: "127.0.0.1" protocol: tcp - - containerPort: 31548 # Paladin2 - JSON/RPC HTTP + - containerPort: 31548 # Paladin1 - JSON/RPC HTTP hostPort: 31548 listenAddress: "127.0.0.1" protocol: tcp - - containerPort: 31549 # Paladin2 - JSON/RPC WebSockets + - containerPort: 31549 # Paladin1 - JSON/RPC WebSockets hostPort: 31549 listenAddress: "127.0.0.1" protocol: tcp