effectai / effect-js

JavaScript Library to access and develop dApps on Effect Network.
https://effect.network
Other
57 stars 3 forks source link

Claim bug #117

Open djmbritt opened 4 months ago

djmbritt commented 4 months ago

There is an issue when trying to do a claim() transaction. The following error appears:

src/actions/vaccount/claim.test.ts:
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: transaction must have at least one authorization
      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)
✗ Claim > Should throw when no payment is pending [874.53ms]

It seems very similair to the other error we were getting not too long ago where the contract was not deployed yet.