Bobbin Threadbare
33d37d82e2
Merge pull request #79 from 0xPolygonMiden/hacka-ignore-pre-commit-rev
ignore pre commit rev
2 years ago
Augusto Hack
5703fef226
Merge pull request #96 from 0xPolygonMiden/hacka-check-root-in-storage
bugfix: check if the requested root is in the storage
2 years ago
Augusto F. Hack
669ebb49fb
bugfix: check if the requested root is in the storage
2 years ago
Victor Lopes
931bcc3cc3
Merge pull request #94 from 0xPolygonMiden/vlopes11-merkle-store-derive
refactor: add derive proc macros to merkle store
2 years ago
Victor Lopez
91667fd7de
refactor: add derive proc macros to merkle store
This commit introduce common derive proc macros to MerkleStore. These
are required downstream as the in-memory storage can be cloned.
It also introduces constructors common to the other types of the crate
that will help to build a merkle store, using a build pattern.
2 years ago
Augusto Hack
e4ddf6ffaf
Merge pull request #93 from 0xPolygonMiden/hacka-add-merkle-store
Add merkle store
2 years ago
Augusto F. Hack
88a646031f
feat: add merkle store
2 years ago
Bobbin Threadbare
2871e4eb27
Merge pull request #87 from 0xPolygonMiden/vlopes11-36-simple-smt-prepare
feat: refactor simple smt to use empty subtree constants
2 years ago
Victor Lopez
3a6a4fcce6
feat: refactor simple smt to use empty subtree constants
Prior to this commit, there was an internal procedure with the merkle
trees to compute empty sub-tree for arbitrary depths.
However, this isn't ideal as this code can be reused in any merkle
implementation that uses RPO as backend.
This commit introduces a structure that will generate these empty
subtrees values.
2 years ago
Augusto Hack
7ffa0cd97d
Merge pull request #67 from 0xPolygonMiden/hacka-merkle-mountain-range-memory-implementation
feat: merkle mountain range
2 years ago
Augusto F. Hack
32d37f1591
feat: merkle mountain range
2 years ago
Augusto F. Hack
bc12fcafe9
chore: ignore pre-commit rev
2 years ago
Augusto Hack
8c08243f7a
Merge pull request #78 from 0xPolygonMiden/hacka-pre-commit
Add pre commit
2 years ago
Augusto F. Hack
956e4c6fad
chore: initial run pre-commit
2 years ago
Augusto F. Hack
efa39e5ce0
feat: added pre-commit hook config
2 years ago
Bobbin Threadbare
ae3f14e0ff
Merge pull request #74 from 0xPolygonMiden/hacka-node-index-docs
docs: mention tree form order of NodeIndex docs
2 years ago
Augusto F. Hack
dfb073f784
docs: mention tree form order of NodeIndex docs
2 years ago
Bobbin Threadbare
41c38b4b5d
chore: changed version to v0.1.4 in Cargo.toml
2 years ago
Bobbin Threadbare
c4eb4a6b98
Merge pull request #73 from 0xPolygonMiden/vlopes11-72-add-winter-hasher
feat: re-export winter-crypto Hasher, Digest & ElementHasher
2 years ago
Victor Lopez
35b255b5eb
feat: re-export winter-crypto Hasher, Digest & ElementHasher
This commit introduces the re-export of the listed primitives.
They will be used inside Miden to report the security level of the
picked primitive, as well as other functionality.
closes #72
2 years ago
Bobbin Threadbare
e94b0c70a9
Merge pull request #71 from 0xPolygonMiden/bobbin-dep-updates
Dependency updates
2 years ago
Bobbin Threadbare
e6bf497500
chore: update dependencies
2 years ago
Bobbin Threadbare
835142d432
Merge pull request #70 from 0xPolygonMiden/next
v0.1.3 release
2 years ago
Bobbin Threadbare
85ba3f1a34
chore: update changelog for v0.1.3 release
2 years ago
Bobbin Threadbare
6aa226e9bb
Merge pull request #68 from 0xPolygonMiden/vlopes11-update-winterfell-to-0.5
feat: upgrade to winterfell 0.5
2 years ago
Victor Lopez
0af45b75f4
feat: upgrade to winterfell 0.5
2 years ago
Bobbin Threadbare
822c52a1d2
Merge pull request #63 from 0xPolygonMiden/next
v0.1.2 release
2 years ago
Bobbin Threadbare
3c9a5235a0
docs: fix typos in doc comments
2 years ago
Bobbin Threadbare
2d97153fd0
Merge pull request #64 from 0xPolygonMiden/vlopes11-chore-release-v.0.1.2
chore: prepare for `v0.1.2` release
2 years ago
Victor Lopez
325b3abf8b
chore: prepare for `v0.1.2` release
2 years ago
Victor Lopes
b1a5ed6b5d
Merge pull request #62 from 0xPolygonMiden/vlopes11-feat-add-node-index-from-felt
feat: add `from_elements` to `NodeIndex`
2 years ago
Victor Lopez
9307178873
feat: add `from_elements` to `NodeIndex`
2 years ago
Victor Lopes
3af53e63cf
Merge pull request #54 from 0xPolygonMiden/vlopes11-36-feat-add-merkle-index
feat: add merkle node index
2 years ago
Victor Lopez
0799b1bb9d
feat: add merkle node index
This commit introduces a wrapper structure to encapsulate the merkle
tree traversal.
related issue: #36
2 years ago
Victor Lopes
0c242d2c51
Merge pull request #53 from 0xPolygonMiden/vlopes11-36-feat-add-merkle-types
feat: add merkle path wrapper
2 years ago
Victor Lopez
21a8cbcb45
feat: add merkle path wrapper
A Merkle path is a vector of nodes, regardless of the Merkle tree
implementation.
This commit introduces an encapsulation for such vector, also to provide
functionality that is common between different algorithms such as
opening verification.
related issue: #36
2 years ago
Bobbin Threadbare
66da469ec4
Merge pull request #46 from 0xPolygonMiden/vlopes11-44-fix-rpo256-sponge-pad
fix: sponge pad panics on input
2 years ago
Victor Lopez
ed36ebc542
fix: sponge pad panics on input
closes #44
2 years ago
grjte
398af59045
Merge pull request #50 from 0xPolygonMiden/next
Tracking PR for release v0.1.1
2 years ago
grjte
cf7011a287
Merge pull request #49 from 0xPolygonMiden/grjte-add-changelog
docs: add changelog
2 years ago
grjte
d25a90b5a4
chore: update version to 0.1.1
2 years ago
grjte
e0e4610f2a
docs: add changelog
2 years ago
Kaneki (カネキ ケン)
f399df5def
Merge pull request #47 from 0xPolygonMiden/kaneki-domain-separator
refactor merge in domain tests
2 years ago
0xKanekiKen
37c6f003c4
tests: refactor merge_in_domain tests
Signed-off-by: 0xKanekiKen <100861945+0xKanekiKen@users.noreply.github.com>
2 years ago
Kaneki (カネキ ケン)
6de7730e30
Merge pull request #40 from 0xPolygonMiden/kaneki-domain-separator
Domain separator during merge
2 years ago
0xKanekiKen
5757b896fe
test: unit tests for merge in domain method
Signed-off-by: 0xKanekiKen <100861945+0xKanekiKen@users.noreply.github.com>
2 years ago
grjte
581887916f
Merge pull request #42 from 0xPolygonMiden/kaneki-random-coin
Reexport publiccoin & publiccoinerror from winterfell
2 years ago
0xKanekiKen
ce2cbe704b
refactor: reexport publiccoin & publiccoinerror from winterfell
Signed-off-by: 0xKanekiKen <100861945+0xKanekiKen@users.noreply.github.com>
2 years ago
0xKanekiKen
bc6191b3fa
feat: new merge method for 2 digest with a domain separator
Signed-off-by: 0xKanekiKen <100861945+0xKanekiKen@users.noreply.github.com>
2 years ago
Bobbin Threadbare
f51d6b78aa
Merge pull request #34 from 0xPolygonMiden/bobbin-merkle-derive
Implement PartialEq and Eq traits on Merkle structs
2 years ago