Skip to content

Commit

Permalink
Merge pull request #38 from iosis-tech/v0.0.9_hotfix
Browse files Browse the repository at this point in the history
V0.0.9 hotfix
  • Loading branch information
Okm165 authored Sep 13, 2024
2 parents 1d46e21 + 755fd08 commit 76e6703
Show file tree
Hide file tree
Showing 12 changed files with 79 additions and 80 deletions.
74 changes: 37 additions & 37 deletions Cargo.lock

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

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ edition = "2021"
license-file = "LICENSE"
readme = "README.md"
repository = "https://github.com/iosis-tech/swiftness"
version = "0.0.9"
version = "0.1.0"

[workspace.dependencies]
blake2 = { version = "0.10.6", default-features = false }
Expand All @@ -39,9 +39,9 @@ starknet-types-core = { version = "0.1.5", default-features = false }
thiserror = "1.0.61"
thiserror-no-std = "2.0.2"

swiftness_air = { path = "crates/air", default-features = false, version = "0.0.9" }
swiftness_commitment = { path = "crates/commitment", default-features = false, version = "0.0.9" }
swiftness_fri = { path = "crates/fri", default-features = false, version = "0.0.9" }
swiftness_pow = { path = "crates/pow", default-features = false, version = "0.0.9" }
swiftness_stark = { path = "crates/stark", default-features = false, version = "0.0.9" }
swiftness_transcript = { path = "crates/transcript", default-features = false, version = "0.0.9" }
swiftness_air = { path = "crates/air", default-features = false, version = "0.1.0" }
swiftness_commitment = { path = "crates/commitment", default-features = false, version = "0.1.0" }
swiftness_fri = { path = "crates/fri", default-features = false, version = "0.1.0" }
swiftness_pow = { path = "crates/pow", default-features = false, version = "0.1.0" }
swiftness_stark = { path = "crates/stark", default-features = false, version = "0.1.0" }
swiftness_transcript = { path = "crates/transcript", default-features = false, version = "0.1.0" }
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div align="center">

![Version](https://img.shields.io/badge/v0.0.9-green?style=flat-square&logo=git&logoColor=white&label=version)
![Version](https://img.shields.io/badge/v0.1.0-green?style=flat-square&logo=git&logoColor=white&label=version)
![Continuous Integration](https://img.shields.io/github/actions/workflow/status/iosis-tech/swiftness/ci.yml?style=flat-square&logo=githubactions&logoColor=white&label=Continuous%20Integration)

[![Crates.io Version](https://img.shields.io/crates/v/swiftness?style=flat-square&logo=lootcrate)](https://crates.io/crates/swiftness)
Expand Down
16 changes: 8 additions & 8 deletions cli/Cargo.lock

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

14 changes: 7 additions & 7 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ edition = "2021"
license-file = "LICENSE"
readme = "../README.md"
repository = "https://github.com/iosis-tech/swiftness"
version = "0.0.9"
version = "0.1.0"

[dependencies]
clap = { version = "4.4.4", features = ["derive"] }

swiftness_air = { path = "../crates/air", default-features = false, features = [
"std",
], version = "0.0.9" }
], version = "0.1.0" }
swiftness_commitment = { path = "../crates/commitment", default-features = false, features = [
"std",
], version = "0.0.9" }
], version = "0.1.0" }
swiftness_fri = { path = "../crates/fri", default-features = false, features = [
"std",
], version = "0.0.9" }
], version = "0.1.0" }
swiftness_pow = { path = "../crates/pow", default-features = false, features = [
"std",
], version = "0.0.9" }
], version = "0.1.0" }
swiftness_stark = { path = "../crates/stark", default-features = false, features = [
"std",
], version = "0.0.9" }
swiftness_proof_parser = { path = "../proof_parser", version = "0.0.9" }
], version = "0.1.0" }
swiftness_proof_parser = { path = "../proof_parser", version = "0.1.0" }

[features]
default = ["recursive", "keccak_160_lsb", "stone5"]
Expand Down
3 changes: 1 addition & 2 deletions crates/air/src/public_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ impl PublicInput {

if let Some(dynamic_params) = &self.dynamic_params {
let dynamic_params_vec: Vec<usize> = dynamic_params.clone().into();

hash_data.extend(dynamic_params_vec.into_iter().map(Felt::from).collect::<Vec<Felt>>());
hash_data.extend(dynamic_params_vec.into_iter().map(Felt::from));
}

// Segments.
Expand Down
Loading

0 comments on commit 76e6703

Please sign in to comment.