Skip to content

Commit

Permalink
Merge pull request #11 from mcintyre94/cm-ahash-workaround
Browse files Browse the repository at this point in the history
Temporarily fix ahash version on seahorse init
  • Loading branch information
mikemaccana authored Jan 22, 2024
2 parents fc28301 + d763e47 commit 0efd23f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bin/cli/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,12 @@ pub fn init(args: InitArgs) -> Result<(), Box<dyn Error>> {
cargo["dependencies"]["anchor-lang"] = anchor_version.clone();
cargo["dependencies"]["anchor-spl"] = anchor_version;

// TODO: Remove once https://github.com/solana-labs/solana/issues/33504 is resolved.
// See https://github.com/coral-xyz/anchor/pull/2756/files
// Can also remove here when Anchor release that fix
cargo["dependencies"]["ahash"] =
Item::Value(Value::String(Formatted::new("=0.8.6".to_string())));

let mut pyth = InlineTable::new();
pyth.insert(
"version",
Expand Down

0 comments on commit 0efd23f

Please sign in to comment.