Skip to content

Commit

Permalink
Update EIP-2537: Rollback and fix formula
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
marioevz authored Apr 15, 2024
1 parent 589eb30 commit ce2149a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EIPS/eip-2537.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Discounts table as a vector of pairs `[k, discount]`:

#### Pairing operation

The cost of the pairing operation is `23000*k + 115000` where `k` is a number of pairs.
The cost of the pairing operation is `43000*k + 65000` where `k` is a number of pairs.

#### Fp-to-G1 mapping operation

Expand Down Expand Up @@ -316,7 +316,7 @@ The following pseudofunction reflects how gas should be calculated:
```
k = floor(len(input) / LEN_PER_PAIR);
gas_cost = 23000*k + 115000;
gas_cost = 43000*k + 65000;
return gas_cost;
Expand Down

0 comments on commit ce2149a

Please sign in to comment.