Skip to content

chore: update to katana-compatible snos - #6

Merged
glihm merged 26 commits into
mainfrom
update-snos
Feb 14, 2025
Merged

chore: update to katana-compatible snos#6
glihm merged 26 commits into
mainfrom
update-snos

Conversation

@kariy

@kariy kariy commented Jan 29, 2025

Copy link
Copy Markdown
Member

Update to our fork of snos. This version only works with the latest provable version of katana.

@kariy
kariy marked this pull request as draft January 29, 2025 23:40
@glihm glihm changed the title Update to katana-compatible snos (don't merge yet) chore: update to katana-compatible snos Feb 1, 2025
@glihm
glihm marked this pull request as ready for review February 1, 2025 22:14
@glihm

glihm commented Feb 1, 2025

Copy link
Copy Markdown
Contributor

To have this revision of SNOS working, Katana must be started by doing the following:

  1. katana init
  2. follow the CLI instructions
  3. then start Katana with the id given: katana --chain <ID>

Comment thread scripts/generate_snos.sh Outdated
@glihm
glihm requested a review from xJonathanLEI February 7, 2025 19:03
// Since the `Felt` type is wrapping (`Felt::MAX + 1 = 0`), there is not
// need for a special case for the genesis block, and `+1` works as expected.
//
// TODO: should we change to `settlement.next_block_number()` instead to always return `u64`?

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.

@xJonathanLEI I would tend to add the new method, or always manipulating the block number as a Felt, wdyt?

@glihm

glihm commented Feb 7, 2025

Copy link
Copy Markdown
Contributor

Tested on Katana dojoengine/dojo#2980 with verification on Sepolia (layout bridge mocked).

@glihm
glihm merged commit 0b73baa into main Feb 14, 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