Skip to content

Can't run etherscan autogenerated scripts #66

@critesjosh

Description

@critesjosh

I am trying to verify a contract with the etherscan plugin.

When running the autogenerated receiptStatus.ts script, passing in my API key and receipt id, is see this error message:

{"stack":"Error: Failed to execute 'postMessage' on 'Window': (apikey, guid) => __awaiter(void 0, void 0, void 0, function* () {\r\n    return yield remix.call('etherscan', 'r...<omitted>...}) could not be cloned.\n    at o.send (https://yann300.github.io/remix-script-runner/script-runner.js:2:137660)\n    at Object.<anonymous> (https://yann300.github.io/remix-script-runner/script-runner.js:2:147974)\n    at Generator.next (<anonymous>)\n    at o (https://yann300.github.io/remix-script-runner/script-runner.js:2:1253089)"} 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions