Skip to content

Sync main #50

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

Open
wants to merge 2,165 commits into
base: main
Choose a base branch
from
Open

Sync main #50

wants to merge 2,165 commits into from

Conversation

FrancoGiachetta
Copy link

@FrancoGiachetta FrancoGiachetta commented Mar 26, 2025

Syncs main with the upsteam main until this commit

There are no diffs whatsoever

amosStarkware and others added 30 commits March 18, 2025 13:08
…are-libs#4967)

Most of this is boilerplate, major changes are:
1. catch up height is now lazily initialized by the spawned sync task
   which continously asks the sync state for its height. This can be
   None if the sync is starting up.
2. Until catch up height is ready, the rest of the startup flow is
   unchanged, with the addition that before the spawned task starts
   generating commit-blocks to sync up the provider, it'll first update
   the catch up height, which is synced with the bootstrapper.

Co-authored-by: Gilad Chase <[email protected]>
…-libs#5013)

* chore(starknet_sequencer_node): format deployment variants

* chore(starknet_sequencer_node): service name to service fn
* feat(starknet_os): copy store_da_segment implementation

Signed-off-by: Dori Medini <[email protected]>

* feat(starknet_os): fix store_da_segment implementation

* refactor(starknet_os): polynomial_coefficients_to_kzg_commitment directly outputs felts

Signed-off-by: Dori Medini <[email protected]>

---------

Signed-off-by: Dori Medini <[email protected]>
* feat(starknet_os): copy store_da_segment implementation

Signed-off-by: Dori Medini <[email protected]>

* feat(starknet_os): fix store_da_segment implementation

* refactor(starknet_os): polynomial_coefficients_to_kzg_commitment directly outputs felts

Signed-off-by: Dori Medini <[email protected]>

* test(starknet_os): add small fft regression test

---------

Signed-off-by: Dori Medini <[email protected]>
…tarkware-libs#5030)

* chore(starknet_sequencer_node): use service enum instead of const

* chore(starknet_sequencer_node): bundle all deployments in an array
…libs#5063)

As prep. for addition of a class object label, to partition by Sierra,
Casm, deprecated Casm.
…tarkware-libs#5031)

* chore(starknet_sequencer_node): use service enum instead of const

* chore(starknet_sequencer_node): remove redundant lifetime generics
nimrod-starkware and others added 29 commits March 26, 2025 09:59
Use the client, rather than direct l1_provider calls.
This is relevant here because the async task is already using the
(mock) client, and making the test use the provider directly while the
sync task is using the client will be too different from prod code.

Also fixed an incorrect copy-paste code remark.

Co-authored-by: Gilad Chase <[email protected]>
…s#5188)

Also add util for flushing the fake l1 client: its currently just
buffering the calls it gets, and needs a manual flush.

Co-authored-by: Gilad Chase <[email protected]>
* feat(starknet_os): integrate the split function

* refactor(starknet_os): split to bigint3

Signed-off-by: Dori Medini <[email protected]>

---------

Signed-off-by: Dori Medini <[email protected]>
* feat(starknet_os): integrate the split function

* refactor(starknet_os): split to bigint3

Signed-off-by: Dori Medini <[email protected]>

* chore(starknet_os): move write_split_result

---------

Signed-off-by: Dori Medini <[email protected]>
…-libs#5288)

Looks like our test runner doesn't support running integration tests
that depend on the crate with `testing` feature, so we can only use
integration tests that don't need `testing` on the same crate :(

This is almost all a MOVE with only one required change: the
bootstrap_e2e has gone stale and is broken, so i added an `ignore`.
The reason is that it wasn't run in the CI since required-features
doesn't add features, it just doesn't run the test if the feature isn't
there :/

Will fix the test in an upcoming PR.

Co-authored-by: Gilad Chase <[email protected]>
Makes it easier to debug (tooltips show the value)

Co-authored-by: Gilad Chase <[email protected]>
starkware-libs#5298)

* chore(deployment): update the service url in the app configs

* chore(deployment): remove unnecessary storage allocation from services
)

* refactor(starknet_l1_provider): use consts

Makes it easier to debug (tooltips show the value)

* chore(starknet_l1_provider): not related to mempool

Right now we're duplicating this util, until we decide on a central
super-lean crate for sharing common stuff

---------

Co-authored-by: Gilad Chase <[email protected]>
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.

None yet