Skip to content

Commit 9aaa429

Browse files
zjmananne007
andauthored
ark_bn254 benches and derived gas parameters (#2)
* [feat][aptos-stdlib] crypto algebra bn254 Signed-off-by: caojiafeng <[email protected]> * scripts: fix update_algebra_gas_params.py Signed-off-by: caojiafeng <[email protected]> * add bn254 to default features to make unit test pass * fix a bug mentioned in the comments * initial * update * initial gas param * benches for fq and fq2 * it compiles * gas script now also specifies quantity types * update scripts --------- Signed-off-by: caojiafeng <[email protected]> Co-authored-by: caojiafeng <[email protected]>
1 parent b429d5c commit 9aaa429

File tree

7 files changed

+969
-94
lines changed

7 files changed

+969
-94
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aptos-move/aptos-gas-schedule/src/gas_schedule/aptos_framework.rs

Lines changed: 93 additions & 88 deletions
Large diffs are not rendered by default.

crates/aptos-crypto/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ x25519-dalek = { workspace = true }
5454

5555
[dev-dependencies]
5656
ark-bls12-381 = { workspace = true }
57+
ark-bn254 = { workspace = true }
5758
ark-serialize = { workspace = true }
5859
ark-std = { workspace = true }
5960
bitvec = { workspace = true }
@@ -81,6 +82,10 @@ harness = false
8182
name = "bls12381"
8283
harness = false
8384

85+
[[bench]]
86+
name = "ark_bn254"
87+
harness = false
88+
8489
[[bench]]
8590
name = "ed25519"
8691
harness = false

0 commit comments

Comments
 (0)