-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
refactor(protocol): remove gasUsed and parentGasUsed #14582
refactor(protocol): remove gasUsed and parentGasUsed #14582
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
I am out of the loop, why are we removing these? |
Previously proving fees are calculated based on gas used * fee per gas, now proving fee is decided off-chain, so gas used is no longer used on chain. |
Sounds good, in the client is it no longer necessary to use // its valid
if parent.GasUsed == parentGasUsed && parent.Hash() == parentHash && blockHash == block.Hash() {
return true, nil
} i can remove all parentGasUsed checks here, or we should keep them still offchain? |
You can remove them. |
3357dad
into
prover_abstraction_and_protocol_simplification
No description provided.