eosjs icon indicating copy to clipboard operation
eosjs copied to clipboard

failed to serialize the context_free_actions

Open crazybits opened this issue 3 years ago • 2 comments

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

crazybits avatar Nov 24 '20 05:11 crazybits