Skip to content

While running the script, I get: LibraryError: RPC: starknet_getClassAt with params {"block_id":"pending","contract_address":"[contract_address]"} #3

@thomasmorice

Description

@thomasmorice

Full error:
LibraryError: RPC: starknet_getClassAt with params {"block_id":"pending","contract_address":"[contract_address]"} 20: Contract not found: undefined at fixStack (/Users/mr.t/Code/upgrade-v0-account-main/node_modules/starknet/dist/index.mjs:2351:18) at new CustomError (/Users/mr.t/Code/upgrade-v0-account-main/node_modules/starknet/dist/index.mjs:3125:7) at new LibraryError (:2:34) at errorHandler (/Users/mr.t/Code/upgrade-v0-account-main/node_modules/starknet/dist/index.mjs:3502:5) at /Users/mr.t/Code/upgrade-v0-account-main/node_modules/starknet/dist/index.mjs:3521:5 at asyncFunctionResume (native:1:1) at promiseReactionJobWithoutPromiseUnwrapAsyncContext (native:1:1) at promiseReactionJob (native:1:1) error: script "upgrade" exited with code 1

I wonder if it's because the address contains uppercase letters which appears in the logs as lowercase?
The contract address is the one copied from Argent wallet, verified multiple times

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