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