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(witness): branch node children decoding #200

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

j75689
Copy link
Collaborator

@j75689 j75689 commented Nov 18, 2024

Description

2024-11-15T11:22:04.646774Z DEBUG net: Session established remote_addr=69.67.149.193:60680 client_version=Geth/v1.4.15-ec318b9c/linux-amd64/go1.21.13 peer_id=0xfad8cb973aeabf53e07dfbca9f01c5d4289e35d4c4834b7754a0c54613c02d8714b308c8114e6c6556851526690ec23c42c64d39a1f79ac1afccff506456df8b total_active=100 kind=outgoing peer_enode=enode://fad8cb973aeabf53e07dfbca9f01c5d4289e35d4c4834b7754a0c54613c02d8714b308c8114e6c6556851526690ec23c42c64d39a1f79ac1afccff506456df8b@69.67.149.193:60680
thread 'Tree Task' panicked at crates/trie/trie/src/witness.rs:352:40:
cannot convert a slice of length 30 to FixedBytes<32>
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2024-11-15T11:22:07.120954Z DEBUG consensus::parlia: Latest finalized header finalized_header_number=44029657 finalized_header_hash=0x3c2790f4b2ed6436cd34defc2a3cc3d3625dfb2cb400015dbff7f4c321511380
2024-11-15T11:22:07.121006Z DEBUG consensus::parlia: Latest unsafe header latest_unsafe_header_number=44029659 latest_unsafe_header_hash=0xb0ca4fa5824da3cc6ef3d1cca3bd85dab96a53087a72a159043835b2440f3b37
2024-11-15T11:22:09.006478Z ERROR consensus::parlia: Fork choice update response failed err=RecvError(())
2024-11-15T11:22:09.006499Z ERROR ChainOrchestrator::poll: engine::tree: Fatal error
2024-11-15T11:22:09.006526Z DEBUG reth::cli: Event: FatalError
2024-11-15T11:22:09.006535Z ERROR reth::cli: Fatal error in consensus engine
2024-11-15T11:22:09.006603Z ERROR reth::cli: shutting down due to error
2024-11-15T11:22:14.006823Z DEBUG reth::cli: tokio runtime shutdown timed out err=timed out waiting on channe

Rationale

When encountering an invalid block, a witness is generated. However, an error occurs during this process, causing the node to stop functioning.

The root cause of this issue has been fixed in the upstream version -> paradigmxyz/reth#11599

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

Potential Impacts

  • add potential impacts for other components here
  • ...

@j75689 j75689 changed the title fix(witness): branch node children decoding (#11599) fix(witness): branch node children decoding Nov 18, 2024
@j75689 j75689 added this pull request to the merge queue Nov 19, 2024
Merged via the queue into bnb-chain:develop with commit 331be71 Nov 19, 2024
47 checks passed
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