Skip to content

Commit

Permalink
fix(sealevel): getrandom dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-savu committed Jul 12, 2023
1 parent 47a4fdd commit 45a5cc4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions rust/Cargo.lock

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

4 changes: 4 additions & 0 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ ureq = "2.4"
url = "2.3"
which = "4.3"

# Required to allow dependencies `getrandom` but to preserve determinism required by programs, see
# https://github.com/solana-labs/solana/blob/master/docs/src/developing/on-chain-programs/developing-rust.md#depending-on-rand
getrandom = { version = "0.2", features = ["custom"] }

[workspace.dependencies.curve25519-dalek]
version = "~3.2"
features = ["serde"]
Expand Down
1 change: 0 additions & 1 deletion rust/hyperlane-core/src/types/serialize.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#![allow(unused)]
// Based off https://github.com/paritytech/parity-common/blob/7194def73feb7d97644303f1a6ddbab29bbb799f/primitive-types/impls/serde/src/serialize.rs


// Copyright 2020 Parity Technologies
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
Expand Down
1 change: 1 addition & 0 deletions rust/sealevel/programs/mailbox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ num-traits.workspace = true
solana-program.workspace = true
thiserror.workspace = true
spl-noop.workspace = true
getrandom.workspace = true

access-control = { path = "../../libraries/access-control" }
account-utils = { path = "../../libraries/account-utils" }
Expand Down

0 comments on commit 45a5cc4

Please sign in to comment.