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

Update to v0.14.0-rc.0 #43

Merged
merged 615 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
615 commits
Select commit Hold shift + click to select a range
0944906
fix(consensus): interrupt_active_proposal at the end of the height (#…
matan-starkware Jan 5, 2025
5e57461
refactor: rename IntegrationTestSetup (#3103)
nadin-Starkware Jan 5, 2025
5745e22
feat(ci): push new artifacts along with native blockifier artifacts (…
avi-starkware Jan 5, 2025
2debbf9
feat(starknet_mempool): in CommitBlockArgs delete tx_hashes and add r…
Stavbe Jan 5, 2025
97e7650
feat(starknet_gateway): create transaction generator towards benchmar…
ArniStarkware Jan 5, 2025
2948ba6
feat(starknet_mempool_types): create deploy account exists entrypoint…
ArniStarkware Jan 5, 2025
92bc603
chore(blockifier): remove syscall_gas_costs from os_constans (#2864)
Yonatan-Starkware Jan 6, 2025
0dd87a8
feat(blockifier): take gas_consumed for CallInfo directly from CallRe…
TzahiTaub Jan 6, 2025
790ade6
feat(blockifier): remove ChargedResources from CallInfo (#3119)
TzahiTaub Jan 6, 2025
a474ddb
chore: move the await for aliveness to the run function (#3108)
nadin-Starkware Jan 6, 2025
d75a79f
feat(starknet_l1_provider): add scraper (#2853)
giladchase Jan 6, 2025
886e893
chore(cairo_native): update cairo native version to 0.2.5-rc1 (#2839)
meship-starkware Jan 6, 2025
024f765
feat(papyrus_storage): create class manager marker (#3054)
noamsp-starkware Jan 6, 2025
00b7ded
chore(cairo_native): add cairo version template for native tests (#3083)
meship-starkware Jan 6, 2025
affb6a4
chore(starknet_sequencer_node): add node runner id (#3125)
Itay-Tsabary-Starkware Jan 6, 2025
434c5e9
chore: fix MockGatewayClient not accessible in mempool p2p test (#3131)
AlonLStarkWare Jan 6, 2025
c7e38f5
feat(starknet_infra_utils): rename crate from infra_utils (#3129)
dorimedini-starkware Jan 6, 2025
7ee6f4c
chore(blockifier): test negative consumed gas (#3005)
avivg-starkware Jan 6, 2025
7ea07f7
chore(consensus): update logs in shc (#3100)
matan-starkware Jan 6, 2025
5fe0005
fix(starknet_mempool_p2p): remove test dependency from nontesting env…
eitanm-starkware Jan 6, 2025
dad6dad
chore(starknet_l1_provider): implement event fetch (#2854)
giladchase Jan 6, 2025
a0a2fa9
feat(starknet_sequencer_node): color the node id in blue (#3137)
alonh5 Jan 6, 2025
35003e2
refactor(starknet_integration_tests): rename sequencer structs (#3116)
nadin-Starkware Jan 6, 2025
471fd7e
chore(consensus): update logs in the state machine (#3112)
matan-starkware Jan 6, 2025
51645db
refactor(starknet_l1_provider): remove unused method (#3044)
giladchase Jan 6, 2025
5841764
chore(starknet_gateway): remove clippy error for gated feature in ben…
ArniStarkware Jan 6, 2025
6e57a80
fix(sequencing): cende panics if late (#3117)
matan-starkware Jan 6, 2025
7e1a97b
feat(starknet_l1_provider): add `height` arg (#3045)
giladchase Jan 7, 2025
397760d
fix(consensus): fix timeouts in context when validating a proposal (#…
matan-starkware Jan 7, 2025
42b8832
feat(starknet_batcher): log errors from the transaction provider (#3150)
yair-starkware Jan 7, 2025
7e6bce0
fix(consensus): the context doesn't need to tell the batcher to abort…
matan-starkware Jan 7, 2025
822fb0a
refactor(sequencing): cende context, add logic and tests (#3007)
DvirYo-starkware Jan 7, 2025
7849270
fix(consensus): set non-zero sequencer address in consensus context (…
yair-starkware Jan 7, 2025
12e7766
fix(sequencing): fix transactions serializtion (#3149)
Yael-Starkware Jan 7, 2025
95e7789
chore(starknet_sequencer_node): remove remote client config from acti…
nadin-Starkware Jan 7, 2025
35dfd3c
feat(sequencing): collect info from consensus to cende (#3158)
DvirYo-starkware Jan 7, 2025
ac90bf6
fix(starknet_gateway): sync state reader behavior same as rpc (#3123)
noamsp-starkware Jan 7, 2025
d8a20ef
chore(starknet_integration_tests): use jump_json_file from starknet_s…
lev-starkware Jan 7, 2025
c758edc
test(starknet_integration_tests): test deploy account txs in flow tes…
yair-starkware Jan 7, 2025
724ed39
chore(starknet_batcher): changing default batcher storage config (#3167)
lev-starkware Jan 8, 2025
aa2ef2c
fix(blockifier): block get_class_hash syscall in validate mode (#3136)
noaov1 Jan 8, 2025
cb339eb
fix(starknet_integration_tests): send 2 txs per second (#3159)
alonh5 Jan 8, 2025
41080c5
chore: merge branch main-v0.13.4 into main (with conflicts)
meship-starkware Jan 8, 2025
4b70888
chore(starknet_integration_tests): zip vector iteration (#3164)
Itay-Tsabary-Starkware Jan 8, 2025
0ba1deb
chore(starknet_sequencer_node): remove remote server config (#3160)
nadin-Starkware Jan 8, 2025
50ec216
chore(starknet_l1_provider): connect l1 scraper to infra (#2855)
giladchase Jan 8, 2025
bbd4439
merge branch main-v0.13.4 into main (without conflicts)
meship-starkware Jan 8, 2025
db2e07f
test(blockifier): fix broken revert-recurse fee check in test (#3133)
dorimedini-starkware Jan 8, 2025
388941e
chore(starknet_gateway): remove todo massage that was already covered…
ArniStarkware Jan 8, 2025
55c7bc0
test(starknet_sequencer_node): color node id in logs (#3169)
eitanm-starkware Jan 8, 2025
3d4a638
chore(starknet_sequencer_node): remove socket from RemoteClientConfig…
nadin-Starkware Jan 8, 2025
f4b25dd
chore(starknet_integration_tests): use iterator instead of vec push (…
Itay-Tsabary-Starkware Jan 8, 2025
231b191
Merge remote-tracking branch 'origin/main' into meshi/merge-main-v0.1…
meship-starkware Jan 8, 2025
6a397db
Merge remote-tracking branch 'origin/main' into meshi/merge-main-v0.1…
meship-starkware Jan 8, 2025
880a10a
fix(cairo_native): fix cairo native submdoule commit hash (#3199)
meship-starkware Jan 9, 2025
d3da3de
fix(sequencing): change path in the recorder (#3187)
DvirYo-starkware Jan 9, 2025
9e1a04a
chore(blockifier): prepare consuming finalize (#3188)
aner-starkware Jan 9, 2025
a88666c
chore(consensus): differentiate between receiving and accepting a vot…
matan-starkware Jan 9, 2025
1a4ecd4
feat(starknet_api): add try_from transaction to executable tx in depl…
ArniStarkware Jan 9, 2025
f3596b2
Merge remote-tracking branch 'origin/main' into meshi/merge-main-v0.1…
meship-starkware Jan 9, 2025
b1f93c9
refactor(starknet_api,blockifier): to_discounted_gas_amount (#2874)
dorimedini-starkware Jan 9, 2025
093a740
chore(starknet_integration_tests): add pre-compile warning (#3181)
Itay-Tsabary-Starkware Jan 9, 2025
58838d1
refactor(starknet_l1_provider): extract `L1Provider` into file (#3189)
giladchase Jan 9, 2025
33f780d
chore(starknet_integration_tests): create execution index when applic…
Itay-Tsabary-Starkware Jan 9, 2025
2a05b60
chore(consensus): update logs for validating a proposal (#3213)
matan-starkware Jan 9, 2025
a4102d8
refactor(starknet_l1_provider): extract transaction_manager into file
Jan 8, 2025
caf0deb
Merge pull request #3178 from starkware-libs/meshi/merge-main-v0.13.4…
dorimedini-starkware Jan 9, 2025
e459eca
Merge pull request #3192 from starkware-libs/gilad/split-files-2
giladchase Jan 9, 2025
9523120
chore(starknet_mempool): rename to has_tx_from_address to better refl…
ArniStarkware Jan 9, 2025
6f72e5c
chore(consensus): update logs for building a proposal (#3222)
matan-starkware Jan 9, 2025
0597671
feat(starknet_mempool): implement has_tx_from_address (#3126)
ArniStarkware Jan 9, 2025
e8568ea
test(sequencing): add non-default values to central objects test (#3197)
Yael-Starkware Jan 12, 2025
26cc462
docs(papyrus_p2p_sync): stream builder docs (#3236)
eitanm-starkware Jan 12, 2025
3331548
chore(papyrus_p2p_sync): remove block number from streams (#3086)
eitanm-starkware Jan 12, 2025
5772bd5
refactor(papyrus_network): remove bin_utils file (#3234)
ShahakShama Jan 12, 2025
4a2851f
feat(consensus): use generic stream id in StreamHandler (#1714)
guy-starkware Jan 12, 2025
8771d7a
test(blockifier_reexecution): get_block_numbers_for_reexecution (#3211)
aner-starkware Jan 12, 2025
0c9e730
revert(starknet_integration_tests): remove mempool p2p flow test (#3241)
ShahakShama Jan 12, 2025
2d7451c
fix(papyrus_network): remove unwanted error when query request channe…
eitanm-starkware Jan 12, 2025
c337e9f
test(sequencing): add non-default values to central objects test (#3198)
Yael-Starkware Jan 12, 2025
ca1a932
chore(starknet_sequencer_node): remove option from local server confi…
nadin-Starkware Jan 12, 2025
af6d9b1
chore: pre-run clean up of sequencer processes (#3243)
Itay-Tsabary-Starkware Jan 12, 2025
ea86781
fix(starknet_state_sync_types): add missing client function doc (#3233)
noamsp-starkware Jan 12, 2025
2148a1e
feat(papyrus_network): split network config creation and conversion t…
ShahakShama Jan 12, 2025
b89df0e
test(starknet_mempool): add case for has_tx_from_address (#3153)
ArniStarkware Jan 12, 2025
a4fec09
fix(papyrus_p2p_sync): log with info when internal block is added (#3…
ShahakShama Jan 12, 2025
70e3445
chore(starknet_l1_provider): add fake l1 provider client (#2856)
giladchase Jan 12, 2025
d75860c
refactor(papyrus_config): param not found error message (#3254)
eitanm-starkware Jan 12, 2025
b1e0c39
test(papyrus_p2p_sync): add class negative flow tests to client (#1943)
noamsp-starkware Jan 12, 2025
da8fd1d
refactor(papyrus_p2p_sync): change P2P to P2p everywhere (#3237)
noamsp-starkware Jan 12, 2025
5826dca
test(cairo_native): test papyrus state reader get compiled class (#2949)
meship-starkware Jan 12, 2025
9b1c4c3
fix(papyrus_p2p_sync): fix create_random_state_diff_chunk_with_class …
noamsp-starkware Jan 12, 2025
3104720
fix(starknet_state_sync): latest block marker is checked as min of st…
noamsp-starkware Jan 12, 2025
4116a4a
feat: add handle_all_response_variants macro (#3229)
lev-starkware Jan 13, 2025
9478bd2
chore: provide context in mock register broadcast topic and on Broadc…
AlonLStarkWare Jan 13, 2025
a16b2ce
test(blockifier): refactor account_transaction_test (#3250)
TzahiTaub Jan 13, 2025
806bd69
fix(consensus): shc should warn when getting invalid proposal height …
asmaastarkware Jan 13, 2025
de245f9
fix(consensus): shc should warn when there are conflicting votes (#3266)
asmaastarkware Jan 13, 2025
cee26cb
chore: bump metrics version (#3255)
yair-starkware Jan 13, 2025
fde2171
chore(starknet_state_sync): boxing SyncBlock in requests and response…
lev-starkware Jan 13, 2025
034a3d0
chore(consensus): unify into/try_from Vec<u8> traits (#3132)
guy-starkware Jan 13, 2025
d6ecbe4
feat(starknet_integration_tests): enable state sync in integration te…
nadin-Starkware Jan 13, 2025
20d4dac
test(blockifier): add old cairo 1 to test_initial_gas (#3262)
TzahiTaub Jan 13, 2025
f1ec757
feat(starknet_sierra_compile_types): add crate (#3245)
elintul Jan 13, 2025
a4bd27a
test(papyrus_p2p_sync): add internal block to sync (#3000)
eitanm-starkware Jan 13, 2025
3181ef1
refactor(papyrus_p2p_sync): rename stream builder (#3231)
eitanm-starkware Jan 13, 2025
d2d5498
test(starknet_mempool): mempool content builder with state (#3152)
ArniStarkware Jan 13, 2025
a883c8d
test(starknet_mempool): create has_tx_from_address unit test (#3217)
ArniStarkware Jan 13, 2025
1f37751
chore(papyrus_network): reduce log level to debug on peer assignment …
eitanm-starkware Jan 13, 2025
457b5e4
test(cairo_native): add native to transactions test (#3041)
meship-starkware Jan 13, 2025
737a133
chore: external and internal transaction wrappers (#3146)
AlonLStarkWare Jan 13, 2025
d23aa5d
chore(starknet_integration_tests): pass the number of composed sequen…
nadin-Starkware Jan 13, 2025
8aedfdb
chore(papyrus_network): move log of sending response to nw and remove…
eitanm-starkware Jan 14, 2025
767d6d2
chore(papyrus_network): remove peerid from send query fn (#3284)
eitanm-starkware Jan 14, 2025
cd60f53
fix(papyrus_p2p_sync): internal block received logs (#3141)
eitanm-starkware Jan 14, 2025
dd2af61
chore(papyrus_network): remove double log on session assigned (#3278)
eitanm-starkware Jan 14, 2025
2245c5e
chore: use of handle_all_response_variants macro instead of handle_re…
lev-starkware Jan 14, 2025
82b1537
chore: add gitconfig that ignores cairo native (#3290)
ShahakShama Jan 14, 2025
c66c52f
feat(starknet_integration_tests): enable state sync in the flow test …
nadin-Starkware Jan 14, 2025
7aed86a
chore(papyrus_p2p_sync): class stream return on internal block (#3239)
eitanm-starkware Jan 14, 2025
d3bc2e1
refactor(starknet_l1_provider): rename tx_manager fields (#3194)
giladchase Jan 14, 2025
878a3bc
chore(consensus): use InternalInconsistency instead of InvalidEvent (…
asmaastarkware Jan 14, 2025
458a935
feat(starknet_sierra_compile): add `SierraCompiler` (#3292)
elintul Jan 14, 2025
7417fd9
feat(ci): feature combos build in nightly (#3296)
dorimedini-starkware Jan 14, 2025
fb4abfb
chore(papyrus_network): remove double log for request peer assignment…
eitanm-starkware Jan 14, 2025
6ddb9be
chore(sequencing): reorder central transactions fields (#3230)
Yael-Starkware Jan 14, 2025
eee99d6
chore(papyrus_network): remove PeerTrait which is leftover of mock pe…
ShahakShama Jan 14, 2025
b6bffd0
refactor(consensus): remove BlockNumber from RunHeightRes::Sync (#3082)
asmaastarkware Jan 14, 2025
b8c6dc8
fix(starknet_class_manager_types): use right type of executable trans…
ShahakShama Jan 14, 2025
8c46547
refactor(starknet_api): move `GlobalContractCache` from `blockifier` …
elintul Jan 14, 2025
7ce508a
fix(ci): fix run_feature_combos_test.py (#3301)
dorimedini-starkware Jan 14, 2025
33987a8
chore(starknet_state_sync_types): remove allow large enum variant (#3…
ShahakShama Jan 14, 2025
44dac1f
feat(starknet_batcher): add revert functionality (#3182)
DvirYo-starkware Jan 14, 2025
964068a
test(papyrus_p2p_sync): use run_test in transaction test (#3260)
ShahakShama Jan 14, 2025
0d7fc03
chore(consensus): update span for the context handling proposals (#3320)
matan-starkware Jan 14, 2025
dc003d1
chore(blockifier_reexecution): small description fixes (#3273)
aner-starkware Jan 14, 2025
dd26be5
fix(starknet_api): add alias to Resource::L1DataGas for FGW deseriali…
ShahakShama Jan 14, 2025
0d45204
chore(starknet_mempool): rename has_tx_from_address to contains_tx_fr…
ArniStarkware Jan 14, 2025
2b785d4
test(blockifier): refactor transactions_test (#3269)
TzahiTaub Jan 14, 2025
c4ca67f
fix: fix cargo lock update (#3330)
meship-starkware Jan 15, 2025
62c6510
chore(papyrus_p2p_sync): adjust log levels (#3316)
eitanm-starkware Jan 15, 2025
3baeb88
chore(papyrus_network): log new inbound query and change msg log leve…
eitanm-starkware Jan 15, 2025
15285e6
fix(starknet_batcher): fix for feature combo build (#3328)
dorimedini-starkware Jan 15, 2025
0342b11
fix(papyrus_node): update proposal channels and pass sync_retry_inter…
asmaastarkware Jan 15, 2025
84e6063
refactor: move VersionedConstants macro, errors from Blockifier to St…
ayeletstarkware Jan 15, 2025
6464881
chore(starknet_infra_utils): unify test util mods (#3322)
Itay-Tsabary-Starkware Jan 15, 2025
4b931bf
refactor(starknet_batcher): refactor revert_block and add_sync_block …
Yael-Starkware Jan 15, 2025
53b06ea
feat(starknet_l1_provider): add `SoftDeleteIndexMap` (#3208)
giladchase Jan 15, 2025
e940132
chore(starknet_gateway): refactor skip validate check towards early r…
ArniStarkware Jan 15, 2025
f737720
feat(starknet_gateway): use contains_tx_from to skip validate (#3294)
ArniStarkware Jan 15, 2025
efbc33c
test(sequencing): test sierra contract class serialization (#3039)
Yael-Starkware Jan 16, 2025
2276b83
fix(papyrus_network): track connection id for peers before identify e…
ShahakShama Jan 16, 2025
32ab957
refactor(starknet_gateway): make expect_add_tx configurable with cust…
ayeletstarkware Jan 16, 2025
453e3f1
feat(consensus): add versioned constants to Consensus (#3223)
ayeletstarkware Jan 16, 2025
be32bfa
chore(consensus): remove config default for chain_id config parameter…
guy-starkware Jan 16, 2025
e576d4f
feat(ci): add prefix for papyrus docker publish tag trigger (#3365)
dorimedini-starkware Jan 16, 2025
b43ae77
feat(starknet_integration_tests): add dummy_recorder binary (#3166)
DvirYo-starkware Jan 16, 2025
1b7b826
feat(starknet_api): add contract_address to InternalRpcTransaction (#…
ShahakShama Jan 16, 2025
b307553
fix(ci): prevent workflow cancellation due to multiple concurrent mer…
adi-yakovian-starkware Jan 16, 2025
7dd1dbd
fix(blockifier): temporarily disable cairo native workflows (#3372)
noaov1 Jan 16, 2025
15fcf9f
test(starknet_gateway): add cases to test add tx (#3363)
ayeletstarkware Jan 16, 2025
1e9cbaf
test(sequencing): serialize compiled_contract_class to the central ob…
Yael-Starkware Jan 16, 2025
a7b7801
chore(starknet_l1_provider): add l1 scraper test (#2857)
giladchase Jan 16, 2025
bdd2b78
fix(ci): fix scraper test on local (#3396)
giladchase Jan 16, 2025
1afe979
pull main
FrancoGiachetta Jan 17, 2025
931cb2c
merge replay
FrancoGiachetta Jan 17, 2025
224c8e8
format
FrancoGiachetta Jan 17, 2025
d936ed8
format
FrancoGiachetta Jan 17, 2025
8c2c626
merge
FrancoGiachetta Jan 17, 2025
0bca175
cargo update
FrancoGiachetta Jan 17, 2025
dd4e2fc
format
FrancoGiachetta Jan 17, 2025
c393a86
update native
FrancoGiachetta Jan 17, 2025
68ccf63
feat(starknet_class_manager): add storage trait and a cached implemen…
elintul Jan 19, 2025
0a644bf
fix(ci): install deps before rust, fixes taplo sporadic OOM (#3355)
giladchase Jan 19, 2025
5d2ddf2
feat(sequencing): add execution info central object (#3238)
Yael-Starkware Jan 19, 2025
91959dc
refactor(consensus): use versioned constants in fee market, consensus…
ayeletstarkware Jan 19, 2025
8d7a10f
fix(ci): always install Anvil (#3429)
giladchase Jan 19, 2025
f54a44f
chore(starknet_api): create trait for calculate_contract_address (#3210)
ArniStarkware Jan 19, 2025
f43d17f
chore(papyrus_network): stress test utils (#2892)
eitanm-starkware Jan 19, 2025
2d6e7e4
feat(starknet_sequencer_node): creating communication clients for cla…
lev-starkware Jan 19, 2025
26e2d62
fix(starknet_api): use RpcTransaction variants in InternalRpcTransact…
ShahakShama Jan 19, 2025
a5c4006
feat(starknet_batcher): storage height metric (#3272)
yair-starkware Jan 19, 2025
4a52091
chore(consensus): change SHC logs which also exist in context to debu…
matan-starkware Jan 19, 2025
9bc61af
fix(blockifier): add lock (#3456)
noaov1 Jan 19, 2025
bbbcfb4
chore(starknet_gateway): reduce add_tx info log (#3458)
alonh5 Jan 19, 2025
971319d
feat(papyrus_p2p_sync): add to client class manager client (#3055)
noamsp-starkware Jan 19, 2025
dfee7fc
refactor(papyrus_protobuf): align common.proto with p2p-specs (#3364)
AlonLStarkWare Jan 19, 2025
fa1e4b3
test(sequencing): fix central bouncer weights test (#3348)
Yael-Starkware Jan 19, 2025
60f1a26
chore(papyrus_common): reallocate and remove redundant functions (#3342)
Itay-Tsabary-Starkware Jan 19, 2025
48f23ca
refactor(starknet_sequencer_node): reordering of clients.rs (#3455)
lev-starkware Jan 19, 2025
7939fe8
refactor(starknet_integration_tests): rename SequencerSetupManager (#…
nadin-Starkware Jan 19, 2025
a897609
chore(starknet_sequencer_infra): remove Sync trait bound from remote …
Itay-Tsabary-Starkware Jan 19, 2025
93e6b27
feat(starknet_sequencer_infra): adding concurrent server (#3344)
lev-starkware Jan 20, 2025
e653591
chore: merge branch main-v0.13.4 into main (with conflicts)
dorimedini-starkware Jan 20, 2025
4056147
chore: fix conflicts
dorimedini-starkware Jan 20, 2025
1c4d2ef
fix(starknet_class_manager_types): fix TransactionConverterTrait to b…
ShahakShama Jan 20, 2025
d233fa5
chore: reinstate commented cairo-native CI phases
dorimedini-starkware Jan 20, 2025
d78eeae
chore(starknet_http_server): parse region using header map (#3175)
ArniStarkware Jan 20, 2025
cc87929
chore(starknet_integration_tests): add NodeSetup struct (#3467)
nadin-Starkware Jan 20, 2025
7c8a7cd
chore(blockifier): add todo names
Itay-Tsabary-Starkware Jan 19, 2025
09664dc
chore(native_blockifier): add todo names
Itay-Tsabary-Starkware Jan 19, 2025
65f8234
chore: p2p add todo names
Itay-Tsabary-Starkware Jan 19, 2025
afaf72a
chore(starknet_integration_tests): add batcher and http_server to Com…
nadin-Starkware Jan 19, 2025
cd8a263
Merge pull request #3493 from starkware-libs/dori/merge-main-v0.13.4-…
dorimedini-starkware Jan 20, 2025
250286f
Merge pull request #3469 from starkware-libs/spr/main/b2375cae
nadin-Starkware Jan 20, 2025
c2fb40e
Merge pull request #3475 from starkware-libs/spr/main/7a865b67
Itay-Tsabary-Starkware Jan 20, 2025
1080548
refactor(starknet_integration_tests): rename SequencerExecutionId (#3…
nadin-Starkware Jan 20, 2025
a62a900
chore(starknet_integration_tests): add batcher_storage_reader to the …
nadin-Starkware Jan 20, 2025
315a0c5
fix(starknet_class_manager_types): convert internal to executable ret…
noamsp-starkware Jan 20, 2025
4274502
chore(starknet_integration_tests): add new function to NodeSetup (#3492)
nadin-Starkware Jan 20, 2025
4a5121c
remove starknet-compile
FrancoGiachetta Jan 20, 2025
d317358
fix(starknet_class_manager_types): can return StarknetApiError in Tra…
ShahakShama Jan 20, 2025
72cee76
add sierra emu
FrancoGiachetta Jan 20, 2025
360d807
fix clippy
FrancoGiachetta Jan 20, 2025
e779088
feat(starknet_sierra_multicompile): rename starknet sierra compile cr…
dorimedini-starkware Jan 20, 2025
916c587
chore: merge branch main-v0.13.4 into main (with conflicts)
dorimedini-starkware Jan 20, 2025
4039529
chore: fix conflicts
dorimedini-starkware Jan 20, 2025
6f9eaaf
feat(starknet_batcher): emit proposal metrics (#3305)
yair-starkware Jan 20, 2025
5c0226f
refactor(papyrus_protobuf): replace rpc_transaction with mempool_tran…
AlonLStarkWare Jan 20, 2025
193fe22
feat(starknet_class_manager_types): implement rpc to and from interna…
ShahakShama Jan 20, 2025
fa9534d
fix(starknet_batcher): change block full condition in block builder
alonh5 Jan 20, 2025
44dcec5
feat(starknet_batcher): emit transaction metrics (#3315)
yair-starkware Jan 20, 2025
2ee24be
feat(starknet_integration_tests): test a block that finishes on block…
alonh5 Jan 20, 2025
d464196
fix: expose cairo_native blockifier artifact for local repo interacti…
avi-starkware Jan 20, 2025
e1a6dc0
refactor(papyrus_protobuf): align class.proto (#3367)
AlonLStarkWare Jan 20, 2025
316e016
fix(starknet_batcher): change block full condition in block builder (…
alonh5 Jan 20, 2025
f1617c4
Merge pull request #3525 from starkware-libs/dori/merge-main-v0.13.4-…
dorimedini-starkware Jan 20, 2025
44d1b0e
Merge pull request #3472 from starkware-libs/01-19-feat_starknet_inte…
alonh5 Jan 20, 2025
75c6125
chore(starknet_integration_tests): compare vec rather than hashset (#…
alonh5 Jan 20, 2025
cbd83eb
feat(starknet_sequencer_node): adding compilation unit to component i…
lev-starkware Jan 20, 2025
bd18895
Merge remote-tracking branch 'upstream/main' into update-to-main
JulianGCalderon Jan 20, 2025
b18a49c
Merge remote-tracking branch 'upstream/main' into update-to-main
JulianGCalderon Jan 20, 2025
916fe91
Merge branch 'replay' into update-to-main
JulianGCalderon Jan 20, 2025
6f48507
chore(blockifier): update cairo native version to 2.9 (and bump compi…
noaov1 Jan 21, 2025
d62cda8
chore(ci): fix papyrus docker publish tag filter (again) (#3544)
dorimedini-starkware Jan 21, 2025
c29f208
chore(cairo_native): add stack size config (#3533)
meship-starkware Jan 21, 2025
9c66b9d
Merge branch 'replay' into update-to-main
JulianGCalderon Jan 21, 2025
655b4a8
chore(blockifier): set crate versions for publish (#3562)
dorimedini-starkware Jan 21, 2025
52b058c
fix(cairo_native): change stack size to max using threads (#3401)
meship-starkware Jan 21, 2025
13a4734
fix(cairo_native): fix gitconfig to automatically sync the cairo_nati…
avi-starkware Jan 21, 2025
b4e1ab6
chore(blockifier): remove unnecessary log - native execution (#3541)
avivg-starkware Jan 22, 2025
9dbf3c9
chore(ci): fix local dev-dependencies on member crates to path (#3591)
dorimedini-starkware Jan 22, 2025
545761f
chore(starknet_sierra_multicompile): add description to crate (#3594)
dorimedini-starkware Jan 22, 2025
3e9dc67
Force Sierra Gas
JulianGCalderon Jan 24, 2025
380db8c
Use VM if tracked resource is Cairo Steps
JulianGCalderon Jan 24, 2025
daf829c
Refactor contract class timer
JulianGCalderon Jan 24, 2025
d6f16e2
Add only_native feature
JulianGCalderon Jan 29, 2025
09eecdf
Merge tag 'v0.14.0-rc.0' into update-to-main
JulianGCalderon Jan 29, 2025
eb718c5
Add builtin
JulianGCalderon Jan 29, 2025
0b2bbcd
Merge branch 'replay' into update-to-main
JulianGCalderon Jan 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[env]
CAIRO_NATIVE_RUNTIME_LIBRARY = "./libcairo_native_runtime.a"
CAIRO_NATIVE_RUNTIME_LIBRARY = "../blockifier/libcairo_native_runtime.a"
LLVM_SYS_191_PREFIX = "/usr/lib/llvm-19/"
MLIR_SYS_190_PREFIX = "/usr/lib/llvm-19/"
TABLEGEN_190_PREFIX = "/usr/lib/llvm-19/"
Expand Down
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/data
/deployments
/logs
/target
**/target/
.git
!crates/papyrus_load_test/resources
2 changes: 2 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[submodule "crates/blockifier/cairo_native"]
recurse = true
10 changes: 10 additions & 0 deletions .github/actions/bootstrap/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
name: Bootstrap
description: Install dependencies.

inputs:
extra_rust_toolchains:
description: "Extra toolchains to install, but aren't used by default"
required: false

runs:
using: "composite"
steps:
Expand All @@ -7,5 +15,7 @@ runs:
shell: bash
- name: Install rust.
uses: ./.github/actions/install_rust
with:
extra_rust_toolchains: ${{ inputs.extra_rust_toolchains }}
- name: Install cairo native.
uses: ./.github/actions/setup_native_deps
11 changes: 9 additions & 2 deletions .github/actions/install_rust/action.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
name: Bootsrap rust installation
name: Bootstrap rust installation
description: Setup rust environment and its components, also caching the build results.

inputs:
extra_rust_toolchains:
description: "Extra toolchains to install, but aren't used by default"
required: false

runs:
using: "composite"
steps:
- uses: moonrepo/setup-rust@v1
with:
cache-base: main(-v[0-9].*)?
inherit-toolchain: true
bins: [email protected]
bins: [email protected], cargo-machete
# Install additional non-default toolchains (for rustfmt for example), NOP if input omitted.
channel: ${{ inputs.extra_rust_toolchains }}
env:
RUSTFLAGS: "-C link-arg=-fuse-ld=lld"
7 changes: 6 additions & 1 deletion .github/workflows/blockifier_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:
- 'Cargo.toml'
- 'crates/blockifier/**'
- 'crates/native_blockifier/**'
- 'crates/starknet_sierra_multicompile/build.rs'
- 'scripts/build_native_blockifier.sh'
- 'scripts/dependencies.sh'
- 'scripts/install_build_tools.sh'
Expand All @@ -38,8 +39,12 @@ env:
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"

# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/blockifier_compiled_cairo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ env:
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"

# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/blockifier_reexecution_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@ env:
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"

# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/committer_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ env:
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"

# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/committer_cli_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,12 @@ env:
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"

# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: black all files
run: |
python3 -m pip install black
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,16 @@ on:
env:
CI: 1
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"
RUSTDOCFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"
EXTRA_RUST_TOOLCHAINS: nightly-2024-04-29

# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand All @@ -49,6 +55,8 @@ jobs:

# Install rust components.
- uses: ./.github/actions/bootstrap
with:
extra_rust_toolchains: ${{ env.EXTRA_RUST_TOOLCHAINS }}

- name: Setup Python venv
run: |
Expand All @@ -62,9 +70,6 @@ jobs:
git diff --exit-code Cargo.lock

# Run code style on PR.
- name: "Run rustfmt pull request"
if: github.event_name == 'pull_request'
run: ci/bin/python scripts/run_tests.py --command rustfmt --changes_only --commit_id ${{ github.event.pull_request.base.sha }}
- name: "Run clippy pull request"
if: github.event_name == 'pull_request'
run: ci/bin/python scripts/run_tests.py --command clippy --changes_only --commit_id ${{ github.event.pull_request.base.sha }}
Expand All @@ -73,9 +78,11 @@ jobs:
run: ci/bin/python scripts/run_tests.py --command doc --changes_only --commit_id ${{ github.event.pull_request.base.sha }}

# Run code style on push.
- name: "Run rustfmt on push"
if: github.event_name == 'push'
run: ci/bin/python scripts/run_tests.py --command rustfmt
- name: "Run rustfmt"
# The nightly here is coupled with the one in install_rust/action.yml.
# If we move the install here we can use a const.
run: cargo +"$EXTRA_RUST_TOOLCHAINS" fmt --all -- --check

- name: "Run clippy on push"
if: github.event_name == 'push'
run: ci/bin/python scripts/run_tests.py --command clippy
Expand All @@ -86,7 +93,7 @@ jobs:
- name: "Run taplo"
run: scripts/taplo.sh
- name: Run Machete (detect unused dependencies)
uses: bnjbvr/cargo-machete@main
run: cargo machete

run-workspace-tests:
runs-on: starkware-ubuntu-latest-medium
Expand Down
42 changes: 7 additions & 35 deletions .github/workflows/main_nightly.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Main-CI-Nightly
on:
schedule:
- cron: '30 23 * * *' # Uses ubuntu runner.
workflow_dispatch: # Uses ubuntu runner.
- cron: "0 0 * * *" # Runs at 00:00 UTC every day
workflow_dispatch:

env:
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"
Expand All @@ -12,46 +12,18 @@ jobs:
runs-on: starkware-ubuntu-latest-large
steps:
- uses: actions/checkout@v4
with:
# Fetch the entire history.
fetch-depth: 0
- uses: ./.github/actions/bootstrap

- run: npm install -g [email protected]
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- run: npm install -g [email protected]

# Setup pypy and link to the location expected by .cargo/config.toml.
- uses: actions/setup-python@v5
id: setup-pypy
with:
python-version: "pypy3.9"
- run: ln -s '${{ steps.setup-pypy.outputs.python-path }}' /usr/local/bin/pypy3.9
- env:
LD_LIBRARY_PATH: ${{ env.Python3_ROOT_DIR }}/bin
run: echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV

- name: "Run codecov on pull request"
id: run_codecov_pr
run: |
python3 -m venv ci
ci/bin/pip install -r scripts/requirements.txt
ci/bin/python scripts/run_tests.py --command codecov --changes_only --commit_id ${{ github.event.pull_request.base.sha }}
if [ -f codecov.json ]; then
echo "codecov_output=true" >> $GITHUB_OUTPUT
else
echo "codecov_output=false" >> $GITHUB_OUTPUT
fi
- name: "Run codecov"
run: cargo llvm-cov --codecov --output-path codecov.json
env:
SEED: 0

- name: Codecov
if: steps.run_codecov_pr.outputs.codecov_output == 'true'
uses: codecov/codecov-action@v3
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
fail_ci_if_error: true
version: "v0.1.15"


6 changes: 5 additions & 1 deletion .github/workflows/main_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ env:
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"

# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/merge_paths_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ on:
- 'scripts/merge_status.py'

# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/papyrus_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ env:
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"

# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
22 changes: 15 additions & 7 deletions .github/workflows/papyrus_docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<!-- name: Papyrus-Docker-Publish
name: Papyrus-Docker-Publish

on:
workflow_dispatch:
push:
branches: [main]
tags: ["v*.*.*"]
branches:
- main
- main-v[0-9].**
tags:
- v[0-9].**
- papyrus-v[0-9].**
paths:
- '.github/workflows/papyrus_docker-publish.yml'
- 'crates/papyrus**/**'
Expand All @@ -21,8 +25,12 @@ on:
- 'deployments/images/papyrus/Dockerfile'

# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

env:
Expand Down Expand Up @@ -67,8 +75,8 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=ref,event=pr
# set `dev` tag for the default branch (`main`).
type=raw,value=dev,enable={{is_default_branch}}
# set `main*` tag for the default / release branches.
type=raw,value={{branch}},enable=${{ github.event_name == 'push' && contains(github.ref, 'main') }}
type=raw,value={{branch}}{{tag}}-{{sha}},enable=${{ github.event_name == 'workflow_dispatch' }}

# Build and push Docker image with Buildx
Expand All @@ -82,4 +90,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max -->
cache-to: type=gha,mode=max
8 changes: 6 additions & 2 deletions .github/workflows/sequencer_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ on:
env:
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"

# On PR events, cancel existing CI runs on this same PR for this workflow.
# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
Loading