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

fix: remove totalDifficulty #347

Merged
merged 1 commit into from
Sep 5, 2024
Merged

Conversation

avilagaston9
Copy link
Contributor

Motivation

After the merge, totalDifficulty no longer plays any role in the core protocol's operation. We were maintaining it solely to pass Hive tests.

Description

Removes totalDifficulty from our codebase.

Closes #307

@avilagaston9 avilagaston9 marked this pull request as ready for review September 5, 2024 16:00
@avilagaston9 avilagaston9 requested a review from a team as a code owner September 5, 2024 16:00
Copy link
Collaborator

@mpaulucci mpaulucci left a comment

Choose a reason for hiding this comment

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

nice!

@mpaulucci mpaulucci added this pull request to the merge queue Sep 5, 2024
Copy link
Contributor

@fmoletta fmoletta left a comment

Choose a reason for hiding this comment

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

🚀

Merged via the queue into main with commit a66dc76 Sep 5, 2024
5 checks passed
@mpaulucci mpaulucci deleted the remove-block-total-difficulty branch September 5, 2024 16:05
fmoletta added a commit that referenced this pull request Sep 23, 2024
fmoletta added a commit that referenced this pull request Sep 26, 2024
github-merge-queue bot pushed a commit that referenced this pull request Sep 26, 2024
**Motivation**

<!-- Why does this pull request exist? What are its goals? -->

While the rpc-compat tests can be made to work without the
totalDifficulty field by updating the execution api crate, the engine
tests panick as they still rely on it.
This PR aims to fix this issue (at least until the hive engine test
suite is updated) by reverting the removal of the field and using a
previous version of the execution api crate which still has this field

<!-- A clear and concise general description of the changes this PR
introduces -->
* Reverts #347 
* Updates hive rev to a version using a previous version of
execution-apis that still uses the totalDifficulty field
(lambdaclass/hive#6)

<!-- Link to issues: Resolves #111, Resolves #222 -->

Closes None, but is needed in order to run engine tests
mpaulucci pushed a commit to mpaulucci/lambda_ethereum_rust that referenced this pull request Oct 16, 2024
**Motivation**

After the merge, `totalDifficulty` no longer plays any role in the core
protocol's operation. We were maintaining it solely to pass Hive tests.

**Description**

Removes `totalDifficulty` from our codebase.

Closes lambdaclass#307
mpaulucci pushed a commit to mpaulucci/lambda_ethereum_rust that referenced this pull request Oct 16, 2024
…ass#566)

**Motivation**

<!-- Why does this pull request exist? What are its goals? -->

While the rpc-compat tests can be made to work without the
totalDifficulty field by updating the execution api crate, the engine
tests panick as they still rely on it.
This PR aims to fix this issue (at least until the hive engine test
suite is updated) by reverting the removal of the field and using a
previous version of the execution api crate which still has this field

<!-- A clear and concise general description of the changes this PR
introduces -->
* Reverts lambdaclass#347 
* Updates hive rev to a version using a previous version of
execution-apis that still uses the totalDifficulty field
(lambdaclass/hive#6)

<!-- Link to issues: Resolves lambdaclass#111, Resolves lambdaclass#222 -->

Closes None, but is needed in order to run engine tests
mpaulucci pushed a commit to mpaulucci/lambda_ethereum_rust that referenced this pull request Oct 16, 2024
…ass#566)

**Motivation**

<!-- Why does this pull request exist? What are its goals? -->

While the rpc-compat tests can be made to work without the
totalDifficulty field by updating the execution api crate, the engine
tests panick as they still rely on it.
This PR aims to fix this issue (at least until the hive engine test
suite is updated) by reverting the removal of the field and using a
previous version of the execution api crate which still has this field

<!-- A clear and concise general description of the changes this PR
introduces -->
* Reverts lambdaclass#347 
* Updates hive rev to a version using a previous version of
execution-apis that still uses the totalDifficulty field
(lambdaclass/hive#6)

<!-- Link to issues: Resolves lambdaclass#111, Resolves lambdaclass#222 -->

Closes None, but is needed in order to run engine tests
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.

Remove TotalDifficulty from RpcBlock
3 participants