Skip to content

Update bn254 cost - #8

Open
jhb10c wants to merge 1 commit into
mainfrom
john/gas-adjustment
Open

jhb10c wants to merge 1 commit into
mainfrom
john/gas-adjustment

Conversation

@jhb10c

@jhb10c jhb10c commented Feb 4, 2025

Copy link
Copy Markdown

This adjusts the gas weights for bn254 operations. The makes the ec operations at parity for 1 billion gas being executed at 1 second.

This would complete: https://github.com/category-labs/category-internal/issues/836

@jhb10c

jhb10c commented Feb 4, 2025

Copy link
Copy Markdown
Author

One final note (im delete this comment btw):

  1. The other precompiles should be benchmarked. Highly likely they will also be mispriced. This will be done after benchmarking framework is more developed.
  2. Longterm solution would be to implement something philosophically similar to EIP6601.

@jhb10c
jhb10c marked this pull request as ready for review February 5, 2025 14:37
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.

1 participant