Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bug creating batches #119

Copy link
Copy link
@djmbritt

Description

@djmbritt
Issue body actions

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.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.