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

Engine API: fix blockValue endianness conversion #12018

Merged
merged 6 commits into from
Feb 21, 2023
Merged

Conversation

terencechain
Copy link
Member

@terencechain terencechain commented Feb 20, 2023

To convert the received blockValue from EL through engine-API, we should revert the byte order for endianness conversion. This was discovered by the local and builder payload selection. Hence we add a useful log to indicate such an event happening in the future: Proposer: using local execution payload because higher value

Also note that TestClient_HTTP was previously skipped. This PR fixed the entire test and unskip it

@terencechain terencechain changed the title Propsoer RPC: Log values when using default and revert endianess Engine API: fix blockValue endianness conversion Feb 21, 2023
@terencechain terencechain self-assigned this Feb 21, 2023
@terencechain terencechain marked this pull request as ready for review February 21, 2023 20:59
@terencechain terencechain requested a review from a team as a code owner February 21, 2023 20:59
@terencechain terencechain merged commit 0c52064 into develop Feb 21, 2023
@delete-merged-branch delete-merged-branch bot deleted the log-block-values branch February 21, 2023 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High High priority item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants