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

Parallel client #282

Merged
merged 41 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
d8b8354
ChatGPT assisted draft
maciejka Oct 16, 2024
1f8e527
fixes, logging
maciejka Oct 17, 2024
910dd7a
fmt
maciejka Oct 17, 2024
ee4d7ae
fix cached utxo assert
maciejka Oct 18, 2024
3d030e6
fix cached utxo assert 2
maciejka Oct 18, 2024
7269421
fix cached utxo assert 3
maciejka Oct 18, 2024
3f2910b
ChatGPT assisted draft
maciejka Oct 16, 2024
767306d
fixes, logging
maciejka Oct 17, 2024
e687e41
fmt
maciejka Oct 17, 2024
5c7636d
fix cached utxo assert
maciejka Oct 18, 2024
eab6941
fix cached utxo assert 2
maciejka Oct 18, 2024
1cd590d
fix cached utxo assert 3
maciejka Oct 18, 2024
4cd4d12
debug
maciejka Oct 18, 2024
ccb858c
Merge branch 'mk/parallel_client' of github.com:keep-starknet-strange…
maciejka Oct 18, 2024
75f407c
fixes
maciejka Oct 18, 2024
a30f234
fix loggging
maciejka Oct 18, 2024
9672c5c
fix
maciejka Oct 18, 2024
16561eb
log to file
maciejka Oct 18, 2024
348d1b8
remove wait timeout
maciejka Oct 19, 2024
67f91e1
client2 fixes
maciejka Oct 21, 2024
7e3f5c3
Script adjustments
maciejka Oct 21, 2024
e426dda
fmt
maciejka Oct 21, 2024
11f6aaa
Merge branch 'mk/parallel_client' of github.com:keep-starknet-strange…
maciejka Oct 21, 2024
5cc9cc2
fmt
maciejka Oct 21, 2024
3a3f4ad
fixes
maciejka Oct 21, 2024
832b541
fmt
maciejka Oct 21, 2024
11557e9
Merge remote-tracking branch 'origin/main' into mk/parallel_client
maciejka Oct 21, 2024
d87d425
fix mtp check?
maciejka Oct 21, 2024
793d7ab
fix tests
maciejka Oct 21, 2024
1ae0f0b
fmt
maciejka Oct 21, 2024
52b77bb
fix mtp in utxo data
maciejka Oct 23, 2024
f1481f9
shebangs
maciejka Oct 23, 2024
a961c1b
a comment
maciejka Oct 23, 2024
2170c4e
fmt
maciejka Oct 23, 2024
08d4a76
add maxweight arg
maciejka Oct 23, 2024
80388ac
fmt
maciejka Oct 23, 2024
4865246
fix output maturity bug
maciejka Oct 23, 2024
d4527c4
handle OOM situations
maciejka Oct 23, 2024
cb6da9a
fmt
maciejka Oct 23, 2024
38f40e0
client log file rotation
maciejka Oct 25, 2024
c582dba
fmt
maciejka Oct 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ __pycache__

corelib
*.txt
client.errors.log
2 changes: 1 addition & 1 deletion Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies = [
[[package]]
name = "ripemd160"
version = "0.1.0"
source = "git+https://github.com/j1mbo64/ripemd160_cairo.git#cdc5ab58b0acc64db87e0b03851fb18213977dc8"
source = "git+https://github.com/j1mbo64/ripemd160_cairo.git#b56e8f3135f2e30bcf3e035a72b7bc4d0f4a9e45"

[[package]]
name = "sha1"
Expand Down
1 change: 1 addition & 0 deletions packages/client/src/test.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ struct UtreexoArgs {
/// Panics in case of a validation error or chain state mismatch.
/// Prints result to the stdout.
pub(crate) fn main(mut arguments: Span<felt252>, execute_script: bool) {
println!("Running integration test... ");
let mut gas_before = get_available_gas();

let Args { mut chain_state, blocks, expected_chain_state, utreexo_args } = Serde::deserialize(
Expand Down
24 changes: 12 additions & 12 deletions packages/client/tests/data/full_116927.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"cached": false
},
"block_height": 116857,
"median_time_past": 1302006137,
"median_time_past": 1302005866,
"is_coinbase": false
},
"witness": []
Expand All @@ -96,7 +96,7 @@
"cached": false
},
"block_height": 116823,
"median_time_past": 1301992054,
"median_time_past": 1301991525,
"is_coinbase": false
},
"witness": []
Expand Down Expand Up @@ -242,7 +242,7 @@
"cached": false
},
"block_height": 116927,
"median_time_past": 1302032098,
"median_time_past": 1302031602,
"is_coinbase": false
},
"witness": []
Expand Down Expand Up @@ -278,7 +278,7 @@
"cached": false
},
"block_height": 116926,
"median_time_past": 1302031602,
"median_time_past": 1302031124,
"is_coinbase": false
},
"witness": []
Expand All @@ -295,7 +295,7 @@
"cached": false
},
"block_height": 116926,
"median_time_past": 1302031602,
"median_time_past": 1302031124,
"is_coinbase": false
},
"witness": []
Expand Down Expand Up @@ -331,7 +331,7 @@
"cached": false
},
"block_height": 116911,
"median_time_past": 1302027037,
"median_time_past": 1302026761,
"is_coinbase": false
},
"witness": []
Expand Down Expand Up @@ -367,7 +367,7 @@
"cached": false
},
"block_height": 116918,
"median_time_past": 1302028719,
"median_time_past": 1302028349,
"is_coinbase": false
},
"witness": []
Expand All @@ -384,7 +384,7 @@
"cached": false
},
"block_height": 116921,
"median_time_past": 1302030090,
"median_time_past": 1302029182,
"is_coinbase": false
},
"witness": []
Expand Down Expand Up @@ -420,7 +420,7 @@
"cached": false
},
"block_height": 116917,
"median_time_past": 1302028349,
"median_time_past": 1302028283,
"is_coinbase": false
},
"witness": []
Expand Down Expand Up @@ -451,7 +451,7 @@
"cached": false
},
"block_height": 116927,
"median_time_past": 1302032098,
"median_time_past": 1302031602,
"is_coinbase": false
},
"witness": []
Expand Down Expand Up @@ -487,7 +487,7 @@
"cached": false
},
"block_height": 116927,
"median_time_past": 1302032098,
"median_time_past": 1302031602,
"is_coinbase": false
},
"witness": []
Expand Down Expand Up @@ -523,7 +523,7 @@
"cached": true
},
"block_height": 116928,
"median_time_past": 1302032163,
"median_time_past": 1302032098,
"is_coinbase": false
},
"witness": []
Expand Down
Loading
Loading