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

Create input submit transaction interface type #165

Merged
merged 2 commits into from
Nov 2, 2023
Merged

Conversation

0xmaayan
Copy link
Collaborator

@0xmaayan 0xmaayan commented Nov 2, 2023

Description

  • moving the input arguments into an interface
  • flatten interface, removed unneeded secondarySignerAuthenticators layer

Test Plan

Related Links

Comment on lines 312 to 315
secondarySignerAuthenticators?: {
feePayerAuthenticator?: AccountAuthenticator;
additionalSignersAuthenticators?: Array<AccountAuthenticator>;
};
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a little weird now that i'm looking at it that, secondary signers, contains fee payer and additional signers.

We may want to flatten this to two top level optionals. (Or rename the outside additional, and the internal one secondary which matches the API)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

agreed. ill flatten it

@0xmaayan 0xmaayan enabled auto-merge (squash) November 2, 2023 18:28
@0xmaayan 0xmaayan merged commit 2bfef08 into main Nov 2, 2023
10 checks passed
@0xmaayan 0xmaayan deleted the input_submit_data branch November 2, 2023 18:31
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.

2 participants