We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The return of an executions does not contain enough information. If it’s triggered by the block, what block number does the workflow triggered?
AvaProtocol/ava-sdk-js#45
npx jest tests/triggerWorkflow.test.ts -t "trigger for block type should succeed"
Current result: expect(executions2.result[0].triggerMetadata?.blockNumber).toEqual( blockNumber + 5 );
The text was updated successfully, but these errors were encountered:
The return of an executions does not contain enough information.
It contains all the information in the triggermetadata. I fixed the assertion https://github.com/AvaProtocol/ava-sdk-js/pull/46/files#diff-69d50d249b3bf328b802a6d8cffdc6fd474a0fe1e02555dd3deee2d1f25c0202R103-R106
Other information such as type etc is also in there. Notice the assertion
Sorry, something went wrong.
No branches or pull requests
The return of an executions does not contain enough information. If it’s triggered by the block, what block number does the workflow triggered?
AvaProtocol/ava-sdk-js#45
Current result:
expect(executions2.result[0].triggerMetadata?.blockNumber).toEqual(
blockNumber + 5
);
The text was updated successfully, but these errors were encountered: