From 0b84d4493d902371c7fd63d148d3a756e3e7506b Mon Sep 17 00:00:00 2001 From: mouseless <97399882+mouseless-eth@users.noreply.github.com> Date: Tue, 12 Nov 2024 08:57:35 +0700 Subject: [PATCH 1/2] remove 1n hardcode in favor of 0n --- src/rpc/rpcHandler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc/rpcHandler.ts b/src/rpc/rpcHandler.ts index f2c30cdd..72ad326c 100644 --- a/src/rpc/rpcHandler.ts +++ b/src/rpc/rpcHandler.ts @@ -491,10 +491,10 @@ export class RpcHandler implements IRpcEndpoint { ) { paymasterVerificationGasLimit = executionResult.data.executionResult - .paymasterVerificationGasLimit || 1n + .paymasterVerificationGasLimit || 0n paymasterPostOpGasLimit = executionResult.data.executionResult.paymasterPostOpGasLimit || - 1n + 0n const multiplier = Number(this.config.paymasterGasLimitMultiplier) From ac227b9184b03d7b566b02346addb78a43e14335 Mon Sep 17 00:00:00 2001 From: mouseless <97399882+mouseless-eth@users.noreply.github.com> Date: Tue, 12 Nov 2024 09:07:23 +0700 Subject: [PATCH 2/2] add flag --- test/e2e/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/docker-compose.yml b/test/e2e/docker-compose.yml index 499242ad..a24bd868 100644 --- a/test/e2e/docker-compose.yml +++ b/test/e2e/docker-compose.yml @@ -2,7 +2,7 @@ services: anvil: image: ghcr.io/foundry-rs/foundry:nightly-503792a1dbadd901a4c02f6fcd1de1caff1573ff ports: [ "8545:8545" ] - entrypoint: [ "anvil", "--host", "0.0.0.0", "--silent" ] + entrypoint: [ "anvil", "--host", "0.0.0.0", "--silent", "--code-size-limit", "250000"] platform: linux/amd64/v8 deploy-contracts: