Skip to content

Sample usage doesn't work #252

Description

@mholtzman

Tried to run the sample instructions in the readme and getting some errors.

Steps:

  • clone repo
  • yarn
  • yarn preprocess
  • yarn hardhat-node // or npx hardhat node from a separate repo, in another terminal
  • yarn hardhat-deploy --network localhost // in main terminal
  • yarn run bundler --unsafe // in main terminal
  • yarn run runop --deployFactory --network http://localhost:8545/ --entryPoint 0x0000000071727De22E5E9d8BAf0edAc6f37da032 // in third terminal

Output:

Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="Error: Transaction reverted without a reason string", method="estimateGas", transaction={"from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0x4e59b44847b379578588920cA78FbF26c0B4956C","data":"0x000000000000000000000000000000000000000000000000000000000000000060c060405234801561000f575f5ffd5b50604051612174380380612174833981016040819

and in the hardhat node output:

eth_estimateGas
  Contract call:       <UnrecognizedContract>
  From:                0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
  To:                  0x4e59b44847b379578588920ca78fbf26c0b4956c
  Value:               0 ETH

  Error: Transaction reverted without a reason

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions