Skip to content

Commit e49d834

Browse files
committed
Fix timings in comments
1 parent 7f96692 commit e49d834

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/vm/src/environment.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ impl Default for GasConfig {
5252
// Target is 10^12 per second (see GAS.md), i.e. 10^6 gas per µ second.
5353
const GAS_PER_US: u64 = 1_000_000;
5454
Self {
55-
// ~154 us in crypto benchmarks
55+
// ~119 us in crypto benchmarks
5656
secp256k1_verify_cost: 119 * GAS_PER_US,
57-
// ~162 us in crypto benchmarks
57+
// ~233 us in crypto benchmarks
5858
secp256k1_recover_pubkey_cost: 233 * GAS_PER_US,
59-
// ~525 us in crypto benchmarks
59+
// ~374 us in crypto benchmarks
6060
secp256r1_verify_cost: 374 * GAS_PER_US,
61-
// ~582 us in crypto benchmarks
61+
// ~834 us in crypto benchmarks
6262
secp256r1_recover_pubkey_cost: 834 * GAS_PER_US,
6363
// ~63 us in crypto benchmarks
6464
ed25519_verify_cost: 63 * GAS_PER_US,

0 commit comments

Comments
 (0)