Skip to content

Commit 2df3d67

Browse files
committed
execution_chain
1 parent 7b5efbe commit 2df3d67

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

PrecompileTests.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PrecompileTests
22
===
33
## PrecompileTests
44
```diff
5-
- P256Verify.json Fail
5+
+ P256Verify.json OK
66
+ blake2F.json OK
77
+ blsG1Add.json OK
88
+ blsG1MultiExp.json OK
@@ -25,7 +25,7 @@ PrecompileTests
2525
+ ripemd160.json OK
2626
+ sha256.json OK
2727
```
28-
OK: 21/22 Fail: 1/22 Skip: 0/22
28+
OK: 22/22 Fail: 0/22 Skip: 0/22
2929
## eest
3030
```diff
3131
+ add_G1_bls.json OK
@@ -50,4 +50,4 @@ OK: 21/22 Fail: 1/22 Skip: 0/22
5050
OK: 18/18 Fail: 0/18 Skip: 0/18
5151

5252
---TOTAL---
53-
OK: 39/40 Fail: 1/40 Skip: 0/40
53+
OK: 40/40 Fail: 0/40 Skip: 0/40

execution_chain/evm/interpreter/gas_costs.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@ template gasCosts(fork: EVMFork, prefix, ResultGasCostsName: untyped) =
494494
# 0s: Stop and Arithmetic Operations
495495
Stop: fixed GasZero,
496496
Add: fixed GasVeryLow,
497-
Clz: fixed GasLow,
498497
Mul: fixed GasLow,
499498
Sub: fixed GasVeryLow,
500499
Div: fixed GasLow,
@@ -521,6 +520,7 @@ template gasCosts(fork: EVMFork, prefix, ResultGasCostsName: untyped) =
521520
Shl: fixed GasVeryLow,
522521
Shr: fixed GasVeryLow,
523522
Sar: fixed GasVeryLow,
523+
Clz: fixed GasVeryLow,
524524

525525
# 20s: SHA3
526526
Sha3: memExpansion `prefix gasSha3`,

0 commit comments

Comments
 (0)