-
Notifications
You must be signed in to change notification settings - Fork 107
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
Nimbus t8n accept malicious withdrawals #1536
Comments
Hm still calculate the state root on invalid input. The confusion is that this withdrawal record comes to t8n as json. In mainnet it is parsed from rlp. What I want to test is that malicious encoding of withdrawals in block rlp throws an exception http:https://retesteth.ethdevops.io/results/log//2023-04-25-1682399235-nimbus.txt |
the t8n should report an error on malicious input
like this input
those tests are verifing what are the allowed limits for index, validatorIndex, amount, address fields. |
This already fixed, I cannot reproduce it |
Ideally this should be parsed from block rlp. but in t8n env.json defines the block input.
the test is about to see what happenes if withdrawals comes in invalid format. full test is run on hive. (where a block imported as rlp on test blockchain)
however nimbus t8n processed this input:
address is supposed to be 20 bytes.
The text was updated successfully, but these errors were encountered: