Skip to content

Commit

Permalink
Update Merkle library for the Stdlib 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroProofs committed Sep 6, 2024
1 parent d13c449 commit 463b9e3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions on-chain/aiken.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[[requirements]]
name = "aiken-lang/stdlib"
version = "1.9.0"
version = "2.0.0"
source = "github"

[[requirements]]
Expand All @@ -13,7 +13,7 @@ source = "github"

[[packages]]
name = "aiken-lang/stdlib"
version = "1.9.0"
version = "2.0.0"
requirements = []
source = "github"

Expand All @@ -24,4 +24,4 @@ requirements = []
source = "github"

[etags]
"aiken-lang/fuzz@main" = [{ secs_since_epoch = 1724333442, nanos_since_epoch = 924827000 }, "24d601fa19a2002318495bbb8562b9677563ca1b5c03126d6b093a65df076bef"]
"aiken-lang/fuzz@main" = [{ secs_since_epoch = 1725585344, nanos_since_epoch = 985841000 }, "34ffec10cce786bf823c7505589a3b5e0663792ef8efd31f870d7bcc37e0f593"]
2 changes: 1 addition & 1 deletion on-chain/aiken.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ platform = "github"

[[dependencies]]
name = "aiken-lang/stdlib"
version = "1.9.0"
version = "2.0.0"
source = "github"

[[dependencies]]
Expand Down
2 changes: 1 addition & 1 deletion on-chain/lib/aiken/merkle-patricia-forestry.ak
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
//// 10⁹ | 990 | 280K | 126M |

use aiken/builtin.{blake2b_256, slice_bytearray}
use aiken/bytearray
use aiken/merkle_patricia_forestry/helpers.{combine, nibble, nibbles, suffix}
use aiken/merkle_patricia_forestry/merkling.{
merkle_16, null_hash, sparse_merkle_16,
}
use aiken/primitive/bytearray

// -----------------------------------------------------------------------------
// ------------------------------------------------------------------- Constants
Expand Down
2 changes: 1 addition & 1 deletion on-chain/lib/aiken/merkle-patricia-forestry.tests.ak
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use aiken/cbor
use aiken/collection/list
use aiken/fuzz
use aiken/list
use aiken/merkle_patricia_forestry.{
Branch, Fork, Leaf, MerklePatriciaForestry, Neighbor, Proof, ProofStep,
} as mpf
Expand Down
2 changes: 1 addition & 1 deletion on-chain/lib/aiken/merkle-patricia-forestry/helpers.ak
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//// exposed for internal testing and module splitting.

use aiken/builtin.{blake2b_256, index_bytearray}
use aiken/bytearray
use aiken/primitive/bytearray

// -----------------------------------------------------------------------------
// --------------------------------------------------------------------- combine
Expand Down

0 comments on commit 463b9e3

Please sign in to comment.