Skip to content

fix(pq-precompile): reserve base gas before decoding input - #486

Merged
ZhiyuCircle merged 1 commit into
release/0.8from
backport/pq-precompile-reserve-base-gas
Oct 7, 2026
Merged

ZhiyuCircle merged 1 commit into
release/0.8from
backport/pq-precompile-reserve-base-gas

Conversation

@romac

@romac romac commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Closes: #487

Summary

Charge the base gas and the message gas before the PQ precompile copies its three bytes arguments out of the input. The work that a call does is then limited by the gas that it pays.

Charge the base gas and the message gas before the PQ precompile copies
its three `bytes` arguments out of the input. The work that a call does
is then limited by the gas that it pays.

Co-authored-by: Milap Sheth <[email protected]>
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions github-actions Bot closed this Oct 7, 2026
@ZhiyuCircle ZhiyuCircle reopened this Oct 7, 2026
@github-actions

This comment was marked as outdated.

@github-actions github-actions Bot closed this Oct 7, 2026
@romac romac removed the need-triage label Oct 7, 2026
@romac romac reopened this Oct 7, 2026
@ZhiyuCircle
ZhiyuCircle merged commit ab09dbf into release/0.8 Oct 7, 2026
39 checks passed
@ZhiyuCircle
ZhiyuCircle deleted the backport/pq-precompile-reserve-base-gas branch October 7, 2026 12:24
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