Skip to content

Update geth dependency to 1.17.1#756

Open
simonlechner wants to merge 3 commits intomainfrom
simon/eth1.17.1
Open

Update geth dependency to 1.17.1#756
simonlechner wants to merge 3 commits intomainfrom
simon/eth1.17.1

Conversation

@simonlechner
Copy link
Contributor

This PR updates the geth dependency to 1.17.1. The stateDB interface has been extended by the isNewContract function and the selfdestruct6780 has been removed.
The ethereum tests runner has been updated now making use of a feature that is not supported by carmen, these checks are simply ignored.

LuisPH3
LuisPH3 previously approved these changes Mar 23, 2026
Copy link
Contributor

@LuisPH3 LuisPH3 left a comment

Choose a reason for hiding this comment

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

The changes proposed update Carmen, tosca and go-ethereum dependecies.
new geth is 1.17.1

knownMissingAPIs = namespaceMap{
"eth": {
"SendRawTransactionSync": struct{}{},
"GetStorageValues": struct{}{},
Copy link
Contributor

Choose a reason for hiding this comment

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

require.NoError(t, st.CheckFailure(t, err))
err = st.CheckFailure(t, err)
if err != nil && strings.Contains(err.Error(),
"post-state root does not match the pre-state root, indicates an error in the test:") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a bit unsatisfying. This error does not sound like it is related to the lack of support of the intermediate root. Is there a way to link this up more clearly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the skipping and used the block root rather than the intermediate root.

@simonlechner
Copy link
Contributor Author

The last commit fixes nil values for the storage keys in the access list. This has been fixed in geth in #33976 which is not part of 1.17.1.

@codecov
Copy link

codecov bot commented Mar 26, 2026

Codecov Report

❌ Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
gossip/evmstore/statedb_logger.go 0.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
ethapi/api.go 49.23% <100.00%> (+0.10%) ⬆️
evmcore/evm.go 91.37% <100.00%> (-0.15%) ⬇️
gossip/evmstore/carmen.go 81.00% <100.00%> (+2.35%) ⬆️
gossip/evmstore/statedb_logger.go 78.00% <0.00%> (ø)

... and 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

3 participants