-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
# Conflicts: # package.json # pnpm-lock.yaml
…refactor/nonce-extraction
…refactor/nonce-extraction
isMultiSignatureRegistration: () => false, | ||
isSent: () => true, | ||
isTransfer: () => true, | ||
isTransfer: () => true, |
There was a problem hiding this comment.
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(); | |||
}); |
There was a problem hiding this comment.
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), |
There was a problem hiding this comment.
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
Summary
As a part of: https://app.clickup.com/t/86dv24pw0
Companion PR: ArdentHQ/platform-sdk#110
Checklist