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

hive: investigate devp2p/discv4 RlpTypeMismatch error #650

Closed
jangko opened this issue May 12, 2021 · 3 comments
Closed

hive: investigate devp2p/discv4 RlpTypeMismatch error #650

jangko opened this issue May 12, 2021 · 3 comments
Labels

Comments

@jangko
Copy link
Contributor

jangko commented May 12, 2021

[8cf14ec1] /nimbus-eth1/nimbus/nimbus.nim(221) nimbus
[8cf14ec1] /nimbus-eth1/nimbus/nimbus.nim(63) start
[8cf14ec1] /nimbus-eth1/nimbus/conf_utils.nim(40) importRlpBlock
[8cf14ec1] /nimbus-eth1/vendor/nim-eth/eth/rlp.nim(379) readImpl
[8cf14ec1] /nimbus-eth1/vendor/nim-eth/eth/rlp.nim(354) readImpl
[8cf14ec1] /nimbus-eth1/vendor/nim-eth/eth/rlp.nim(379) readImpl
[8cf14ec1] /nimbus-eth1/vendor/nim-eth/eth/rlp.nim(291) readImpl
[8cf14ec1] /nimbus-eth1/vendor/nim-eth/eth/rlp.nim(189) toInt
[8cf14ec1] Error: unhandled exception: The RLP contains a larger than expected Int value [RlpTypeMismatch]

@jangko jangko added the Hive label May 12, 2021
@jangko
Copy link
Contributor Author

jangko commented May 13, 2021

this error also appears in devp2p/eth and ethereum/sync

@jangko
Copy link
Contributor Author

jangko commented May 14, 2021

Turn out, the V value of Transaction in rlp encoded blocks is larger than 255.
It means they are using big ChainID. The reason for this error is our Transaction object is using byte for V.
Geth is taking it to the extreme, using BigInt. and Nimbus is on the other extreme, using only one byte.
We will solve this as part of EIP2930 implementation.

@jangko
Copy link
Contributor Author

jangko commented May 17, 2021

closing, fixed by #661

@jangko jangko closed this as completed May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant