Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug creating batches #119

Open
djmbritt opened this issue May 10, 2024 · 0 comments
Open

Bug creating batches #119

djmbritt opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@djmbritt
Copy link
Member

djmbritt commented May 10, 2024

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.

@djmbritt djmbritt added bug Something isn't working labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant