Skip to content

feat(katana): add fact registry arg for init - #404

Merged
kariy merged 2 commits into
dojoengine:mainfrom
cwkang1998:feat/update-katana-custom-facts-registry
May 5, 2025
Merged

feat(katana): add fact registry arg for init#404
kariy merged 2 commits into
dojoengine:mainfrom
cwkang1998:feat/update-katana-custom-facts-registry

Conversation

@cwkang1998

@cwkang1998 cwkang1998 commented Apr 11, 2025

Copy link
Copy Markdown
Contributor

Related to dojoengine/dojo#3158.

@vercel

vercel Bot commented Apr 11, 2025

Copy link
Copy Markdown

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

Name Status Preview Updated (UTC)
book ✅ Ready (Inspect) Visit Preview Apr 22, 2025 7:03am

@cwkang1998 cwkang1998 changed the title feat(katana): add fact registry arg for init(https://github.com/dojoengine/dojo/pull/3158) feat(katana): add fact registry arg for init (dojoengine/dojo#3158) Apr 11, 2025
@cwkang1998 cwkang1998 changed the title feat(katana): add fact registry arg for init (dojoengine/dojo#3158) feat(katana): add fact registry arg for init (https://github.com/dojoengine/dojo/pull/3158) Apr 11, 2025
@cwkang1998 cwkang1998 changed the title feat(katana): add fact registry arg for init (https://github.com/dojoengine/dojo/pull/3158) feat(katana): add fact registry arg for init Apr 11, 2025
Comment thread docs/pages/toolchain/saya/persistent.md Outdated
--settlement-chain <Sepolia|Mainnet> \
--settlement-account-address <ADDRESS> \
--settlement-account-private-key <PRIVATE_KEY>
--settlement-facts-registry-contract <ADDRESS>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is not something that is supported at the moment.
A custom option is present but may need more work to be functional.

You can however change your facts registry address directly on the deployed contract to use a mocked one for instance while developing. This can be directly changed calling the entrypoint set_facts_registry of Piltover.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah @glihm I am submitting this PR specifically for dojoengine/dojo#3158, of course only merged when it is accepted. The PR adds support for this feature.

I currently find this the only location that actually documents the init behaviour for katana cli, that's why I added this.

Sorry if I misunderstood the contribution flow, should I have waited the PR on the dojo side to be merged first?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All good, thanks for clarifying it. I didn't see any description so wasn't sure about the focus.

Appreciate your comment and the proposal on Dojo. 👍

@glihm glihm Apr 11, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry if I misunderstood the contribution flow, should I have waited the PR on the dojo side to be merged first?

Np np, yeah at least the link to the PR in dojo would have made the direct link (I've updated the description). 👍

@glihm glihm closed this Apr 11, 2025
@glihm glihm reopened this Apr 11, 2025
@kariy
kariy merged commit c9543eb into dojoengine:main May 5, 2025
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.

3 participants