Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

failed to serialize the context_free_actions #814

@crazybits

Description

@crazybits

Version of EOSJS
eosjs@master

Describe the bug
failed to serialize the context_free_actions,looks like eosio.null has no abi on mainnet, but the eosjs try to fetch abi.

To Reproduce

await api.transact({
            actions: actions,
            context_free_actions: [{ account: "eosio.null",name: "nonce",authorization: [],data: "010f"}],
        }, { blocksBehind: 3, expireSeconds: 3600 });


err | 2020-11-24 13:34: Error: fetching abi for eosio.null: Read past end of buffer
2|app | 2020-11-24 13:34: at SerialBuffer.get
/node_modules/eosjs/src/eosjs-serialize.ts:182:15)
2|app | 2020-11-24 13:34: at SerialBuffer.getVaruint32 (
/node_modules/eosjs/src/eosjs-serialize.ts:273:28)

Desktop (please complete the following information):

  • OS: macOS Catalina

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