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

Add nonce key param on all wallets #101

Merged
merged 6 commits into from
Feb 8, 2024
Merged

Conversation

0xSulpiride
Copy link
Member

Description

  • Added nonce key param for SimpleAccount and ZeroDev wallets

Types of changes

What types of changes does your code introduce?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Further comments (optional)

Copy link
Member

@ch4r10t33r ch4r10t33r left a comment

Choose a reason for hiding this comment

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

Pls remove and then merge.

@@ -84,13 +84,12 @@ export class SimpleAccountAPI extends BaseAccountAPI {
return this.accountAddress;
}

async getNonce(): Promise<BigNumber> {
async getNonce(key = 0): Promise<BigNumber> {
console.log('checking nonce...');
Copy link
Member

Choose a reason for hiding this comment

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

Can we please remove the console.log?

@@ -117,13 +117,12 @@ export class ZeroDevWalletAPI extends BaseAccountAPI {
return this.accountAddress;
}

async getNonce(): Promise<BigNumber> {
async getNonce(key = 0): Promise<BigNumber> {
console.log('checking nonce...');
Copy link
Member

Choose a reason for hiding this comment

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

Please see above.

Copy link
Member

@arddluma arddluma left a comment

Choose a reason for hiding this comment

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

pls update date on the changelog and type of change in readme 🗿

CHANGELOG.md Outdated
@@ -1,5 +1,9 @@
# Changelog
## [1.4.2] - 2024-01-26
## [1.5.1] - 2024-01-26
Copy link
Member

Choose a reason for hiding this comment

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

^

@arddluma arddluma self-requested a review February 8, 2024 14:50
Copy link
Member

@arddluma arddluma left a comment

Choose a reason for hiding this comment

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

LGTM

@0xSulpiride 0xSulpiride merged commit 1d92797 into master Feb 8, 2024
6 checks passed
@0xSulpiride 0xSulpiride deleted the nonce-key-all-wallets branch February 8, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants