-
Notifications
You must be signed in to change notification settings - Fork 449
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 shard blob tx gas calculations #5596
Conversation
8aef27a
to
69f61e4
Compare
66c66e9
to
5c907d8
Compare
29a01a3
to
bb81773
Compare
2a52b0b
to
5134688
Compare
3ccb719
to
87c9443
Compare
8977b9a
to
ef60301
Compare
87c9443
to
a3bab50
Compare
f57fc65
to
915ede6
Compare
645438a
to
9913404
Compare
57a6811
to
6105dfb
Compare
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.
Awesome ❤️
src/Nethermind/Nethermind.Consensus/Processing/BlockProcessor.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Consensus/Validators/BlockValidator.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Consensus/Validators/BlockValidator.cs
Outdated
Show resolved
Hide resolved
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.
Added a few comments, most of them minor
if (itemsRemaining > 0 && | ||
rlpStream.PeekPrefixAndContentLength().ContentLength == Keccak.Size) | ||
{ | ||
blockHeader.WithdrawalsRoot = rlpStream.DecodeKeccak(); | ||
|
||
if (itemsRemaining == 2 && rlpStream.Position != headerCheck) | ||
if (itemsRemaining == 3 && rlpStream.Position != headerCheck) |
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.
@Demuirgos be careful after merging this PR and 4788
src/Nethermind/Nethermind.Evm/TransactionProcessing/TransactionProcessor.cs
Show resolved
Hide resolved
src/Nethermind/Nethermind.Consensus/Validators/BlockValidator.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Merge.Plugin/BlockProduction/PostMergeBlockProducer.cs
Show resolved
Hide resolved
3e6df34
to
0830df3
Compare
0830df3
to
fbdf0a9
Compare
Adds data gas calculations
Changes
Types of changes
What types of changes does your code introduce?
Testing
Requires testing
If yes, did you write tests?
Notes on testing
Requires Dencun activated to test