Skip to content

Commit

Permalink
fix: switch to poseidon
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr committed Aug 27, 2024
1 parent 30a0d5e commit f8cba90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
barretenberg_module(world_state crypto_merkle_tree stdlib_pedersen_hash)
barretenberg_module(world_state crypto_merkle_tree stdlib_poseidon2)
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace bb::world_state {

using crypto::merkle_tree::index_t;

using HashPolicy = crypto::merkle_tree::PedersenHashPolicy;
using HashPolicy = crypto::merkle_tree::Poseidon2HashPolicy;

using FrStore = crypto::merkle_tree::CachedTreeStore<crypto::merkle_tree::LMDBStore, fr>;
using FrTree = crypto::merkle_tree::AppendOnlyTree<FrStore, HashPolicy>;
Expand Down

0 comments on commit f8cba90

Please sign in to comment.