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

feat: add Kakarot support #152

Merged
merged 58 commits into from
Oct 14, 2024
Merged

Conversation

EjembiEmmanuel
Copy link
Contributor

Description

This PR adds support for Kakarot zkEVM on Starknet-Scaffold

Additional Information

Copy link

vercel bot commented Sep 24, 2024

@EjembiEmmanuel is attempting to deploy a commit to the Horus Labs Team on Vercel.

A member of the Team first needs to authorize it.

@EjembiEmmanuel EjembiEmmanuel marked this pull request as ready for review September 26, 2024 09:48
bin/cli.mjs Outdated
await exec(
"npm run install --legacy-peer-deps && npm run initialize-dojo"
);
} else if (packageType !== "kakarot") {
Copy link
Member

Choose a reason for hiding this comment

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

remove the negation. you meant:

else if (packageType == "kakarot")

package.json Outdated
@@ -22,7 +22,12 @@
"devnet": "sh ./devnet/start.sh",
"start": "cd frontend && npm run dev",
"install": "cd scripts && bash install_tools.sh && cd ../frontend && npm install --legacy-peer-deps",
"build-ui": "cd frontend && npm run build"
"build-ui": "cd frontend && npm run build",
"initialize-kakarot": "rm -rf contracts && mkdir contracts && cd contracts && git clone https://github.com/kkrt-labs/build-on-kakarot.git && cp -r build-on-kakarot/* ./ && rm -rf .github && rm -rf .trunk && rm -rf build-on-kakarot",
Copy link
Member

Choose a reason for hiding this comment

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

include a command to initialize git too within the initialize-kakarot. ie && git init.

Not doing this, makes the next command setup-kakarot fail with error: not a git repository

package.json Outdated
"build-ui": "cd frontend && npm run build",
"initialize-kakarot": "rm -rf contracts && mkdir contracts && cd contracts && git clone https://github.com/kkrt-labs/build-on-kakarot.git && cp -r build-on-kakarot/* ./ && rm -rf .github && rm -rf .trunk && rm -rf build-on-kakarot",
"setup-kakarot": "cd contracts && make setup",
"start-kakarot": "cd contracts && make start",
Copy link
Member

Choose a reason for hiding this comment

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

script fails with:

make -C lib/kakarot-rpc local-rpc-up
make[1]: *** No rule to make target `local-rpc-up'.  Stop.
make: *** [start] Error 2

please look into it.

package.json Outdated
"initialize-kakarot": "rm -rf contracts && mkdir contracts && cd contracts && git clone https://github.com/kkrt-labs/build-on-kakarot.git && cp -r build-on-kakarot/* ./ && rm -rf .github && rm -rf .trunk && rm -rf build-on-kakarot",
"setup-kakarot": "cd contracts && make setup",
"start-kakarot": "cd contracts && make start",
"deploy-kakarot-l1-messaging-contracts": "cd contracts && make deploy-l1",
Copy link
Member

Choose a reason for hiding this comment

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

this script fails too and the one after it.

bin/cli.mjs Show resolved Hide resolved
@Darlington02 Darlington02 merged commit b30b0ea into horuslabsio:main Oct 14, 2024
2 of 4 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