Skip to content

OpenZeppelin external tests failing with "InvalidArgumentsError: leading zero" #16351

@r0qs

Description

@r0qs

The OpenZeppelin external tests are failing with the error: InvalidArgumentsError: leading zero in tests involving ERC-7702.

See: https://app.circleci.com/pipelines/github/argotorg/solidity/41135/workflows/95766470-f2be-41fb-8f24-cb964472f7d0/jobs/1919109

 1) AccountERC7702WithModules: ERC-7702 account with ERC-7579 modules supports
       using ERC-7702 signer
         entryPoint
           should return the canonical entrypoint:
     InvalidArgumentsError: leading zero
      at EdrProviderWrapper.request (/tmp/ext-test-Zeppelin-u4vgnG/ext/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:462:19)
      at GasReporterProvider._handleViemOrWaffle (/tmp/ext-test-Zeppelin-u4vgnG/ext/node_modules/hardhat-gas-reporter/src/lib/provider.ts:70:20)
      at async Promise.all (index 0)
      at HardhatEthersProvider.broadcastTransaction (/tmp/ext-test-Zeppelin-u4vgnG/ext/node_modules/@nomicfoundation/hardhat-ethers/src/internal/hardhat-ethers-provider.ts:275:33)
      at HDNodeWallet.sendTransaction (/tmp/ext-test-Zeppelin-u4vgnG/ext/node_modules/ethers/src.ts/providers/abstract-signer.ts:255:16)
      at Proxy.deploy (/tmp/ext-test-Zeppelin-u4vgnG/ext/test/helpers/erc4337.js:175:5)
      at Context.<anonymous> (/tmp/ext-test-Zeppelin-u4vgnG/ext/test/account/Account.behavior.js:10:7)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions