Skip to content

trace on local chain #86

@nuliknol

Description

@nuliknol

I am using local chain with geth (running in archive mode) and I want to trace transactions, but I am getting this error:

ProviderError: No known hardfork for execution on historical block 1348 (relative to fork block number 1348) in chain with id 911.

I don't have forks on my chain since it is a local chain, it is "shangai" from block 0. So how do I disable this check? I just want to execute traces of transactions without any fork checking, how is this done?

example command:

pnpm exec hardhat trace --hash 0xefab2218e013f0148d5e7803067f105cb41614fa3452930181f61ebed6eac330 --rpc http://localhost:8545 --fulltrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions