Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
forshtat committed Oct 15, 2024
1 parent b2f1d07 commit c3637d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bundler/test/BundlerServer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('BundleServer', function () {
callData: '0x',
callGasLimit: 1e6,
verificationGasLimit: 1e6,
preVerificationGas: 50000,
preVerificationGas: 60000,
maxFeePerGas: 1e6,
maxPriorityFeePerGas: 1e6,
signature: '0x'
Expand Down
2 changes: 1 addition & 1 deletion packages/bundler/test/UserOpMethodHandler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ describe('UserOpMethodHandler', function () {
// execution should be quite low.
// (NOTE: actual execution should revert: it only succeeds because the wallet is NOT deployed yet,
// and estimation doesn't perform full deploy-validate-execute cycle)
expect(ret.callGasLimit).to.be.closeTo(25000, 10000)
expect(ret.callGasLimit).to.be.closeTo(1000, 50)
})

it('estimateUserOperationGas should estimate using state overrides', async function () {
Expand Down

0 comments on commit c3637d9

Please sign in to comment.