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

fix: prefix 0s at the start fo the private key if needed #98

Conversation

ElasticBottle
Copy link
Contributor

@ElasticBottle ElasticBottle commented Nov 12, 2024

PR-Codex overview

This PR focuses on modifying the handling of privateKey in the EmbeddedWallet.Misc.cs file and commenting out a test method in the Thirdweb.Utils.Tests.cs file.

Detailed summary

  • In EmbeddedWallet.Misc.cs:

    • Added a check to insert "00" at the second position of privateKey if its length is 64.
  • In Thirdweb.Utils.Tests.cs:

    • Commented out the test method IsEip155Enforced_ReturnsTrue_WhenChainIs842.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@0xFirekeeper 0xFirekeeper merged commit bde6eaf into main Nov 12, 2024
1 check failed
@0xFirekeeper 0xFirekeeper deleted the winston/fix-private-key-migration-error-for-pkey-starting-with-00s branch November 12, 2024 12:54
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