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

Enable ProofSizeExt when estimating gas and emit ReportRefund when PoV gas is the effective gas #235

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

RomarQ
Copy link

@RomarQ RomarQ commented Nov 26, 2024

This PR fixes the gas calculation when using tracing or eth_estimateGas/eth_call RPC's.

Important notes:

If the estimated proof size is lower than the proof_size obtained from the host-function, the estimated proof size is used. We have some underestimations that need to be identified an fixed in a followup pull request.

@RomarQ RomarQ merged commit 5634981 into moonbeam-polkadot-stable2407 Nov 27, 2024
RomarQ added a commit that referenced this pull request Dec 2, 2024
manuelmauro pushed a commit that referenced this pull request Feb 11, 2025
manuelmauro pushed a commit that referenced this pull request Feb 12, 2025
manuelmauro pushed a commit that referenced this pull request Feb 17, 2025
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.

2 participants