Skip to content

zkforge create: confusing error message when deploying a contract #80

Closed
@tmrtx

Description

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

No response

What command(s) is the bug in?

zkforge create

Operating System

Linux

Describe the bug

After installing foundry-zksync and verifying that everything works with zkcast (balance, get-price, etc.). I've ran zkforge init and zkforge contract deploy cmd:
zkforge create src/Counter.sol:Counter --rpc-url https://zksync2-testnet.zksync.dev:443 --private-key "PK"

The error I get is confusing, not sure where to go from here

[⠒] Compiling...
[⠆] Installing solc version 0.8.13
[⠑] Successfully installed solc 0.8.13
No files changed, compilation skipped
Error:
(code: -32601, message: Method not found, data: None)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions