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(zk_toolbox): improved wallet handling #3058

Merged
merged 3 commits into from
Oct 10, 2024
Merged

Conversation

pompon0
Copy link
Contributor

@pompon0 pompon0 commented Oct 10, 2024

Made the tool fail with an error when wallets.yaml has parsing errors, rather than displaying "not found".
Made the tool fail when the wallets.yaml is unparseable instead of blindly overwriting it (in Localhost mode).
Made the tool check that the address actually matches the private key when parsing the config.
Made the tool check that the private key is actually a valid private key when parsing the config.
Made the code pass around Wallet, rather than weakly typed H256.

@pompon0 pompon0 requested a review from Deniallugo October 10, 2024 11:47
@pompon0 pompon0 enabled auto-merge October 10, 2024 11:53
@pompon0 pompon0 disabled auto-merge October 10, 2024 11:54
Deniallugo
Deniallugo previously approved these changes Oct 10, 2024
@Deniallugo Deniallugo enabled auto-merge October 10, 2024 12:31
@Deniallugo Deniallugo added this pull request to the merge queue Oct 10, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 10, 2024
@pompon0 pompon0 added this pull request to the merge queue Oct 10, 2024
Merged via the queue into main with commit da9f645 Oct 10, 2024
31 checks passed
@pompon0 pompon0 deleted the gprusak-testnet-registry branch October 10, 2024 13:48
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