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

refactor: use PSDK methods to show nonce #800

Merged
merged 27 commits into from
Nov 14, 2024

Conversation

shahin-hq
Copy link
Contributor

@shahin-hq shahin-hq commented Nov 7, 2024

Summary

As a part of: https://app.clickup.com/t/86dv24pw0
Companion PR: ArdentHQ/platform-sdk#110

Checklist

  • My changes look good in both light AND dark mode
  • The change is not hardcoded to a single network, but has multi-asset in mind
  • I checked my changes for obvious issues, debug statements and commented code
  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

Copy link

vercel bot commented Nov 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
arkvault ✅ Ready (Inspect) Visit Preview Nov 12, 2024 4:14pm

isMultiSignatureRegistration: () => false,
isSent: () => true,
isTransfer: () => true,
isTransfer: () => true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed the duplicate

@@ -239,9 +238,7 @@ describe("UnlockTokensModal", () => {
await act(() => vi.runOnlyPendingTimers());

if (expectedOutcome === "success") {
await waitFor(() => {
expect(screen.findByTestId("TransactionId")).resolves.toBeVisible();
});
Copy link
Contributor Author

@shahin-hq shahin-hq Nov 12, 2024

Choose a reason for hiding this comment

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

simplified wait logic

@@ -50,6 +50,7 @@ const ipfsTransactionFixture = {
isVote: () => false,
isVoteCombination: () => false,
memo: () => null,
nonce: () => BigNumber.make(6),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nothing fishy, using 6 to avoid snapshot updates

@shahin-hq shahin-hq marked this pull request as ready for review November 12, 2024 16:23
@shahin-hq shahin-hq mentioned this pull request Nov 13, 2024
6 tasks
@ItsANameToo ItsANameToo merged commit 98683e4 into develop Nov 14, 2024
39 checks passed
@ItsANameToo ItsANameToo deleted the refactor/nonce-extraction branch November 14, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants