Skip to content

Comments

Fix pkey decoding#1464

Merged
naps62 merged 3 commits intomainfrom
fix-pkey
Oct 9, 2025
Merged

Fix pkey decoding#1464
naps62 merged 3 commits intomainfrom
fix-pkey

Conversation

@naps62
Copy link
Member

@naps62 naps62 commented Oct 9, 2025

private key decoding had some incorrect logic that resulted in a runtime error

Copilot AI review requested due to automatic review settings October 9, 2025 17:46
@naps62 naps62 added the B-bugfix Something is working again label Oct 9, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes private key decoding logic that was causing runtime errors by correcting the byte-to-string conversion process and addressing import organization.

  • Fixed private key decoding to properly convert bytes to string before parsing as B256
  • Reorganized imports to follow consistent ordering patterns
  • Added temporary debugging code for development network detection

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
crates/wallets/src/wallets/private_key.rs Fixed private key decoding logic and reorganized imports
crates/rpc/src/methods/send_transaction.rs Reorganized imports and added temporary debugging code

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@naps62 naps62 enabled auto-merge (squash) October 9, 2025 18:06
@naps62 naps62 merged commit 862f355 into main Oct 9, 2025
7 checks passed
@naps62 naps62 deleted the fix-pkey branch October 9, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-bugfix Something is working again

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant