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: remove sub-account support for light account #185

Merged

Conversation

avasisht23
Copy link
Contributor

@avasisht23 avasisht23 commented Oct 30, 2023

PR-Codex overview

This PR focuses on updating the args parameter in the createAccount function in utils.ts to always use 0n as the second argument, indicating that the light account does not support sub-accounts.

Detailed summary

  • Updated args parameter in createAccount function to use [await this.owner.getAddress(), 0n] instead of [await this.owner.getAddress(), this.index]

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@avasisht23 avasisht23 requested review from adam-alchemy and howydev and removed request for rthomare, dancoombs and mokok123 October 30, 2023 19:05
Copy link
Collaborator

@howydev howydev left a comment

Choose a reason for hiding this comment

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

small q else lgtm

@avasisht23 avasisht23 force-pushed the 10-30-feat_remove_sub-account_support_for_light_account branch from 75eae27 to ab6a936 Compare October 31, 2023 01:19
@avasisht23 avasisht23 merged commit 8c58224 into development Oct 31, 2023
3 checks passed
@avasisht23 avasisht23 deleted the 10-30-feat_remove_sub-account_support_for_light_account branch October 31, 2023 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants