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

Support automated account creation for sponsored transactions #280

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

0xmaayan
Copy link
Collaborator

@0xmaayan 0xmaayan commented Feb 8, 2024

Description

AIP-52 introduced automated account creation for sponsored transactions. This PR supports this change by if the transaction is a sponsored transaction, check the main signer chain info. If it is not found, assign the sequence number to 0.

Test Plan

pnpm test

Related Links

@0xmaayan 0xmaayan requested review from davidiw and CapCap February 8, 2024 16:49
@0xmaayan 0xmaayan requested a review from a team as a code owner February 8, 2024 16:49
@0xmaayan 0xmaayan force-pushed the sponsored_txn_uncreated_account branch 2 times, most recently from c7d7cbb to 605c6b1 Compare February 8, 2024 16:53

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@0xmaayan 0xmaayan force-pushed the sponsored_txn_uncreated_account branch from 605c6b1 to 2be5c0a Compare February 8, 2024 18:04
@gregnazario gregnazario merged commit ec9b1ed into main Feb 8, 2024
7 checks passed
@gregnazario gregnazario deleted the sponsored_txn_uncreated_account branch February 8, 2024 18:16
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.

None yet

2 participants