This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
eosjs: missing table_def.indexes #493
Labels
documentation
Requires attention of documentation team. e.g. documentation is expected to be generated.
I'm trying to deploy contract using eosjs. setcode part is working, but I'm having trouble with setabi. When I deploy abi without any tables, it works. But if there will be at least one table, the error
Error: missing table_def.indexes (type=index_def[])
appears`async function deploy(deployer, contract) {
const buffer = new Serialize.SerialBuffer({
textEncoder: api().textEncoder,
textDecoder: api().textDecoder,
});
}`
contract is object containing abi and wasm for contract
eosjs version is 20.0.0-beta3
The text was updated successfully, but these errors were encountered: