Skip to content

Conversation

@fab-10
Copy link
Contributor

@fab-10 fab-10 commented Jan 30, 2023

PR description

Fixed Issue(s)

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if
    updates are required.

Changelog

Copy link
Contributor

@shemnon shemnon left a comment

Choose a reason for hiding this comment

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

MainnetTransactionValidator.java nonce check needs to be restored.

Other than that LGTM.

protocolSpec.getGasCalculator().dataGasCost(transaction.getBlobCount());

currentGasUsed += transaction.getGasLimit() - result.getGasRemaining() - dataGasUsed;
currentGasUsed += transaction.getGasLimit() - result.getGasRemaining();
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm thinking DataGas wasn't the best name to use in the spec, not that we can control it anymore.

previousNonce,
sender.getNonce());

final Wei transactionGasPrice =
Copy link
Contributor

Choose a reason for hiding this comment

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

Did moving this to the other side of the trace really have an impact? Can it be rolled back for clarity?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My intent was to move the log of the nonce just after the statement that changed it, no behavior change of course

}
}

if (transaction.getNonce() == MAX_NONCE) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to stay.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed since it is a duplication, the check is present at line 156

@fab-10 fab-10 force-pushed the 4844-state-root-fix branch from 0b79a28 to 46fb6c4 Compare January 31, 2023 17:47
@fab-10 fab-10 merged commit f20d064 into hyperledger:eip-4844-interop Jan 31, 2023
@fab-10 fab-10 deleted the 4844-state-root-fix branch January 31, 2023 18:09
fab-10 added a commit to fab-10/besu that referenced this pull request Feb 1, 2023
jflo pushed a commit to jflo/besu that referenced this pull request May 9, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 10, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 15, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 16, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 17, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 18, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 22, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 22, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 24, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 24, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 31, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 31, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 31, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request May 31, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request Jun 5, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request Jun 5, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request Jun 7, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request Jun 7, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 13, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 13, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 14, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 14, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 15, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 15, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 16, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 16, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 21, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 21, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 29, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 29, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 30, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jun 30, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jul 5, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit that referenced this pull request Jul 5, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request Jul 20, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
jflo pushed a commit to jflo/besu that referenced this pull request Jul 20, 2023
Signed-off-by: Fabio Di Fabio <[email protected]>
(cherry picked from commit f20d064)
(cherry picked from commit bcd9735d1605f4fffef57bec4af95bfae818ac7e)
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