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

Use single index argument for each wallet #488

Merged
merged 3 commits into from
Mar 5, 2025

Conversation

popenta
Copy link
Collaborator

@popenta popenta commented Feb 24, 2025

No description provided.

@popenta popenta self-assigned this Feb 24, 2025
@popenta popenta marked this pull request as draft February 24, 2025 13:50
Base automatically changed from estimate-gas-by-default to feat/next March 4, 2025 12:27
@popenta popenta marked this pull request as ready for review March 4, 2025 12:53
danielailie
danielailie previously approved these changes Mar 4, 2025
andreibancioiu
andreibancioiu previously approved these changes Mar 4, 2025
Copy link
Contributor

@andreibancioiu andreibancioiu left a comment

Choose a reason for hiding this comment

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

Can also be:

--sender-wallet-index
--guardian-wallet-index
--relayer-wallet-index

A bit longer, but precise.

@@ -177,10 +165,10 @@ def add_wallet_args(args: list[str], sub: Any):
help="🔐 bool flag for signing transaction using ledger",
)
sub.add_argument(
"--ledger-address-index",
"--index",
Copy link
Contributor

Choose a reason for hiding this comment

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

This is somehow ambiguous. Maybe --sender-index?

For guardian & relayer is more obvious what index means.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

renamed as follows:

--sender-wallet-index
--guardian-wallet-index
--relayer-wallet-index

@popenta popenta dismissed stale reviews from andreibancioiu and danielailie via 2bf7b75 March 4, 2025 18:24
@popenta popenta merged commit 156aa74 into feat/next Mar 5, 2025
10 of 12 checks passed
@popenta popenta deleted the use-one-index-arg-for-any-wallet branch March 5, 2025 08:18
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