Skip to content

CLI Verification Doesn't Seem to actually verify #10

@Equious

Description

@Equious

I scraped all the complexity out of what I was doing

forge verify-contract 0x67B3BA85c3613C4fE78Bbc89FD411790fe81a303 src/MockToken.sol:MockToken --chain-id 627 --verifier-url https://block-explorer-api.testnet.battlechain.com/api --verifier custom --etherscan-api-key "1234" --rpc-url https://testnet.battlechain.com:3051

When trying to verify this deployed MockToken contract, I receive:

Submitting verification for [src/MockToken.sol:MockToken] 0x67B3BA85c3613C4fE78Bbc89FD411790fe81a303.
Submitted contract for verification:
        Response: `OK`
        GUID: `6b07e832-bdba-4c7f-87b6-949158c004ef`
        URL: https://block-explorer-api.testnet.battlechain.com/address/0x67b3ba85c3613c4fe78bbc89fd411790fe81a303

However the explorer doesn't indicate any verification of the contract:

https://explorer.testnet.battlechain.com/address/0x67B3BA85c3613C4fE78Bbc89FD411790fe81a303#contract

Image

Metadata

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