Skip to content

Commit

Permalink
Merge pull request #2106 from CosmWasm/bls12_381
Browse files Browse the repository at this point in the history
BLS12-381 signature verification
  • Loading branch information
aumetra authored May 21, 2024
2 parents 6263034 + add97a0 commit d904fa2
Show file tree
Hide file tree
Showing 140 changed files with 7,033 additions and 50 deletions.
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ workflows:
- main
- /^[0-9]+\.[0-9]+$/
# Add your branch here if benchmarking matters to your work
- bls12_381
- secp256r1-support
- coverage
deploy:
Expand Down Expand Up @@ -248,13 +249,17 @@ jobs:
keys:
- cargocache-v2-package_crypto-rust:1.73-{{ checksum "Cargo.lock" }}
- run:
name: Build
name: Build (no features)
working_directory: ~/project/packages/crypto
command: cargo build --locked
command: cargo build --locked --no-default-features
- run:
name: Build (all features)
working_directory: ~/project/packages/crypto
command: cargo build --locked --features std
- run:
name: Run tests
working_directory: ~/project/packages/crypto
command: cargo test --locked
command: cargo test --locked --features std
- save_cache:
paths:
- /usr/local/cargo/registry
Expand Down Expand Up @@ -1039,7 +1044,7 @@ jobs:
- run:
name: Run crypto benchmarks
working_directory: ~/project/packages/crypto
command: cargo bench -- --color never --save-baseline crypto
command: cargo bench --features std -- --color never --save-baseline crypto
- save_cache:
paths:
- /usr/local/cargo/registry
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ and this project adheres to
([#2124])
- cosmwasm-vm: Read the state version from Wasm modules and return them as part
of `AnalyzeReport` ([#2129])
- cosmwasm-vm: Add `bls12_381_aggregate_g1`, `bls12_381_aggregate_g2`,
`bls12_381_pairing_equality`, `bls12_381_hash_to_g1`, and
`bls12_381_hash_to_g2` to enable BLS12-381 curve operations, such as verifying
pairing equalities ([#2106])

[#1983]: https://github.com/CosmWasm/cosmwasm/pull/1983
[#2057]: https://github.com/CosmWasm/cosmwasm/pull/2057
Expand All @@ -46,6 +50,7 @@ and this project adheres to
[#2092]: https://github.com/CosmWasm/cosmwasm/pull/2092
[#2098]: https://github.com/CosmWasm/cosmwasm/pull/2098
[#2099]: https://github.com/CosmWasm/cosmwasm/pull/2099
[#2106]: https://github.com/CosmWasm/cosmwasm/pull/2106
[#2107]: https://github.com/CosmWasm/cosmwasm/pull/2107
[#2120]: https://github.com/CosmWasm/cosmwasm/pull/2120
[#2124]: https://github.com/CosmWasm/cosmwasm/pull/2124
Expand Down
191 changes: 182 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d904fa2

Please sign in to comment.