Skip to content

Commit

Permalink
fix: getrandom version (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani authored May 17, 2024
1 parent f50fb1c commit 9d41254
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ jobs:
run: |
cd fibonacci
cd program
cargo add sp1-zkvm --path $GITHUB_WORKSPACE/zkvm/entrypoint
cargo prove build
cd ../script
cargo add sp1-sdk --path $GITHUB_WORKSPACE/sdk
Expand Down
9 changes: 7 additions & 2 deletions zkvm/entrypoint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ p3-baby-bear = { workspace = true, optional = true }
p3-field = { workspace = true, optional = true }
bincode = "1.3.3"
cfg-if = "1.0.0"
getrandom = { version = "0.2.15", features = ["custom"] }
getrandom = { version = "0.2.14", features = ["custom"] }
k256 = { version = "0.13.3", features = ["ecdsa", "std", "bits"] }
once_cell = "1.19.0"
rand = "0.8.5"
Expand All @@ -21,4 +21,9 @@ sha2 = { version = "0.10.8" }
[features]
default = ["libm"]
libm = ["dep:libm"]
verify = ["dep:sp1-primitives", "dep:p3-baby-bear", "dep:p3-field", "sp1-precompiles/verify"]
verify = [
"dep:sp1-primitives",
"dep:p3-baby-bear",
"dep:p3-field",
"sp1-precompiles/verify",
]
8 changes: 5 additions & 3 deletions zkvm/precompiles/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@ version = "0.1.0"
edition = "2021"

[dependencies]
amcl = { package = "snowbridge-amcl", version="1.0.2", default-features = false, features = ["bls381"]}
amcl = { package = "snowbridge-amcl", version = "1.0.2", default-features = false, features = [
"bls381",
] }
anyhow = "1.0.83"
bincode = "1.3.3"
cfg-if = "1.0.0"
getrandom = { version = "0.2.15", features = ["custom"] }
getrandom = { version = "0.2.14", features = ["custom"] }
hex = "0.4.3"
k256 = { version = "0.13.3", features = ["ecdsa", "std", "bits"] }
rand = "0.8.5"
serde = { version = "1.0.201", features = ["derive"] }
num = {version = "0.4.3"}
num = { version = "0.4.3" }

[features]
verify = []

0 comments on commit 9d41254

Please sign in to comment.