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

use consensus spec v1.3.0-rc.3 test vectors #4645

Merged
merged 1 commit into from
Feb 21, 2023
Merged

use consensus spec v1.3.0-rc.3 test vectors #4645

merged 1 commit into from
Feb 21, 2023

Conversation

tersec
Copy link
Contributor

@tersec tersec commented Feb 21, 2023

https://github.com/ethereum/consensus-specs/releases/tag/v1.3.0-rc.3
https://github.com/ethereum/consensus-spec-tests/releases/tag/v1.3.0-rc.3

Mostly minimal changes included, though it doesn't implement ethereum/consensus-specs#3244 in any meaningful way, just adds the SSZ objects to pass the tests.

@tersec tersec enabled auto-merge (squash) February 21, 2023 09:31

# Extra payload fields
block_hash*: Eth2Digest # Hash of execution block
transactions*: List[Transaction, MAX_TRANSACTIONS_PER_PAYLOAD]
withdrawals*: List[Withdrawal, MAX_WITHDRAWALS_PER_PAYLOAD]
excess_data_gas*: UInt256 # [New in EIP-4844]
Copy link
Contributor

Choose a reason for hiding this comment

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

new in Deneb

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will fix in next PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also, deliberately didn't update the https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.2/specs/eip4844/beacon-chain.md#executionpayload etc URLs for these. So they mark it as not-yet-reviewed for actually being 100% consistent with rc.3, just enough to pass tests. So would not have updated them to rc.3 without changing that.

Deliberately didn't update the rest of the URLs either, even the easy ones. That was always going to be a separate PR, to keep the noisy/invasive changes also completely semantics-change-free, i.e. why all those PRs have descriptions along the lines of comments/markdown only. This makes enough changes I wanted people to be able to see what it did and not be buried in hundreds of lines of comment changes.

That's part of the purpose/value of these -- it's okay to make these partial updates, too. In this case, it's true that I'd have preferred to update the wording to Deneb at the same time since it's no more invasive once one is moving the line as a whole.

Copy link
Contributor Author

Choose a reason for hiding this comment

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


# Extra payload fields
block_hash*: Eth2Digest # Hash of execution block
transactions_root*: Eth2Digest
withdrawals_root*: Eth2Digest
excess_data_gas*: UInt256 # [New in EIP-4844]
Copy link
Contributor

Choose a reason for hiding this comment

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

Deneb

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will fix in next PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tersec tersec merged commit 68cb9fe into unstable Feb 21, 2023
@tersec tersec deleted the ITO branch February 21, 2023 12:58
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