Skip to content

Fix P256 precompile gas cost#8

Merged
RomanBrodetski merged 1 commit intomainfrom
vb-fix-p256-precompile-cost
Jan 16, 2026
Merged

Fix P256 precompile gas cost#8
RomanBrodetski merged 1 commit intomainfrom
vb-fix-p256-precompile-cost

Conversation

@vladbochok
Copy link
Member

@vladbochok vladbochok commented Jan 15, 2026

Apparently there are two different versions of P256 precompiles in revm: P256VERIFY and P256VERIFY_OSAKA. The difference between them is gas cost. The consistent with ZKsync OS gas behavior is P256VERIFY_OSAKA precompile.

Changed the P256 precompile to use P256VERIFY_OSAKA.

@vladbochok vladbochok changed the title Fix P256 precompile Fix P256 precompile gas cost Jan 16, 2026
@RomanBrodetski RomanBrodetski merged commit 063e001 into main Jan 16, 2026
5 checks passed
@RomanBrodetski RomanBrodetski deleted the vb-fix-p256-precompile-cost branch January 16, 2026 14:52
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