Skip to content

Cannot run testsΒ #1945

@PatrickAlphaC

Description

@PatrickAlphaC

πŸ› Script Bug Report

% yarn test-node
yarn run v1.22.19
$ ./bin/anvil-zksync --protocol-version=28 --emulate-evm
[anvil_zksync-gen-0] Generic error: Block #67399772 from fork=https://mainnet.era.zksync.io/ is using unsupported protocol version `29`. anvil-zksync only supports the following versions: 26, 27, 28.
Error: AnvilGeneric(GenericError { message: "Block #67399772 from fork=https://mainnet.era.zksync.io/ is using unsupported protocol version `29`. anvil-zksync only supports the following versions: 26, 27, 28." })
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

πŸ“ Description

After installing anvil, and trying to run tests, you get the above error.

πŸ”„ Reproduction Steps

cd system-contracts
yarn install-anvil
yarn test-node

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions