-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1290 from input-output-hk/jpraynaud/1254-fix-buil…
…d-stm-wasm Fix `mithril-stm` WASM build
- Loading branch information
Showing
6 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,44 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## 0.3.7 (10-10-2023) | ||
|
||
### Added | ||
|
||
- Implemented a build script that automatically detects that WASM is not targeted, and automatically activates the feature `batch-verify-aggregates` (which enables batch verification of signatures). | ||
|
||
## 0.3.0 (10-08-2023) | ||
|
||
### Added | ||
|
||
- Added `Coreverifier` struct and its functionalities to cover signature procedure for a full node. | ||
- Adapted existing functionality to inherit from a more generic structure `Coreverifier`. | ||
- Added tests for core verification. | ||
|
||
## 0.2.5 (15-03-2023) | ||
|
||
### Added | ||
|
||
- Included helper functions for unsafe code | ||
- Added tests for batch verification | ||
|
||
## 0.2.1 (04-01-2023) | ||
|
||
### Added | ||
|
||
- Batch verification for `StmAggrSig`. | ||
|
||
## 0.2.0 (16-12-2022) | ||
|
||
### Changed | ||
|
||
- Adapted the `Signature` struct, so that it does not contain the verification key and | ||
the stake, as these values are not required. | ||
the stake, as these values are not required. | ||
|
||
## 0.1.0 (05-12-2022) | ||
Initial release. | ||
|
||
Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
use std::env; | ||
|
||
fn main() { | ||
let target_arch = env::var("CARGO_CFG_TARGET_ARCH").unwrap(); | ||
let target_no_batch_verify_aggregates = | ||
target_arch.eq("wasm32") || env::var("STM_TEST_NO_BATCH_VERIFY_AGGREGATES").is_ok(); | ||
|
||
if !target_no_batch_verify_aggregates { | ||
println!("cargo:rustc-cfg=feature=\"batch-verify-aggregates\""); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters