Skip to content

fix(realtime): estimate gas instead of using fixed blob tx gas limit#961

Open
AnshuJalan wants to merge 1 commit into
masterfrom
realtime-estimate-gas
Open

fix(realtime): estimate gas instead of using fixed blob tx gas limit#961
AnshuJalan wants to merge 1 commit into
masterfrom
realtime-estimate-gas

Conversation

@AnshuJalan
Copy link
Copy Markdown
Collaborator

If the simulator reverts during estimation, the on-chain execution would revert too. Failing fast on RpcError::ErrorResp lets the node reorg back to the last finalized head without burning the inclusion fee.

Mirrors the existing pattern in shasta/src/l1/proposal_tx_builder.rs.

If the simulator reverts during estimation, the on-chain execution would
revert too. Failing fast on `RpcError::ErrorResp` lets the node reorg
back to the last finalized head without burning the inclusion fee.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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