-
Notifications
You must be signed in to change notification settings - Fork 65
fix(starknet_api): remove PartialOrd, Ord from crypto utils types (#6605)
#9855
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
Conversation
…cConfig in ConfigManager (#9338)
Signed-off-by: Dori Medini <[email protected]>
Signed-off-by: Dori Medini <[email protected]>
Signed-off-by: Dori Medini <[email protected]>
Signed-off-by: Dori Medini <[email protected]>
…9176) * starknet_os: pseudorandom implementation for CoreHint::RandomEcPoint Signed-off-by: Dori Medini <[email protected]> * starknet_os: deny randomness in the aggregator hint processor Signed-off-by: Dori Medini <[email protected]> --------- Signed-off-by: Dori Medini <[email protected]>
Signed-off-by: Dori Medini <[email protected]>
…into-main-v0.14.1-1758113551 Merge main-v0.14.0 into main-v0.14.1
Signed-off-by: Dori Medini <[email protected]>
…9328) Co-authored-by: dorimedini-starkware <[email protected]>
This stack of pull requests is managed by Graphite. Learn more about stacking. |
…port (#7783) (#9709) Removes `alloy` type from the API of `papyrus_base_layer` and define in the proper place, which is `ethereum_base_layer`. Co-authored-by: giladchase <[email protected]> Co-authored-by: Gilad Chase <[email protected]>
|
Benchmark movements: --- ❌ CI WILL FAIL: Benchmarks exceeded 8.0% regression threshold ERROR: tree_computation_flow regressed by 10.842%, exceeding 8.0% threshold! tree_computation_flow performance regressed! tree_computation_flow time: [15.227 ms 15.393 ms 15.572 ms] change: [+8.6465% +10.842% +13.021%] (p = 0.00 < 0.05) Performance has regressed. Found 7 outliers among 100 measurements (7.00%) 3 (3.00%) high mild 4 (4.00%) high severe full_committer_flow performance regressed! full_committer_flow time: [15.651 ms 15.790 ms 15.933 ms] change: [+2.4731% +3.5610% +4.6781%] (p = 0.00 < 0.05) Performance has regressed. Found 3 outliers among 100 measurements (3.00%) 3 (3.00%) high mild |
) (#9710) Easier to debug and to understand what these are, also explicit dependency on `AnvilInstance`, which will soon be hidden. Co-authored-by: giladchase <[email protected]> Co-authored-by: Gilad Chase <[email protected]>
TODO: will soon make `send_message_to_l2` a method on `AnvilBaseLayer`, as it interacts directly with L1, thus it will no longer be necessary to interact with the internal starknet contract via `anvil.ethereum_base_layer_contract.contract`. Co-authored-by: giladchase <[email protected]> Co-authored-by: Gilad Chase <[email protected]>
…7786) (#9712) Co-authored-by: giladchase <[email protected]> Co-authored-by: Gilad Chase <[email protected]>
… (#9713) * l1: use `AnvilBaseLayer` in integration test * l1: remove out of scope assertion in test No need to test this, it's testing Anvil, also isn't relevant to this test. --------- Co-authored-by: giladchase <[email protected]> Co-authored-by: Gilad Chase <[email protected]>
…ts test (#7788) (#9714) Co-authored-by: giladchase <[email protected]> Co-authored-by: Gilad Chase <[email protected]>
…l2` (#8261) (#9715) * l1: use `AnvilBaseLayer` in multi-contract events test * l1: remove eth l1 nonce from `send_messages_to_l2` Alloy can now auto-bump nonce automatically when using Anvil, via `AnvilBaseLayer`. Next commit will remove nonce tracking from starknet_api_test_utils.rs --------- Co-authored-by: giladchase <[email protected]> Co-authored-by: Gilad Chase <[email protected]>

fix(starknet_api): remove
PartialOrd, Ordfrom crypto utils types (#6605)There is no order on keys and signatures, this is a mistake.
chore(apollo_config): share code for node config test (#6537)
feat(deployment): add base consolidated system test workflow (#6623)
feat(deployment): add config secrets injector stage to the system test (#6627)
feat(deployment): add generate k8s manifests stage to system test workflow (#6633)
feat(deployment): add sequencer deployment stage to system test workflow (#6638)
Merge remote-tracking branch 'origin/main-v0.14.0' into dori/merge-main-v0.14.0-into-main-1747916723
No conflicts in main-v0.14.0 -> main merge, this commit is for any change needed to pass the CI.
fix(ci): fix versions in cargo.toml to 0.0.0
Signed-off-by: Dori Medini [email protected]
chore(deployment): add argument parser (#6613)
chore(deployment): add argument parser (#6612)
chore(deployment): add argument parser (#6611)
fix(deployment): fix consolidated_system_test (#6707)
Merge into main (again), no conflicts
chore(deployment): squote trigger pattern
Merge pull request #6687 from starkware-libs/dori/merge-main-v0.14.0-into-main-1747916723
Merge main-v0.14.0 into main
Merge pull request #6711 from starkware-libs/idan/main/fix-consolidated_system_test-2
chore(deployment): squote trigger pattern
feat(apollo_signature_manager_types): add empty crate (#6642)
feat(apollo_signature_manager_types): define
SignatureManagerClienttrait (#6643)feat(apollo_signature_manager_types): impl
SignatureManagerClientforComponentClientType(#6644)refactor(apollo_l1_provider): elide type and extra to test util (#6691)
Hashset, makes refactoring harder later (willrefactor this into
IndexSetsoon :P)logic hadn't been changed.
Co-authored-by: Gilad Chase [email protected]
feat(apollo_signature_manager): add empty crate (#6655)
feat(apollo_signature_manager): add empty service, still no implementation (#6678)
refactor(apollo_l1_provider): elide type in l1 provider test (#6692)
Co-authored-by: Gilad Chase [email protected]
fix(apollo_batcher): switch rejected txs hashset->indexset (#6693)
refactor(apollo_l1_provider): elide type in l1 provider test
fix(apollo_batcher): switch rejected txs hashset->indexset
Rejected txs are iterated on in the batcher, and passed on to other
services via serde (which involves converting it to a json array).
This is problematic as iteation on
Hashsets on rust non-deterministic (depends on seed value)hence should be avoided.
There was a clippy lint against this pre-monorepo but was dropped during monoporization.
Note: adding & to Hashset is unnecessary as there is no deref, (unlike committed txs
which are a slice). The reference will be removed on a later commit.
Co-authored-by: Gilad Chase [email protected]
chore(apollo_l1_endpoint_monitor): implement the core of l1 endpoint monitor (#6328)
Constructors and other boilerplate stuff will come later.
Co-authored-by: Gilad Chase [email protected]
chore(apollo_l1_provider): switch committed
HashSet->IndexSet(#6694)For consistency with rejected hashes.
Note: batcher treats both committed and rejected as a Set, whereas
SyncBlocks consider committed as a list (like committed used to be in
the provider/batcher).
Note: It no longer makes sense to pass this with a reference, since
there is no deref. Currently keeping it for consistency with rejected.
Will both have their refs removed soon.
Co-authored-by: Gilad Chase [email protected]
chore(apollo_l1_provider): remove references from commit api (#6695)
Not using slices anymore (no deref), so they do nothing for us,
especially given that their contents are now saved as is.
Co-authored-by: Gilad Chase [email protected]
chore(ci): update to version 0.14.1 (#6704)
feat(apollo_l1_provider): setup support for saving committed txs (#6709)
Up until now we only saved tx hashes of committed txs, a new requirement
came up to always store l1 handlers until they are removed from L1.
A complication this introduces is that we have to support two
flows for saving committed transactions:
We then move the tx from the main buffer into a committed side-buffer.
scraped it from L1, at which point we should only store its hash in the
side buffer, and when the tx itself is finely scraped, we add it to the
committed side buffer.
We add support in stages: first, in this PR, we convert the committed
buffer from a hashset of keys to a full map storage, along with a type
that differentiates between the two flows above, but without changing
any logic. In subsequent 2 PRs, we finish support for flow (1) above,
and then for flow (2) above.
Co-authored-by: Gilad Chase [email protected]
chore(apollo_mempool): deps housekeeping (#6498)
testingshould link totestingused in dev-depsCo-authored-by: Gilad Chase [email protected]
feat(apollo_l1_provider): save committed txs in sidebuffer (#6748)
Whenever we see a tx hash in commit-block for a tx we already scraped,
save it in a side buffer instead of deleting it and only storing its
hash (the current behavior).
Initial support for this was added in previous commits, where the
commited-txs collection was changed from hashset of tx_hashes into a map,
that until now only had tx-hash keys without any values (through a
dedicated enum representing this state).
Next commit will add support for the flow in which we see a tx hash in
commit-block and only afterwards scrape the tx.
Co-authored-by: Gilad Chase [email protected]
feat(apollo_l1_provider): save new tx even if previously committed (#6749)
Whenever we see a tx hash in commit-block for a tx we already scraped,
save it in a side buffer instead of deleting it and only storing its
hash (the current behavior).
Initial support for this was added in previous commits, where the
commited-txs collection was changed from hashset of tx_hashes into a map,
that until now only had tx-hash keys without any values (through a
dedicated enum representing this state).
Next commit will add support for the flow in which we see a tx hash in
commit-block and only afterwards scrape the tx.
Until now, if we scraped a tx which a different node already committed
to a block (that is, we saw its tx-hash in commit-block before the
scraper had the chance to scrape it), we threw away the tx.
This change now saves this tx in the committed buffer instead of
deleting it. Previously, we already added this behavior in commit-block,
in which we started saving the tx on commit block instead of tossing
it. This commit adds this behavior also for add-tx
Co-authored-by: Gilad Chase [email protected]
fix(apollo_l1_provider): don't iterate hashset (#6761)
New snapshot code in the l1 provider is iterating over hashsets.
Not deterministic, switching to indexset.
Co-authored-by: Gilad Chase [email protected]
refactor(apollo_l1_provider): move snapshot code (#6762)
New snapshot code in the l1 provider is iterating over hashsets.
Not deterministic, switching to indexset.
Provider shouldn't reach into tx manager internals.
Co-authored-by: Gilad Chase [email protected]
fix(apollo_l1_provider): rejected wasn't added to test util builder (#6794)
Doesn't affect tests because this wasn't tested :(
Fixed here in order to make next commit compile.
Co-authored-by: Gilad Chase [email protected]
refactor(apollo_l1_provider): make tx manager fields private (#6795)
The provider should not directly edit these.
Note: due to this change, assert_eq will now re-use the
snapshotlogic, and in particular, only assert tx hashes rather than full
transactions.
Co-authored-by: Gilad Chase [email protected]
refactor(apollo_l1_provider): copy over clone (#6763)
The provider should not directly edit these.
Note: due to this change, assert_eq will now re-use the
snapshotlogic, and in particular, only assert tx hashes rather than full
transactions.
Co-authored-by: Gilad Chase [email protected]
refactor(apollo_l1_provider): rename transaction->tx (#6803)
Co-authored-by: Gilad Chase [email protected]
chore(apollo_l1_provider): optimize commit-check (#6806)
refactor(apollo_l1_provider): rename transaction->tx
chore(apollo_l1_provider): optimize commit-check
Add
is_committed, which will:refactor).
committed_tx_hashes().Co-authored-by: Gilad Chase [email protected]
chore: merge branch main-v0.14.0 into main (with conflicts)
resolve conflicts
feat(apollo_signature_manager_types): define
KeyStoretrait (#6869)Signature service will be generic by it:
feat(apollo_signature_manager): add keystore to signature manager (#6870)
Merge pull request #6910 from starkware-libs/gc/merge-main-v0.14.0-into-main-1748924879
Merge main-v0.14.0 into main
chore: merge branch main-v0.14.0 into main (with conflicts)
chore(ci): resolve conflicts
fix(blockifier): fix name fetch compiled classes (#6956)
Merge pull request #6963 from starkware-libs/gc/merge-main-v0.14.0-into-main-1749040392
Merge main-v0.14.0 into main
feat(apollo_signature_manager): implement identity verification (#6993)
test(apollo_signature_manager): add tests for identity verification (#6994)
refactor(apollo_signature_manager): move peer ID type to types create (#7034)
To be used in the
SignatureManagerClienttrait, which appears in thetypes crate.
Also:
PeerIdwith a lowercased.impl From<Vec<u8>>.refactor(apollo_signature_manager_types): align client trait to final design (#7035)
To be used in the
SignatureManagerClienttrait, which appears in thetypes crate.
Also:
PeerIdwith a lowercased.impl From<Vec<u8>>.Only signing methods appear in trait, while verification ones will
appear as free functions -- to be called directly, not through a client.
feat(apollo_storage): add compiled class hash table (#6726)
refactor(starknet_api): derive
DerefforBlockHash(#7039)Change possible usages accordingly.
refactor(apollo_signature_manager): align service methods to match client trait (#7043)
feat(apollo_storage): write compiled class hashes in append state diff (#6727)
feat(apollo_state_reader): implement get compiled class hash at (#6729)
feat(apollo_signature_manager): implement verify precommit vote signature (#7040)
feat(apollo_signature_manager): implement identity signing (#7045)
feat(blockifier): add frame (#7185)
estimate_compiled_class_hash_migration_resources
fix(apollo_config): activate dep testing feature (#7219)
Signed-off-by: Dori Medini [email protected]
refactor(apollo_signature_manager): do not duplicate keys in tests (#7100)
fix(ci): run nightly on two main branches (#7217)
Signed-off-by: Dori Medini [email protected]
refactor(apollo_signature_manager): remove dep. of
derive_more(#7079)Derefimpl. is simple enough.feat(apollo_signature_manager): implement
sign_precommit_vote(#7080)feat(apollo_signature_manager): impl. req. handler for sig. manager (#7225)
refactor(apollo_signature_manager): create
PeerIdentitytest util (#7184)Will soon add nonce to it.
feat(apollo_signature_manager): convert to server (#7226)
refactor(apollo_signature_manager): refactor local key store (#7227)
Converted to non-const util.
Will be extracted to non-test code and used soon.
feat(apollo_signature_manager_types): add nonce to
IdentifyAPI (#7268)feat(apollo_signature_manager): add nonce to
IdentifyAPI (#7269)refactor(apollo_signature_manager): move local keystore out of tests (#7270)
refactor(apollo_signature_manager): move code from
lib.rs(#7310)NO changes, only move.
feat(apollo_signature_manager): add derive
Clone(#7314)For
KeyStoreandSignatureManager.This is an infra. requirement to be able to serve requests concurrently.
It is okay for this service, since it is currently stateless and
lightweight.
feat(apollo_signature_manager): define a local key store service variant (#7315)
This is supposed to be used in all test types (unit through
system/integration), not in prod.
In the effort of prep.-ing the service as a node component, and since
design is still missing re how would this service be built with a remote
KMS (and also no adequate infra. support of dependency injection yet) --
I chose to temporarily use this (local KMS) variant across the node.
refactor(blockifier): extract gas checked add with panic to a function (#7242)
feat(apollo_node): add signature manager to node (#7316)
chore: merge branch main-v0.14.0 into main (with conflicts)
chore: fix merge conflicts
Signed-off-by: Dori Medini [email protected]
Merge pull request #7334 from starkware-libs/dori/merge-main-v0.14.0-into-main-1750098180
Merge main-v0.14.0 into main
signature: define communication types (#7354)
Will be used up the stack.
signature: add sig. manager channels to node channels (#7357)
Will be used up the stack.
Will be used up the stack.
signature: add sig. manager client to node clients (#7358)
Will be used up the stack.
Will be used up the stack.
Will be used up the stack.
apollo_rpc_execution: Fix large BadDeclareTransaction variant (#7436)
apollo_batcher: Fix large StreamTransactionsError variant (#7437)
apollo_rpc_execution: Fix large BadDeclareTransaction variant
apollo_batcher: Fix large StreamTransactionsError variant
apollo_http_server: Fix large GatewayClientError variant (#7438)
apollo_rpc_execution: Fix large BadDeclareTransaction variant
apollo_batcher: Fix large StreamTransactionsError variant
apollo_http_server: Fix large GatewayClientError variant
ci: remove all #[allow(clippy::result_large_err)] (#7439)
apollo_rpc_execution: Fix large BadDeclareTransaction variant
apollo_batcher: Fix large StreamTransactionsError variant
apollo_http_server: Fix large GatewayClientError variant
ci: remove all #[allow(clippy::result_large_err)]
ci: remove submodule check, we dont have any subs anymore (#7455)
Co-authored-by: Gilad Chase [email protected]
signature: use local signature manager as server (#7467)
I intend integration to node to be done with the local veriant E2E (the
existing generic server was merged previous to this decision).
Additional thought is needed re using (at least) two types of server:
one with local key store for testing, and the other with a remote
(secure) one for production; or, in other words: for the server to be
generic in key store.
apollo_node: add signature manager to servers (#7468)
signature: add signature manager to consensus pod (#7481)
This is temporary, to allow integration; it will need to run in its own
pod, since it has permissioned access to remote KMS.
signature: add sig. manager client to consensus manager (#7365)
This is temporary, to allow integration; it will need to run in its own
pod, since it has permissioned access to remote KMS.
Still unused.
starknet_api: update read json file to have generic return type (#7332)
starknet_api: refactor compress_and_encode to have generic input type (#7477)
chore: merge branch main-v0.14.0 into main (with conflicts)
ci: fix Cargo.lock conflict
Signed-off-by: Dori Medini [email protected]
ci: fix conflicts
Signed-off-by: Dori Medini [email protected]
apollo_deployments: regenerate deployment files
Signed-off-by: Dori Medini [email protected]
blockifier: fix 0.14.1 VC
Signed-off-by: Dori Medini [email protected]
Merge pull request #7610 from starkware-libs/dori/merge-main-v0.14.0-into-main-1750931620
Merge main-v0.14.0 into main
blockifier: box CairoRunError (#7635)
l1: inline scraper test util (#7616)
Will soon convert this test into an integration test, which has no
access to test_utils, and to
FakeL1ProviderClientin particular, sonext we'll replace it with the mockall one, which requires asserting
before initializing the scraper.
Note: The reason why we'll convert the test to an integration test is
to prevent multiple Anvil instances running at once, which isn't
possible in unit tests which are parallelized.
Co-authored-by: Gilad Chase [email protected]
l1: remove duplicated calculation in test (#7617)
Will soon convert this test into an integration test, which has no
access to test_utils, and to
FakeL1ProviderClientin particular, sonext we'll replace it with the mockall one, which requires asserting
before initializing the scraper.
Note: The reason why we'll convert the test to an integration test is
to prevent multiple Anvil instances running at once, which isn't
possible in unit tests which are parallelized.
Co-authored-by: Gilad Chase [email protected]
blockifier: box ExecutionError in ctor error (#7636)
blockifier: box ExecutionError in TransactionExecutionError (#7637)
l1: detach setup from scraper (#7618)
Scraper initialization will soon be pushed down once we add
mockalll1 provider client.Note that the chain_id is identical to the one used when initializing
the scraper.
Co-authored-by: Gilad Chase [email protected]
blockifier: box TransactionFeeError in TransactionExecutionError (#7638)
blockifier: box TransactionPreValidationError in TransactionExecutionError (#7639)
blockifier: box TransactionFeeError in TransactionExecutionError
blockifier: box TransactionPreValidationError in TransactionExecutionError
l1: use identical const in test (#7619)
Co-authored-by: Gilad Chase [email protected]
blockifier: box ValidateTransactionError in TransactionExecutionError (#7640)
blockifier: box TransactionFeeError in TransactionExecutionError
blockifier: box TransactionPreValidationError in TransactionExecutionError
blockifier: box ValidateTransactionError in TransactionExecutionError
blockifier: box TransactionFeeError in TransactionPreValidationError (#7641)
l1: extract to variable for consistency (#7620)
Co-authored-by: Gilad Chase [email protected]
l1: rename only (#7621)
The name is wrong, it's not internal, it's external.
Internal will be renamed next, into "executable" by convention.
Co-authored-by: Gilad Chase [email protected]
l1: rename test variables (#7622)
Co-authored-by: Gilad Chase [email protected]
blockifier: refactor, replace checked_add with checked_add_with_overflow. (#7684)
l1: move scraper closer to usage in test (#7623)
Co-authored-by: Gilad Chase [email protected]
apollo_rpc_execution: box TransactionFeeError in ExecutionError (#7642)
l1: rename variable in scraper test (#7624)
l1: move scraper closer to usage in test
l1: rename variable in scraper test
Co-authored-by: Gilad Chase [email protected]
scripts: require src arg in merge_branches (#7746)
apollo_network: added arguments to network stress test (#7704)
native_blockifier: box StatefulValidatorError in NativeBlockifierError (#7643)
apollo_network: added prometheus exporter in network stress test (#7739)
native_blockifier,apollo_gateway: some allow result_large_err (#7644)
native_blockifier: box StatefulValidatorError in NativeBlockifierError
native_blockifier,apollo_gateway: some allow result_large_err
ci: rust 1.87 (#7645)
l1: switch from fake l1 provider client to mock (#7625)
Using
Sequenceto enforce order between the expectations.Co-authored-by: Gilad Chase [email protected]
l1: convert happy flow test into integration test (#7626)
MOVE only, no logic changes except making
send_events_to_l1_providerpub.
Co-authored-by: Gilad Chase [email protected]
l1: rename integration test files and test name (#7655)
Co-authored-by: Gilad Chase [email protected]
apollo_network: added utility function for making multi-addresses (#7682)
apollo_network: making private key from id in network stress test (#7740)
ci: rust 1.88 (#7711)
chore: merge branch main-v0.14.0 into main (with conflicts)
chore: fix conflicts
Signed-off-by: Dori Medini [email protected]
Merge pull request #7802 from starkware-libs/dori/merge-main-v0.14.0-into-main-1751811445
Merge main-v0.14.0 into main
apollo_consensus: unblock crate build by enabling tokio feature on apollo_time (#7812)
scripts: Install the starkware (cairo) specific deps (#7808)
apollo_network: conditional logging in stress test (#7741)
apollo_network: instantiating network manager in stress test (#7742)
apollo_network: using quic instead of tcp (#7519)
apollo_network: running network manager in stress test (#7749)
Merge constaking into main (#7805)
blockifier: add a utility to call view entry point (feat(blockifier): add a utility to call view entry point #6310)
blockifier_test_utils: add a mock staking contract (feat(blockifier_test_utils): add a mock staking contract #6463)
apollo_consensus_orchestrator: add a committee manager module (feat(apollo_consensus_orchestrator): add a committee manager module #6471)
blockifier: use non_reverting_execute when calling entry point (feat(blockifier): use non_reverting_execute when calling entry point #6534)
apollo_consensus_orchestrator: staker deserialisation logic (feat(apollo_consensus_orchestrator): staker deserialisation logic #6616)
apollo_consensus_orchestrator: committee manager implementation (feat(apollo_consensus_orchestrator): committee manager impl #6528)
apollo_consensus_orchestrator: add a cache to the committee manager (feat(apollo_consensus_orchestrator): add a cache to the committee manager #7504)
apollo_consensus_orchestrator: implement committee selection (feat(apollo_consensus_orchestrator): implement committee selection #7606)
apollo_consensus_orchestrator: resolve conflicts and fixes
blockifier: add l3 field to ChainInfo (#7729)
apollo_central_sync,apollo_class_manager_types: add compiled_class_hash_v2 in store compiled class (#7843)
blockifier: add l3 compatibility for addresses (#7763)
blockifier: test L3 compatability in syscalls (#7816)
chore: merge branch main-v0.14.0 into main (with conflicts)
apollo_class_manager: add compiled class hash v2 to class manager storage (#7844)
apollo_class_manager: rename executable class hash methods (#7850)
apollo_storage: rename compiled class hash tables (#7862)
fix: fix conflicts
apollo_starknet_os_program: add a TODO about fetching state of reverted L1 handler (#7882)
apollo_consensus_orchestrator: committee manager - get_proposer skeleton (#7796)
chore: merge branch main-v0.14.0 into main (with conflicts)
fix: fix merge conflicts
blockifier: add fn encode_felt252_data_and_calc_blake_hash_cost (#7147)
Merge remote-tracking branch 'origin/main' into nadin/merge-main-v0.14.0-into-main-1752051495
papyrus_node: fix feeder URL
apollo_network: sending p2p messages in network stress test (#7750)
ci: fix merge_branches script to unmerged-deleted mode (#7898)
apollo_network: renamed tcp port to udp (#7683)
blockifier: add estimate_casm_blake_hash_computation_resources (#7212)
papyrus_node: fix feeder URL (#7929)
signature: use
libp2p::PeerIdin sig. manager API (#7892)The
libp2ppeer ID has a specific format, and only legal ones can bebuilt. Used a constant value for tests (generated through
libp2p::PeerId::random()).signature: add sig. verification error enum (#7924)
Verification is not part of the signature manager, it is provided as
library functions (will probably be wrapped by a verifier trait later);
those two flows are separate, hence their error enums ought to be too.
fix conflicts
apollo_network: move
pub(crate) Bytesalias to top level (#7934)Leaving it at crate-level visibility so it doesn't clashes with other
existing types.
Merge pull request #7879 from starkware-libs/nadin/merge-main-v0.14.0-into-main-1752051495
merge main v0.14.0 into main 1752051495
workspace_tests: doc related cargo issues to no-self-deps lint (#7832)
Co-authored-by: Gilad Chase [email protected]
starknet_os: test os consts exist in path (#7935)
starknet_os: test cairo structs definition (#7936)
apollo_batcher: use type transaction offset in block in transaction receipt builder (#7172)
apollo_network: binding ip changed (#7959)
starknet_os: cosmetic fixes in audit (#7851)
ci: install black python linter (#7994)
apollo_consensus_orchestrator: prepare data needed for proposer selection (#7958)
ci: add python code style script, with black (#7995)
ci: install black python linter
ci: add python code style script, with black
apollo_network: receiving broadcast messages in network stress test (#7752)
ci: run black on all files (#7996)
ci: run python code style check in PRs (#7997)
ci: run black on all files
ci: run python code style check in PRs
ci: install isort (#8007)
ci: add isort phase in CI + fix (#8008)
ci: install isort
ci: add isort phase in CI + fix
ci: install autoflake (#8009)
ci: install isort
ci: add isort phase in CI + fix
ci: install autoflake
ci: move merge paths test to python code style test (#8012)
ci: add autoflake phase in CI + fix (#8010)
apollo_batcher: pre confirmed cende client testing (#7921)
starknet_os: deny unknown fields of block input (#8050)
apollo_consensus_orchestrator: randomness block hash implementation (#7965)
blockifier: add class hash to migrate to the bouncer (#7001)
blockifier: change current VC file name to 0.15.0 (#8028)
apollo_starknet_os_program: add blake hash state (#6930)
apollo_starknet_os_program: move compiled_class hash logic to poseidon_compiled_class_hash.cairo (#7562)
apollo_starknet_os_program: Add blake_compiled_class_hash (#7793)
blockifier: add compiled_class_hashes_for_migration to block_execution_summary (#7945)
blockifier_test_utils: add get_current_epoch to mock staking contract (#8005)
apollo_batcher: add compiled_class_hashes_for_migration to block_execution_artifact (#7944)
deployment: add monitoring endpoint port to the deployment file (#7957)
apollo_consensus_orchestrator: implement get_proposer with mock random generator (#7989)
apollo_batcher: add compiled_class_hashes_for_migration to central_objects (#7952)
blake2s: refactor packing blake hash result into a felt (#7981)
apollo_batcher: add compiled_class_hashes_for_migration to blob pram (#8049)
blockifier: add blake compiled class hash to state diff (#6936)
deployment: add http server port to the deployment file (#8056)
blockifier: create a mapping from casm hash v2 to casm hash (#7993)
blake2s: test implementation vs cairo (#7982)
blockifier: name change from to_migrate to for_migration (#8057)
blockifier: change accumulated weights from BouncerWeights to TxWeights (#7797)
starknet_os: deny unknown fields deserialization of os input (#8054)
apollo_consensus_orchestrator: add hashes_for_migration to aerospike_blob & blob_parameters (#7943)
chore: merge branch main-v0.14.0 into main (with conflicts)
apollo_network: removed mention of p2p port type (#8087)
apollo_network: create the interface used for custom authenticaions (#7931)
apollo_network: using the tracing crate for logging in network stress test (#7813)
apollo_network: network_stress_test: remove old scripts (#7919)
apollo_network: using the tracing crate for logging in network stress test
apollo_network: network_stress_test: remove old scripts
apollo_network: network_stress_test: added Dockerfile (#7920)
apollo_network: using the tracing crate for logging in network stress test
apollo_network: network_stress_test: remove old scripts
apollo_network: network_stress_test: added Dockerfile
apollo_network: network_stress_test: changed listening address to 0.0.0.0 (#7966)
apollo_network: using the tracing crate for logging in network stress test
apollo_network: network_stress_test: remove old scripts
apollo_network: network_stress_test: added Dockerfile
apollo_network: network_stress_test: changed listening address to 0.0.0.0
starknet_os: add migration class hashes to os block input (#7940)
blockifier: blake estimation use checked mul add in u32 count (#8108)
apollo_state_sync: add get_block_hash and change get_block to return BlockNotFound (#8089)
blockifier: blake est use checked arithmetics in steps count (#8109)
starknet_os: impl blake hints (#8115)
resolve merge conflicts
apollo_class_manager: add get class hash v2 to contract class manager (#8004)
starknet_os: blake hash test (#8116)
apollo_network: making addresses without specifying port type (#8088)
deployment: add ConsensusManager to ServicePort (#8135)
apollo_network: moved from quic to tcp (#8100)
deployment: add port consts (#8136)
deployment: add ports to the consolidated deployment file (#8139)
blockifier: test blake estimation (#8071)
deployment: add SignatureManager to ServicePort (#8143)
Merge remote-tracking branch 'origin/main' into matanl/merge-main-v0.14.0-into-main-1753015945
blockifier: refactor estimation blake constants (#8107)
deployment: add ports to the distributed deployment file (#8149)
apollo_state_sync: address PR 8089 comments, and add test (#8184)
starknet_os: test poseidon casm hash (#8079)
apollo_consensus_orchestrator: add CommitteeProvider trait and rename impl to StakingManager (#8104)
starknet_os: add compiled class v1 const (#8131)
deployment: add ports to the hybrid deployment file (#8152)
starknet_os: gather class facts in struct (#7881)
starknet_os: create cairo formatting test for the os (#8195)
Merge remote-tracking branch 'origin/main' into matanl/merge-main-v0.14.0-into-main-1753015945
starknet_os: fix program hash
Signed-off-by: Dori Medini [email protected]
apollo_deployments: add SignatureManager variant in match
Signed-off-by: Dori Medini [email protected]
apollo_deployments: fix data files
Signed-off-by: Dori Medini [email protected]
starknet_os: fix class poseidon hash
Signed-off-by: Dori Medini [email protected]
Merge pull request #8096 from starkware-libs/matanl/merge-main-v0.14.0-into-main-1753015945
Merge main-v0.14.0 into main
deployment: fix consolidated get_service_ports (#8183)
deployment: add SignatureManager to the DistributedNodeServiceName (#8207)
apollo_staking: create new crate and move the committee manager to it (#8114)
This change includes moving around code to new crate and splitting it to various files, but there are no code changes.
starknet_os: rename remining_gas and pass it directly (#7842)
apollo_central_sync: test class hash to compiled class hash sync (#7833)
starknet_os: compiled class hash builtins usage tests (#8163)
blockifier: add enable class hash migration flag (#8212)
native_blockifier: add compiled_class_hashes_for_migration to py objects (#7946)
blockifier: use migration flag (#8215)
l1: speed-up scraper test (#8240)
When the test was written, the default retry-interval was 0, now it is 2
and the test ran for > 10 seconds (5 retries, 2 seconds each).
Co-authored-by: Gilad Chase [email protected]
starknet_os: add an option to hash the entire contract (#8124)
starknet_api: move contract class file into a folder (#8254)
starknet_api: entry point hash (#8255)
blockifier: modify blake hash estimation to return execution resources (#8190)
starknet_api: hash bytecode in compiled class hash (#8256)
blockifier: assert only range_check in blake hash estimation (#8251)
chore: merge branch main-v0.14.0 into main (with conflicts)
starknet_os: Use the full contract flag in compiled class test (#8238)
starknet_os: fix documentation from 0.13.4 audit (#8013)
starknet_os: move compiled class v1 to starknet_api (#8257)
apollo_network: changed default session timeout (#8221)
apollo_network: renamed network stress test (#8211)
starknet_api: hash compiled class hash (#8258)
chore: fix conflicts
Signed-off-by: Dori Medini [email protected]
starknet_os: use new compiled class hash func in a test (#8259)
blockifier: blake hash estimation: modify fn input (#8252)
starknet_os: test blake hash estimation against reall run (felts input) (#8197)
starknet_os: change migrated class hashes from list to map of class hash → compiled class hash (#8169)
deployment: fix merge conflict
blockifier: test compiled class hash (#8260)
deployment: move L1-related service ports to L1 service (#8245)
chore: fix more conflicts
Signed-off-by: Dori Medini [email protected]
chore: fix committer benchmark
Signed-off-by: Dori Medini [email protected]
deployment: split ServicePort into Infra and BusinessLogic enums (#8253)
starknet_os: rename is_used to should load in complied class (#8248)
chore: merge remote-tracking branch 'origin/main' into dori/merge-main-v0.14.0-into-main-1753779619 (with conflicts)
deployment: rename ConsensusManager (#8287)
blockifier: impl hashable hash function for native (#8280)
deployment: alphabetize port constants (#8288)
chore: fix conflicts
Signed-off-by: Dori Medini [email protected]
Merge pull request #8284 from starkware-libs/dori/merge-main-v0.14.0-into-main-1753779619
chore: merge main v0.14.0 into main
blockifier: small fixes using the migration flag (#8300)
starknet_api: compiled class hash by version (#8281)
release: add branch for 0.14.1 (#8324)
release: add versioned constants json for v0.14.1 (#8337)
Merge main into main-v0.14.1 (#8384)
starknet_os: use newer blake hash function (starknet_os: use newer blake hash function #8321)
starknet_api: fix bug in compiled class hash (starknet_api: fix bug in compiled class hash #8314)
apollo_compile_to_casm: use the new compiled class hash function (apollo_compile_to_casm: use the new compiled class hash function #8282)
blockifier: estimate migration - connect bouncer and estimation logic (blockifier: estimate migration - connect bouncer and estimation logic #8231)
starknet_committer: input doesn't take ownership of the storage (starknet_committer: input doesn't take ownership of the storage #8291)
starknet_committer: rename map storage (starknet_committer: rename map storage #8315)
starknet_os: use newer blake hash function (starknet_os: use newer blake hash function #8321) (blockifier: update blake estimation for empty input #8323)
Co-authored-by: AvivYossef-starkware [email protected]
apollo_test_utils: fix casm test instance (apollo_test_utils: fix casm test instance #8340)
starknet_committer: add alias for map storage (starknet_committer: add alias for map storage #8316)
starknet_committer: delete duplicated definitions (starknet_committer: delete duplicated definitions #8322)
starknet_os_flow_tests: define crate (starknet_os_flow_tests: define crate #8341)
starknet_os_flow_tests: execute txs (starknet_os_flow_tests: execute txs #8342)
starknet_os_flow_tests: create state diff for the committer (starknet_os_flow_tests: create state diff for the committer #8343)
starknet_os_flow_tests: commit state diff (starknet_os_flow_tests: commit state diff #8344)
apollo_gateway: refactor validate compiled class hash error message (apollo_gateway: refactor validate compiled class hash error message #8356)
apollo_central_sync,apollo_compile_to_casm: compute the actual compiled class hash v2 (apollo_central_sync,apollo_compile_to_casm: compute the actual compiled class hash v2 #8292)
apollo_central_sync,apollo_compile_to_casm: compute the actual compiled class hash v2
starknet_api: use v2 hash in compiled class hash of contract class
apollo_state_reader: get compiled class hash v2 (apollo_state_reader: get compiled class hash v2 #8296)
Merge remote-tracking branch 'origin/main' into einatg/merge-main-into-main-v0.14.1-1754217970
No conflicts in main -> main-v0.14.1 merge, this commit is for any change needed to pass the CI.
Co-Authored-By: AvivYossef-starkware [email protected]
Co-Authored-By: avivg-starkware [email protected]
Co-Authored-By: nimrod-starkware [email protected]
starknet_os: make set up segment hash hint generic (#8417)
blockifier: get compiled class hash v2 state api (#8311)
blockifier: add blake opcode gas to bouncer config (#8310)
blockifier: get compiled class hash v2 state reader and contract manager (#8432)
blake2s: impl stark hash (#8418)
blockifier: get compiled class hash v2 versioned state (#8433)
starknet_os: fix blake get segment hash hint (#8419)
blockifier: get compiled class hash v2 cached state (#8434)
blockifier: rename class manager cache to class_cache (#8453)
starknet_os: make compiled class hash test generic (#8420)
starknet_os: move run compiled class hash entry point to a separate function (#8421)
blockifier: add compiled class hash v2 cache (#8454)
starknet_os: test poseidon casm hash estimation (#8233)
apollo_state_reader: fix papyrus get compiled class hash v2 (#8457)
blockifier: use blake_weight from bouncer_config (#8374)
blockifier: add struct nested_multiple_int_list (#8390)
blockifier: get compiled class hash v2 feature contract (#8436)
blockifier: impl create_bytecode_seg_inner (#8455)
blockifier: add bytecode_segment_felt_sizes to contract_class_v1 (#8392)
blockifier: add compiled class hash to feature data contract (#8471)
blockifier: use felt size to estimate blake casm hash (#8401)
starknet_os: delete skip_validations from cairo-0 runner (#8511)
blockifier: pass nested_multiple_int_list directly (#8462)
blockifier: get compiled class hash v2 dict state reader (#8435)
blockifier: move impl of nested_felt_counts (#8525)
apollo_gateway: disable casm hash migration in stateful transaction validator (#8509)
starknet_os: add migration to execute block (#8294)
apollo_rpc: use the actual compiled class hash when declering a class in tests (#8546)
apollo_rpc: save class hash v2 in prepere storage test util (#8547)
apollo_rpc_execution: fix get compiled class hash for state reader (#8548)
apollo_rpc_execution: impl get compiled class hash v2 for state reader (#8549)
starknet_os: change defalt compiled class hash func to blake (#8532)
blockifier: fix dict state reader (#8556)
starknet_os: remove blake unused whitelisted hints (#8552)
starknet_os: remove blake program bytes calculation (#8554)
blockifier: hashable nested int trait (#8450)
blockifier: add struct estimate_execution_resources (#8526)
apollo_storage: delete compiled class hash v2 in revert block (#8597)
native_blockifier: save compiled class hash v2 in append block (#8593)
starknet_os: add public key hash to os config (#8587)
blockifier: impl hashable_nested for nested_multiple_int_list (#8463)
starknet_os: add os config info and public key to aggregator input (#8588)
blockifier: add assign estimate_execution_resources (#8527)
starknet_os: add public key to starknet os input (#8589)
blockifier: const felt error smolstrings (#8629)
Signed-off-by: Dori Medini [email protected]
Signed-off-by: Dori Medini [email protected]
Signed-off-by: Dori Medini [email protected]
infra: bump rust to v1.89 (#8553)
Signed-off-by: Dori Medini [email protected]
Signed-off-by: Dori Medini [email protected]
Signed-off-by: Dori Medini [email protected]
Signed-off-by: Dori Medini [email protected]
Signed-off-by: Dori Medini [email protected]
Signed-off-by: Dori Medini [email protected]
blockifier: improve default compiled class hash error message (#8652)
apollo_storage: upsert compiled class hash v2 (#8653)
blockifier: add trait execution_resources_estimator (#8529)
starknet_os: add get poseidon hash to bytecode segments (#8633)
native_blockifier: update migrated classes in append block (#8651)
native_blockifier: store compiled class hash v2 declere tx (#8654)
blockifier: impl trait execution_resources_estimator (#8536)
starknet_os: add POTC public key (#8517)
blockifier: activate migration (#8377)
blockifier: refactor bouncer to hold compiled class hashes to migrate (#8568)
blockifier: allow from estimated_execution_resources to er and back (#8663)
blockifier: fn encode_and_blake_hash_resources return estimated_er (#8618)
blockifier: fix migration bug in get migration data (#8561)
blockifier: use bouncer
s compiled class hashes to migrate(#8569)blockifier: aviv take class_hashes_to_migrate from bouncer (#8601)
blockifier: fn cost_of_encode_: get estimatet_er and convert to gas (#8641)
blockifier: estimate_blake return estimated_execution_resources (#8624)
blockifier: update posiedon proving weight (#8700)
starknet_os: output txs_trace from os_run (#8512)
blockifier: change input to felt_size_counts: fn encode_blake (#8686)
apollo_storage: small fix in add migration class to append block state diff (#8675)
blockifier: change input to felt_counts fn compute_blake_hash_steps (#8702)
apollo_storage,apollo_gateway,apollo_central_sync: remove default compiled class hash from tests (#8669)
blockifier: aviv move set compiled class hash migration (#8722)
blockifier: change input to felt_counts fn count_blake_opcodes (#8704)
starknet_os: fix build without testing feature (#8735)
blockifier: encode blake in trait (#8695)
blockifier: rename blake encoding constants (#8731)
blockifier: refactor builtinWeights struct using builtinGasCosts struct (#8715)
starknet_os: remove public key hash and add public key to os hints config (#8672)
starknet_os: validate_builtins function (#8724)
infra: reduce starknet types core version for easy merge (#8734)
blockifier: encode_and_blake into trait (#8696)
blockifier: blake estimation: fix range check accounting and remove stale todo (#8626)
blockifier: add compiled class hash version to test state (#8742)
starknet_os: only hash public key if not 0 (#8717)
chore: merge branch main-v0.14.0 into main-v0.14.1 (with conflicts)
blockifier: remove duplication of vm_resources_to_gas and create calcolate_total_gas (#8754)
infra: fix conflicts
blockifier: unify from felts and from bytecode to counts (#8716)
apollo_deployments: fix missing signature config file
Merge pull request #8763 from starkware-libs/aviv/merge-main-v0.14.0-into-main-v0.14.1-1756025181
Merge main-v0.14.0 into main-v0.14.1
blockifier: add encode_u32_len in felt_size_count (#8745)
starknet_os: add v2hash to test_compiled_class_hash_resources_estimation (#8822)
blockifier: move estimate_steps_of_encode_felt252_data_and_calc_blake_hash in trait (#8813)
starknet_os: fix os migration function (#8600)
blockifier: create init data for compiled class hash migration test (#8743)
blockifier: add compiled class hash version to test state
blockifier: create init data for compiled class hash migration test
blockifier: remove fn compiled_class_v1.bytecode_segment_lengths (#8707)
blockifier: add blake_opcode_count in felt_size_count (#8692)
blockifier: remove test todos (#8620)
native_blockifier: allow tests ovrriding enable casm hash migration in vc (#8741)
blockifier: move tests from execution_utils_test to casm_hash_estimation_test (#8875)
blockifier: fix blake_weight (single blake opcode gas) value (#8877)
blockifier: implement estimated_resources_of_compiled_class_hash in trait (#8815)
deployment: install essential dependencies in bootstap (#8913)
Co-authored-by: Idan Shamam [email protected]
starknet_os: allow multiple public keys (#8782)
blockifier: add estimation of estimated_resources_of_bytecode_hash node_leaf cases (#8821)
blockifier: from class entry_points into runnable_class entry_points (#8882)
blockifier: estimated_execution_resources resources_ref (#8883)
starknet_os: add single_leaf_segment case to test_compiled_class_hash_resources_estimation (#8891)
blockifier: replace estimate_casm_poseidon with trait function (#8826)
blockifier: replace estimate_casm_blake with trait function (#8834)
blockifier: refactor fn to_sierra_gas in estimated_execution_resources (#8837)
blockifier: log debug class hashes to migrate (#8851)
starknet_os: add starknet's private keys using randomness and hashing (#8605)
starknet_os: make ec_op use EcOpBuiltin* (#8631)
starknet_os: calculate sn public keys (#8632)
blockifier: use v2hash instead of v1 hash for casm hash estimation (#8835)
blockifier: remove todo inline poseidon_hash_many_cost (#8893)
blockifier: clean-up get_tx_weights prep for migration clean-up (#8866)
blockifier: add casm entry_points estimation (#8827)
blockifier: organize migration estimation in bouncer (#8864)
starknet_os: remove builtins allowed margins from casm estimation test (#8905)
starknet_os: test_compiled_class_hash_resources_estimation- cleanup + add multi contracts (#8892)
apollo_integration_tests: add max proving_gas to end_to_end test (#8973)
blockifier: test migration (#8744)
blockifier: add disallow casm hash v1 declare falg to VC (#8889)
blockifier: rename builtins gas costs in builtin weights (#8985)
starknet_os: fix bug in key calculation (#9007)
starknet_os: remove with for implicit argument in get_public_key_hash (#9011)
starknet_os: argument reorder and documentation fixes for encryption (#9015)
blockifier: move migration computation out of get_tx_weights (#9016)
blockifier: updated block_max_capacity sierra_gas to 5b (#9014)
apollo_gateway: remove todo using compiled class hash v2 (#9024)
blockifier: test_bouncer_update - add migration and proving non trivial (#9030)
starknet_api: rename declered classes field of thin state diff (#9025)
blockifier: change computation logic in get_tx_weight (#8773)
starknet_api: add casm to get compiled class hash v2 (#9039)
blockifier: calculate casm hash v2 in dict state reader if its in cache (#9040)
starknet_os: naive encoding for blake (#8974)
blockifier_test_utils: add casm hash constants for each cairo1 contract (#9042)
infra: compile the specific crate in deployment docker files (#8719)
blockifier: remove erc20 version assumption in test state (#8998)
blockifier: delete external test state (#8999)
apollo_consensus_orchestrator: rename declared classes field to class hash to compiled class hash (#9047)
blockifier: return error instead of defualt from get_class_hash_v2 (#9101)
starknet_os: document functions related to encrypting state diff (#8929)
starknet_api: add migrated compiled class hashes to state diff (#9026)
blockifier: mention compiled_class_hash in comment (#9067)
starknet_os: documentation and syntax fixes for encryption (#9104)
apollo_starknet_client: remove feeder gateway fallback (#9129)
blockifier: change compiled class in get compiled class hash v2 to ref (#9116)
blockifier: change max_block_size value to match bouncer weights' sierra_gas (#9128)
apollo_gateway: return internal starknet errors without exposing internal failure reasons (#8774)
apollo_central_sync: drop db read transactions when unnecessary (#9138)
blockifier: change proving_gas (#9126)
starknet_api: remove unused error type (#9136)
apollo_state_sync: drop db read transactions when unnecessary (#9141)
chore: merge branch main-v0.14.0 into main-v0.14.1 (with conflicts)
apollo_gateway: convert sn api errors to sn errors (#9103)
infra: fix conflicts
starknet_os: add state diff decryption test utils (#9028)
starknet_os: add symmetric key encryptions (#9070)
Merge pull request #9151 from starkware-libs/arni/merge-main-v0.14.0-into-main-v0.14.1-1757477532
Merge main-v0.14.0 into main-v0.14.1
apollo_dashboard: fix observer serde to be string (cherry-pick from 0.14.0) (#9183)
blockifier: refactor create_init_data_for_compiled_class_hash_migration_test (#9149)
apollo_l1_provider: fix bug in assert_add_events_received_with (#9187)
apollo_config_manager: add config manager client to all components (#9021)
release: remove redundant license indications (#9182)
apollo_http_server_config: move the http server config to seperate crate (#9173)
apollo_deployments: remove duplicated port definition (#9198)
apollo_config_manager: add config manager runner to the component creation (#9124)
apollo_class_manager_config: move the class manager config to seperate crate (#9153)
apollo_l1_provider: add margin of error to assert_event_almost_eq (#9188)
apollo_deployments: use scale policy instead of boolean (#9200)
apollo_l1_endpoint_monitor_config: move the l1 endpoint monitoring config to seperate crate (#9177)
apollo_l1_gas_price: make lag_margin_seconds a Duration (#9167)
apollo_batcher_config: move the batcher config to seperate crate (#9145)
apollo_l1_provider: improve test utils so they dont surprise the user (#8800)
apollo_l1_provider: improve error message when missing startup height (#9055)
apollo_l1_provider: streamline test util objects to all use Vec instead of IndexMap (#8915)
apollo_l1_gas_price_provider_config: move the l1 gas price provider config to seperate crate (#9180)
apollo_gateway_config: move the gateway config to seperate crate (#9159)
apollo_deployments: use scale policy to to determine idle connections (#9201)
apollo_l1_provider: add metric for time between successful scrapes (#8780)
apollo_mempool_config: move the mempool config to seperate crate (#9211)
apollo_consensus_orchestrator: log metrics for gas price and eth/strk rate mismatches separately (#8812)
apollo_l1_provider: add metric for time between successful scrapes
apollo_consensus_orchestrator: log metrics for gas price and eth/strk rate mismatches separately
papyrus_base_layer: remove node_url from config (#9071)
scripts: add the part which updates the values in the parsed configs based on overrides (#8858)
blockifier: test class_hash_migration_data_from_state (#9148)
apollo_consensus_orchestrator: update gas target in versioned constants (#9118)
apollo_l1_scraper_config: move the l1 scraper config to seperate crate (#9209)
apollo_mempool_p2p_config: move the mempool p2p config to seperate crate (#9212)
apollo_sierra_compilation_config: move the sierra compilation config to seperate crate (#9218)
blockifier: clarify relation between sierra_gas and max_block_size (#9122)
apollo_monitoring_endpoint_config: move the monitoring endpoint config to seperate crate (#9215)
apollo_integration_tests: create genereic rpc invoke tx (#8055) (#9160)
apollo_metrics: cleanups (#9207)
apollo_deployments: refactor upgrade test env to be generated as others (#9210)
scripts: show diff between current and updated config (#8859)
apollo_integration_tests: fix missing blockifier testing dependcy (#9232)
apollo_deployments: split network config override to bootstrap and advertisement configs (#9214)
scripts: add the part that updates the node's configs (#8860)
apollo_deployments: refactor of moving the peer addr gen fn (#9217)
apollo_deployments: split network config override to bootstrap and advertisement configs
apollo_deployments: refactor of moving the peer addr gen fn
blockifier: add two missing v1 bound accounts + test (#9219)
Signed-off-by: Dori Medini [email protected]
apollo_deployments: moving the bootstrap peers list to be per deployment (#9230)
scripts: Add the final piece, optinally restart the nodes (#8862)
apollo_l1_provider: fix sporadic end_to_end test failures (#9225)
apollo_deployments: refactor to remove code duplication in config gen (#9202)
scripts: add an option to start job indices at a value other than 0 (#8931)
apollo_gateway: cherry-pick of stateful transaction validator refactor (#9253)
blockifier: add get_nonce func to StatefulValidatorTrait (blockifier: add get_nonce func to StatefulValidatorTrait #8244)
apollo_gateway: move get nonce inside stateful run validations (apollo_gateway: move get nonce inside stateful run validations #8250)
apollo_gateway: add Stateful Transaction factory, trait for testing, better practice (apollo_gateway: add Stateful Transaction factory, trait for testing, better practice #8268)
apollo_gateway: add StatefulTransactionValidatorFactoryTrait for testing (apollo_gateway: add StatefulTransactionValidatorFactoryTrait for testing #8289)
apollo_gateway: remove redundant error mapping from process_tx (apollo_gateway: remove redundant error mapping from process_tx #8305)
apollo_gateway: share code of process_tx test (apollo_gateway: share code of process_tx test #8325)
apollo_gateway: add process_tx instantiate_validator test (apollo_gateway: add process_tx instantiate_validator test #8326)
apollo_gateway: test process_tx coversions (apollo_gateway: test process_tx coversions #8347)
apollo_gateway: test process tx, stateless validation error (apollo_gateway: test process tx, stateless validation error #8906)
apollo_starknet_client: add migrated compiled class hashes to state diff (#9056)
papyrus_common: rename declerd class hash entry (#9231)
apollo_integration_tests: add 2 library call invoke tx to flow test (#7133) (#9163)
apollo_integration_tests: add 2 library call invoke tx to flow test (apollo_integration_tests: add library call invoke txs to integration tests #7133)
apollo_integration_tests: fix AccountTxGenerator invoke_tx to call TestContract fn (apollo_integration_tests: fix AccountTransactionGenerator invoke tx to call TestContract function #6838)
apollo_integration_tests: create custom invoke txs flow tests with direct test functions (apollo_integration_tests: create custom invoke txs flow tests with direct test functions #6939)
starknet_os: use encrypt_symmetric_key when processing data availability (#9233)
apollo_central_sync_config: move the central sync config to seperate crate (#9246)
starknet_os: add an encryption method (#9234)
apollo_consensus_orchestrator_config: move the consensus orchestrator config to seperate crate (#9251)
apollo_l1_gas_price_provider_config: move L1GasPriceScraperConfig to l1_gas_price_provider_config (#9260)
apollo_p2p_sync_config: move the p2p sync config to seperate crate (#9248)
apollo_central_sync_config: move the central sync config to seperate crate
apollo_p2p_sync_config: move the p2p sync config to seperate crate
apollo_state_sync_config: move the state sync config to seperate crate (#9252)
apollo_consensus_manager_config: move the consensus manager config to seperate crate (#9254)
apollo_l1_provider_config: move the l1 provider config to seperate crate (#9181)
apollo_integration_tests: add function to test_contract.cairo file (#7721) (#9168)
blockifier: use vc flag to check that we do not allow casm hash v1 declare (#8890)
blockifier: test get_tx_weights migration_gas delta (#9157)
apollo_deployments: add 3 nodes to upgrade test env (#9278)
Merge pull request #9064 from starkware-libs/arni/gateway/remove_unecessary_todos (#9265)
apollo_gateway: remove uneccessary todos
apollo_integration_tests: refactor declare_tx generation in flow tests (#7718 part 1) (#9169)
apollo_config_manager_config: move config manager config to seperate crate (#9277)
starknet_os: encrypt data availability (#9235)
starknet_os: test encrypt function (#9236)
apollo_node_config: move node config to seperate crate (#9279)
blockifier: test state diff class hash to compiled class hash is consistent with migration (#9068)
release: bump sequencer version (#9311)
scripts: split all the functions to a lib file and keep the main with only command line parsing (#8961)
starknet_os: add public keys to beginning of encryption (#9250)
apollo_starknet_client: remove redundent default (#9134)
apollo_integration_tests: generate empty contract declare tx (#7718 part 2) (#9194)
apollo_starknet_os_program: move encryption methods to a new file (#9325)
apollo_config_manager: replace ConsensusDynamicConfig with NodeDynamicConfig in ConfigManager (#9338)
apollo_config_manager: implement ConfigManagerRunner with periodic config updates (#9341)
chore: merge branch main-v0.14.0 into main-v0.14.1 (with conflicts)
chore: fix conflicts
Signed-off-by: Dori Medini [email protected]
chore: bump starknet-core version
Signed-off-by: Dori Medini [email protected]
chore: run py_code_style fixer
Signed-off-by: Dori Medini [email protected]
chore: regenerate service deployments
Signed-off-by: Dori Medini [email protected]
apollo_l1_provider_types: bug fix assert_event_almost_eq method not found (#9340)
apollo_consensus_orchestrator: add assertions to fee market logic (#9324)
starknet_os: test compute_public_key (#9285)
starknet_os: test encrypt_symmetric_key (#9308)
starknet_os: pseudorandom implementation for CoreHint::RandomEcPoint (#9176)
Signed-off-by: Dori Medini [email protected]
Signed-off-by: Dori Medini [email protected]
Signed-off-by: Dori Medini [email protected]
chore: PR comments
Signed-off-by: Dori Medini [email protected]
apollo_integration_tests: deploy contract and test it (#7719) (#9195)
starknet_os: add blake without encoding to the encryption utils (#9330)
Merge pull request #9347 from starkware-libs/dori/merge-main-v0.14.0-into-main-v0.14.1-1758113551
Merge main-v0.14.0 into main-v0.14.1
deployment: cdk8s fix backend config headers (#9370)
apollo_integration_tests: add new compiled invoke txs tests (#7988) (#9197)
starknet_os: create blake function wiythout encoding (#9292)
starknet_os: optimize hashing to avoid unecessary allocating in encryption (#9313)
starknet_os: add optimized blake function for 16 length word (#9352)
apollo_gateway: move the chain info into the stateful validator factory (#9086)
apollo_integration_tests: add cairo 0 flow test (#9379)
starknet_os: add optional RNG seed salt (#9372)
Signed-off-by: Dori Medini [email protected]
starknet_os: remove range_check from naive_encode_felt252s_to_u32s (#9328)
Co-authored-by: dorimedini-starkware [email protected]
apollo_gateway: add test on get_nonce fail (#9389)
starknet_os: add state diff encryption test util (#9111)
scripts: Fix a function call to send the enum and not the value of the enum (#9411)
scripts: Move parts that are only needed for the general script to the main (#9216)
scripts: add an enum flag that supports modifying all of our jobs, not just seuqencer core (#9135)
apollo_config_manager: add unit tests to the config manager runner (#9346)
blockifier: remove blake2s from dep (#9415)
blake2s: delete duplication with starknet types core (#9416)
scripts: add GREEN as a color to print (#9412)
scripts: Extract the service argument code from the shared lob to the only binary that needs it (#9426)
scripts: a script to enable/disable revert mode in the sequencer (#9255)
scripts: As requested, ArgsParseBuilder -> ApolloArgsParseBuilder (#9437)
scripts: Convert sh script to a py version (#9318)
apollo_config_manager: implement config updates from runner to manager (#9349)
starknet_os: small renames in potc security feature (#9449)
starknet_os: in the migration function fatch the compiled class in a hint (#9438)
scripts: Support custom list of cluster/namespace (#9433)
scripts: move the scripts to a prod subdir as requested (#9448)
starknet_os: generate comitee and sn_private_keys using randomness (#9314)
blockifier_reexecution: add v0.14.0 block (#9453)
starknet_os: fix aggregator test with python vm (#9466)
blockifier: use small threshold from type rs (#9428)
scripts: Wait between restarts on user input (#9463)
apollo_starknet_os_program: move encrypt state diff to a function (#9464)
scripts: fix the case of retart one by one and no cluster_list (#9475)
apollo_mempool_config: split config to static and dynamic (#9454)
scripts: Move the logs explorer url generation to common lib. (#9470)
apollo_gateway: correct logging error to print address (#9390)
apollo_integration_tests: add rpc invoke tx builder (#9380)
apollo_starknet_os_program: doc encryption (#9460)
apollo_integration_tests: add signature arg to generate_rpc_invoke_tx and add invoke_tx that use it (#9381)
apollo_gateway: extract async code from blocking task (#9424)
apollo_gateway: dependency inject transaction converter (#9476)
apollo_integration_tests: refactor block max capacity gas (#9503)
starknet_api: using internal implementation of sizeof mergedver (#9400)
starknet_api: using internal implementation of sizeof part2
starknet_api: using internal implementation of sizeof part3 (#8014)
starknet_api: using internal implementation of sizeof part4
starknet_api: using internal implementation of sizeof part4
blockifier: refactor bouncer weights (#9478)
apollo_deployments: convert loaded config to dynamic loaded config (#9455)
apollo_gateway: extract stateless validator from blocking task (#9498)
apollo_gateway: remove internal tx from blocking task (#9499)
apollo_config_manager_types: add mempool dynamic config (#9458)
apollo_deployments: convert loaded config to dynamic loaded config
apollo_deployments: convert loaded config to dynamic loaded config
apollo_config_manager_types: add mempool dynamic config
apollo_signature_manager: move blake utils to new utils mod in the crate (#9520)
starknet_os: move blake utils to os utils (#9521)
apollo_infra: delete blake2s crate (#9522)
starknet_os: fix blake2s finalize opcode command in naive blake (#9477)
apollo_node: add config manager runner server to node (#9427)
apollo_integration_tests: add reverted transaction validation on flow tests (#9456)
starknet_os: change all encoding to le in naive blake (#9487)
blockifier: refactor class manager logs (#9542)
apollo_integration_tests: add reverted transaction validation on integration tests (#9457)
blockifier: recompile contracts and fix magic numbers (#9559)
apollo_integration_tests: add helper and test functions to test_contract cairo 0 (#9384)
apollo_gateway: remove redundant instrument from validate (#9509)
apollo_http_server: parse unstructured json tx as string (#9407)
apollo_http_server: parse unstructured json tx as string
apollo_http_server: parse unstructured json tx as string
apollo_http_server: parse unstructured json tx as string
apollo_mempool: update dynamic config (#9459)
apollo_gateway: clean up bench (#9530)
starknet_os: small refactor in encrypt.cairo file (#9513)
starknet_os: change the naive unpack to only handle data of len 1 (#9508)
apollo_class_manager: Use empty CASM instead of vector (#9535)
apollo_rpc: fix typos (#9538)
apollo_gateway: add missing dep to testing feature (#9575)
starknet_os: audit refactor in the os config (#9502)
apollo_integration_tests: add tests for newly deployed contract (#9385)
apollo_class_manager: Use raw classes to avoid unwraps and conversions (#9533)
starknet_os: move starknet os config outside of block_context (#9489)
apollo_class_manager: remove deserialization of class (#9531)
apollo_class_manager: Clone value instead of whole class (#9537)
apollo_class_manager: Constrain CachedClassStorageError, add explicit From and bounds (#9534)
apollo_class_manager: Test nonexistent persistent root is created (#9536)
apollo_consensus: trace rebroadcast votes every 10secs (#9573)
apollo_integration_tests: make metric recorder init global in flow tests (#9488)
papyrus_base_layer: add test for monitored base layer switching endpoints (#9479)
ci: add limit to the regression in the committer benchmark (#9523)
apollo_integration_tests: use multi threads tokio runtime on flow tests (#9500)
apollo_rpc: fix typo in apollo rpc (#9540)
apollo_class_manager: Write classes atomically using temp dir (#9532)
apollo_compile_to_casm_types: add method that calculates size of serializable efficiently (#9587)
apollo_compile_to_casm: Add audited_libfunc_only config for the compiler (#9579)
chore: merge branch 0.14.0 into 0.14.1 (with conflicts)
chore: fix conflicts
Signed-off-by: Dori Medini [email protected]
papyrus_node: Papyrus cleanup - papyrus_reader (#9615)
papyrus_node: Papyrus cleanup - PapyrusReader (#9616)
chore: fix retry mechanism for services
Signed-off-by: Dori Medini [email protected]
apollo_batcher_config: add propose_l1_txs_every
Signed-off-by: Dori Medini [email protected]
apollo_consensus_orchestrator: fix import
Signed-off-by: Dori Medini [email protected]
apollo_compile_to_casm_types: add test for size method (#9560)
papyrus_node: Papyrus cleanup - papyrus_state.rs (#9629)
apollo_batcher: fix config again
Signed-off-by: Dori Medini [email protected]
apollo_deployments: regenerate deployments
Signed-off-by: Dori Medini [email protected]
apollo_node_config: include base prefix when pruning unset optionals (#9497)
papyrus_node: Papyrus cleanup - consensus README (#9620)
papyrus_node: Papyrus cleanup - papyrus_state.rs
papyrus_node: Papyrus cleanup - consensus README
apollo_consensus_orchestrator: add validators_ids to ContextConfig (#9468)
starknet_os: rename encrypt_dest to output_ptr (#9618)
papyrus_node: Papyrus cleanup - apollo storage README (#9621)
apollo_consensus_orchestrator: panic instead of infinite loop (#9631)
apollo_consensus: minor refactor to panics in the code. (#9613)
apollo_protobuf: use ProposalCommitment instead of BlockHash in fin (#9434)
papyrus_node: Papyrus cleanup - deployment (#9623)
Merge remote-tracking branch 'origin/main-v0.14.1' into dori/merge-main-v0.14.0-into-main-v0.14.1-1760860034 (with conflicts)
apollo_consensus_orchestrator: fix conflicts
Signed-off-by: Dori Medini [email protected]
blockifier: small fixes in block casm hash v1 error (#9283)
Merge pull request #9614 from starkware-libs/dori/merge-main-v0.14.0-into-main-v0.14.1-1760860034
Merge main v0.14.0 into main v0.14.1
apollo_consensus_manager: Refactor run function of the ConsensusManager (#9574)
apollo_protobuf: rename protobuf::Vote.block_hash to proposal_commitment (#9435)
apollo_config_manager: remove logging of request handling (#9641)
starknet_os: fix compress hint (#9663)
apollo_config: generic comma-separated deserializer (#9643)
apollo_config: add serialize_optional_comma_separated fn (#9