Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions EIPS/eip-2537.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,23 +253,23 @@ A sane implementation of this EIP *should not* contain potential infinite loops

### Gas schedule

Assuming a constant `30 MGas/second`, the following prices are suggested.
Assuming `EcRecover` precompile as a baseline.

#### G1 addition

`500` gas
`375` gas

#### G1 multiplication

`12000` gas

#### G2 addition

`800` gas
`600` gas

#### G2 multiplication

`45000` gas
`22500` gas

#### G1/G2 MSM

Expand All @@ -291,11 +291,11 @@ The cost of the pairing check operation is `43000*k + 65000` where `k` is a numb

#### Fp-to-G1 mapping operation

Fp -> G1 mapping is `5500` gas.
Fp -> G1 mapping is `4125` gas.

#### Fp2-to-G2 mapping operation

Fp2 -> G2 mapping is `75000` gas
Fp2 -> G2 mapping is `17000` gas

#### Gas schedule clarifications for the variable-length input

Expand Down
Loading