-
Notifications
You must be signed in to change notification settings - Fork 839
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
[4844] wip - added versioned hashes checking #5520
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Adding preliminary SSZ encoding/decoding of Transaction Network Payload * Adding ssz snapshot jar, delete it before moving to main also removing licenses.... Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> (cherry picked from commit bd147e0) (cherry picked from commit 4e19926eb7b85fda7d40a0f565d46c0d9b27075d)
Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> (cherry picked from commit 8e3a912) (cherry picked from commit c325682b0f8acadc411acd6daafb55f5941785a0)
* json container for getting blob bundles * spdx headers, formatting, npe fix Signed-off-by: Justin Florentine <justin+github@florentine.us> Co-authored-by: Jason Frame <jason.frame@consensys.net> Co-authored-by: garyschulte <garyschulte@gmail.com> (cherry picked from commit 5fa9433) (cherry picked from commit af8466f1561b4d5995bfa85782acee0644c3f879)
merge of hyperledger#4992 into interop feature branch Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> (cherry picked from commit 949e3fe) (cherry picked from commit 9734c983ce00bda161434506688f12ee07bbd820)
…gs (hyperledger#5003) * Adding trace logs to mention ssz transaction encoding/deconding in logs * ssz encoding should go int keccak256 of blob transaction Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> (cherry picked from commit d92909f) (cherry picked from commit 42ba8192139c1f4fabad40e3085e158ca99a9156)
Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com> (cherry picked from commit 6085b23) (cherry picked from commit d2d761b389ea811a7d62b26c6af7e74bb1c15564)
* adding test for nonblob blob transaction * Adapt hash and network size computation for blob txs Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Co-authored-by: Jiri Peinlich <jiri.peinlich@gmail.com> Co-authored-by: Justin Florentine <justin+github@florentine.us> Signed-off-by: Justin Florentine <justin+github@florentine.us> Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> (cherry picked from commit fd427d4) (cherry picked from commit 28e8d18130cebe1e2835e299f6df2079f2351925)
* adding test for nonblob blob transaction * Do not add consumed data gas to gas used in the transaction receipt Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Co-authored-by: Jiri Peinlich <jiri.peinlich@gmail.com> (cherry picked from commit b13583a) (cherry picked from commit 5993c03220891b2d233c6957fb2fc47b5685de71)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> (cherry picked from commit f20d064) (cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> (cherry picked from commit 94e1141) (cherry picked from commit 95e23f341006ec98898643610716f24b5725ec35)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> (cherry picked from commit 031db82) (cherry picked from commit de9875b00e72c018603885fa3c68142e828d9a06)
…ashes validation (hyperledger#5071) * Fix: read blobs as raw bytes not as unit256 Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Do not load a trusted setup more than once Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Update evm/src/main/java/org/hyperledger/besu/evm/precompile/KZGPointEvalPrecompiledContract.java Co-authored-by: Justin Florentine <justin+github@florentine.us> Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Ignore tests that fails due to mixing c-kzg presets Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Revert failing unit test Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> --------- Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Co-authored-by: Justin Florentine <justin+github@florentine.us> (cherry picked from commit cd67140) (cherry picked from commit 25691b172113d4410fe55adc9271aa4a093f419a)
…s available (hyperledger#5091) Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> (cherry picked from commit 38c3988) (cherry picked from commit 09849be01c9aa66d9733bd2f847825c988deb891)
Signed-off-by: Justin Florentine <justin+github@florentine.us> (cherry picked from commit c8d18188bb5e6087c84ff446b086e74ef64cb652)
Signed-off-by: Justin Florentine <justin+github@florentine.us> (cherry picked from commit 38546f87e260da38de0a27652c7f4f85c42b9ad9)
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
* Adding preliminary SSZ encoding/decoding of Transaction Network Payload * Adding ssz snapshot jar, delete it before moving to main also removing licenses.... Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> (cherry picked from commit bd147e0) (cherry picked from commit 4e19926eb7b85fda7d40a0f565d46c0d9b27075d)
Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> (cherry picked from commit 8e3a912) (cherry picked from commit c325682b0f8acadc411acd6daafb55f5941785a0)
* json container for getting blob bundles * spdx headers, formatting, npe fix Signed-off-by: Justin Florentine <justin+github@florentine.us> Co-authored-by: Jason Frame <jason.frame@consensys.net> Co-authored-by: garyschulte <garyschulte@gmail.com> (cherry picked from commit 5fa9433) (cherry picked from commit af8466f1561b4d5995bfa85782acee0644c3f879)
merge of hyperledger#4992 into interop feature branch Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> (cherry picked from commit 949e3fe) (cherry picked from commit 9734c983ce00bda161434506688f12ee07bbd820)
…gs (hyperledger#5003) * Adding trace logs to mention ssz transaction encoding/deconding in logs * ssz encoding should go int keccak256 of blob transaction Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> (cherry picked from commit d92909f) (cherry picked from commit 42ba8192139c1f4fabad40e3085e158ca99a9156)
Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com> (cherry picked from commit 6085b23) (cherry picked from commit d2d761b389ea811a7d62b26c6af7e74bb1c15564)
* adding test for nonblob blob transaction * Adapt hash and network size computation for blob txs Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Co-authored-by: Jiri Peinlich <jiri.peinlich@gmail.com> Co-authored-by: Justin Florentine <justin+github@florentine.us> Signed-off-by: Justin Florentine <justin+github@florentine.us> Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> (cherry picked from commit fd427d4) (cherry picked from commit 28e8d18130cebe1e2835e299f6df2079f2351925)
* adding test for nonblob blob transaction * Do not add consumed data gas to gas used in the transaction receipt Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com> Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Co-authored-by: Jiri Peinlich <jiri.peinlich@gmail.com> (cherry picked from commit b13583a) (cherry picked from commit 5993c03220891b2d233c6957fb2fc47b5685de71)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> (cherry picked from commit 94e1141) (cherry picked from commit 95e23f341006ec98898643610716f24b5725ec35)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> (cherry picked from commit 031db82) (cherry picked from commit de9875b00e72c018603885fa3c68142e828d9a06)
…ashes validation (hyperledger#5071) * Fix: read blobs as raw bytes not as unit256 Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Do not load a trusted setup more than once Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Update evm/src/main/java/org/hyperledger/besu/evm/precompile/KZGPointEvalPrecompiledContract.java Co-authored-by: Justin Florentine <justin+github@florentine.us> Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Ignore tests that fails due to mixing c-kzg presets Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Revert failing unit test Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> --------- Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Co-authored-by: Justin Florentine <justin+github@florentine.us> (cherry picked from commit cd67140) (cherry picked from commit 25691b172113d4410fe55adc9271aa4a093f419a)
Signed-off-by: Justin Florentine <justin+github@florentine.us> (cherry picked from commit 38546f87e260da38de0a27652c7f4f85c42b9ad9)
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
…om 4844-devnet-5 Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
…ithout a to Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
macfarla
changed the title
wip - added versioned hashes checking
[4844] wip - added versioned hashes checking
May 31, 2023
jflo
approved these changes
Jun 5, 2023
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.
would you mind rebasing pls? 4844-devnet-5b has been updated from main and is passing unittests. Pr looks great and can be merged in to interop branch asap.
cherry-picked commit into #5546 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
refs #5487
still TBD whether this is added to V2 or V3.