From 5d4daceaa48cfbe9e0bc5dacfb2a56e3d1c24718 Mon Sep 17 00:00:00 2001 From: Wilson Cusack Date: Tue, 23 Apr 2024 09:42:47 -0400 Subject: [PATCH] add tolerance --- .gas-snapshot | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gas-snapshot b/.gas-snapshot index b656f51..78acaf7 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -45,7 +45,7 @@ TestCanSkipChainIdValidation:test_approvedSelectorsReturnTrue() (gas: 17781) TestCanSkipChainIdValidation:test_otherSelectorsReturnFalse() (gas: 12579) TestExecuteWithoutChainIdValidation:testExecute() (gas: 403873) TestExecuteWithoutChainIdValidation:testExecuteBatch() (gas: 728942) -TestExecuteWithoutChainIdValidation:testExecuteBatch(uint256) (runs: 256, μ: 3641324, ~: 3767417) +TestExecuteWithoutChainIdValidation:testExecuteBatch(uint256) (runs: 256, μ: 3640157, ~: 3767417) TestExecuteWithoutChainIdValidation:test__codesize() (gas: 50211) TestExecuteWithoutChainIdValidation:test_revertsWithReservedNonce() (gas: 81941) TestExecuteWithoutChainIdValidation:test_reverts_whenCallerNotEntryPoint() (gas: 11031) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a18596e..e1534d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,7 @@ jobs: - name: Check snapshot run: | - forge snapshot --check + forge snapshot --check --tolerance 1 id: snapshot forge-coverage: