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

feat: add getMessageByNonce to Provider #2174

Merged
merged 12 commits into from
Apr 29, 2024
Merged

Conversation

Dhaiwat10
Copy link
Member

@Dhaiwat10 Dhaiwat10 commented Apr 26, 2024

Summary

This PR adds a new method called getMessageByNonce to the Provider class which lets users retrieve a message using its nonce.

Closes #1538

@Dhaiwat10 Dhaiwat10 self-assigned this Apr 26, 2024
@Dhaiwat10 Dhaiwat10 added the feat Issue is a feature label Apr 26, 2024
@Dhaiwat10 Dhaiwat10 marked this pull request as ready for review April 26, 2024 07:36
Copy link
Contributor

github-actions bot commented Apr 26, 2024

This PR is published in NPM with version 0.0.0-pr-2174-20240426082548

Copy link
Contributor

Coverage Report:

Lines Branches Functions Statements
79.07%(+0%) 68.9%(-0.02%) 77.14%(+0.03%) 79.2%(+0.01%)
Changed Files:
Ok File (✨=New File) Lines Branches Functions Statements
🔴 packages/account/src/providers/provider.ts 68.18%
(+0.08%)
55.55%
(-0.07%)
76.54%
(+0.29%)
68.4%
(+0.07%)
🔴 packages/account/src/providers/generated/operations.ts 94.44%
(+0.09%)
100%
(+0%)
82.92%
(+0.42%)
94.89%
(+0.08%)

@Dhaiwat10 Dhaiwat10 enabled auto-merge (squash) April 29, 2024 19:57
Copy link
Member

@arboleya arboleya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done! :shipit:

@Dhaiwat10 Dhaiwat10 merged commit 4aca0b8 into master Apr 29, 2024
19 checks passed
@Dhaiwat10 Dhaiwat10 deleted the dp/getmessagebynonce-new-2 branch April 29, 2024 21:37
"@fuel-ts/account": patch
---

feat: add `getMessageByNonce` to `Provider`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed this initially, but it should've been a patch because it doesn't break anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement getMessageByNonce or similar
4 participants