Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compute merkle root implementation #43

Merged

Conversation

mubarak23
Copy link
Contributor

Copy link

vercel bot commented Aug 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
raito ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2024 0:07am

@mubarak23
Copy link
Contributor Author

@maciejka here is the PR with the unit test for the function

Copy link
Collaborator

@maciejka maciejka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please turn this to a pr into pr #43.
You need to change this line:
image

src/merkle_tree.cairo Outdated Show resolved Hide resolved
src/merkle_tree.cairo Outdated Show resolved Hide resolved
@mubarak23 mubarak23 changed the base branch from main to mk/merkle_tree August 8, 2024 12:56
Copy link
Collaborator

@maciejka maciejka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, but fix compilation errors.

@mubarak23
Copy link
Contributor Author

Ok, but fix compilation errors.

that was what i just push

Copy link
Collaborator

@maciejka maciejka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix tests:
image

@mubarak23
Copy link
Contributor Author

Fix tests: image

ok

@maciejka
Copy link
Collaborator

maciejka commented Aug 8, 2024

Fix tests: image

ok

@mubarak23

Please after pushing your commits check on github if all checks pass:
image

You can also run it locally before pushing:

scrab build
scarb test
scarb fmt

@mubarak23
Copy link
Contributor Author

running scarb build keep returning some error, pointing to this function,

double_sha256

currently on it

@maciejka maciejka merged commit f305ce9 into keep-starknet-strange:mk/merkle_tree Aug 9, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants