Skip to content

Bug creating batches #119

Description

@djmbritt

When creating a new batch we get the following error:

510 |             }
511 |             catch (error) {
512 |                 if (error.response && error.response.json) {
513 |                     const { json } = error.response;
514 |                     if (json.error && json.error.details) {
515 |                         const e = new Error(json.error.details[0].message);
                                        ^
error: assertion failure with message: batch id must be sequential
      at /home/djmbritt/Effect/sdk/node_modules/@wharfkit/session/lib/session.js:515:35
      at rejected (/home/djmbritt/Effect/sdk/node_modules/tslib/tslib.js:167:51)

510 |             }
511 |             catch (error) {
512 |                 if (error.response && error.response.json) {
513 |                     const { json } = error.response;
514 |                     if (json.error && json.error.details) {
515 |                         const e = new Error(json.error.details[0].message);
                                        ^
error: assertion failure with message: batch id must be sequential
      at /home/djmbritt/Effect/sdk/node_modules/@wharfkit/session/lib/session.js:515:35
      at rejected (/home/djmbritt/Effect/sdk/node_modules/tslib/tslib.js:167:51)

This seems to be a smart contract error?
Where the right batch_id is not picked up and then the transaction fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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