-
Notifications
You must be signed in to change notification settings - Fork 75
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
Add support for BlobTx(eip4844) for eth_signTransaction #1026
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NazariiDenha Thank you for your contribution. Can you also update the changelog entry please.
@@ -77,6 +82,35 @@ private static byte[] prependEip1559TransactionType(byte[] bytesToSign) { | |||
.array(); | |||
} | |||
|
|||
private static final char[] HEX_ARRAY = "0123456789ABCDEF".toCharArray(); | |||
public static String bytesToHex(byte[] bytes) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use Bytes toHexString
as that is used extensively in the code.
PR Description
Fixed Issue(s)
Documentation
doc-change-required
label to this PR if updates are required.Changelog
Testing