Skip to content

Commit

Permalink
Merge pull request #6 from HerodotusDev/rust-migrate
Browse files Browse the repository at this point in the history
tx datalake connect works
  • Loading branch information
rkdud007 authored May 8, 2024
2 parents e459778 + fc2fa8e commit 4f22435
Show file tree
Hide file tree
Showing 89 changed files with 385,280 additions and 297,352 deletions.
2 changes: 1 addition & 1 deletion Makefile.toml
673,738 changes: 377,699 additions & 296,039 deletions compiled_cairo/hdp.json
1 change: 1 addition & 0 deletions fixtures/TX/0/input.json
1 change: 1 addition & 0 deletions fixtures/TX/1/input.json
2 changes: 1 addition & 1 deletion fixtures/account/0/input.json
2 changes: 1 addition & 1 deletion fixtures/account/1/input.json
2 changes: 1 addition & 1 deletion fixtures/account/2/input.json
2 changes: 1 addition & 1 deletion fixtures/header/0/input.json
5 changes: 5 additions & 0 deletions fixtures/header/1/err.md
1 change: 0 additions & 1 deletion fixtures/header/1/input.json

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/header/2/input.json
2 changes: 1 addition & 1 deletion fixtures/header/3/input.json
1 change: 1 addition & 0 deletions fixtures/header/4/input.json
11 changes: 11 additions & 0 deletions fixtures/storage/0/err.md
2 changes: 1 addition & 1 deletion fixtures/storage/0/input.json
13 changes: 13 additions & 0 deletions fixtures/storage/1/err.md
2 changes: 1 addition & 1 deletion fixtures/storage/1/input.json
1,258 changes: 1 addition & 1,257 deletions fixtures/storage/2/input.json
3 changes: 0 additions & 3 deletions fixtures/storage/2/readme.md

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/storage/3/input.json
3 changes: 0 additions & 3 deletions fixtures/storage/3/readme.md

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/storage/4/input.json
51 changes: 51 additions & 0 deletions fixtures/storage/4/readme.md
1 change: 0 additions & 1 deletion fixtures/storage/5/input.json

This file was deleted.

1 change: 0 additions & 1 deletion fixtures/storage/6/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions fixtures/storage/6/readme.md

This file was deleted.

26 changes: 13 additions & 13 deletions generate/Cargo.lock
6 changes: 3 additions & 3 deletions generate/Cargo.toml
6 changes: 0 additions & 6 deletions generate/build.rs
125 changes: 118 additions & 7 deletions generate/src/main.rs
92 changes: 92 additions & 0 deletions generate/tests/cairo_programs/account_decoder.cairo
213 changes: 213 additions & 0 deletions generate/tests/cairo_programs/aggregate_functions.cairo
77 changes: 77 additions & 0 deletions generate/tests/cairo_programs/block_sampled_datalake.cairo
181 changes: 181 additions & 0 deletions generate/tests/cairo_programs/computational_task.cairo
36 changes: 36 additions & 0 deletions generate/tests/cairo_programs/header_decoder.cairo
136 changes: 136 additions & 0 deletions generate/tests/cairo_programs/merkle.cairo
602 changes: 602 additions & 0 deletions generate/tests/cairo_programs/rlp.cairo
354 changes: 354 additions & 0 deletions generate/tests/cairo_programs/test_vectors.cairo
55 changes: 55 additions & 0 deletions generate/tests/cairo_programs/tx_decoder.cairo
119 changes: 119 additions & 0 deletions generate/tests/cairo_programs/txs_in_block_datalake.cairo
34 changes: 34 additions & 0 deletions generate/tests/fuzzing/header_decode.cairo
52 changes: 52 additions & 0 deletions generate/tests/fuzzing/tx_decode.cairo
Binary file not shown.
118 changes: 118 additions & 0 deletions generate/tests/python/test_header_decoding.py
50 changes: 50 additions & 0 deletions generate/tests/python/test_poseidon_hash_block.py
160 changes: 160 additions & 0 deletions generate/tests/python/test_tx_decoding.py
164 changes: 164 additions & 0 deletions generate/tests/python/test_verify_getproof.py
290 changes: 290 additions & 0 deletions generate/tests/utils/header.cairo
272 changes: 272 additions & 0 deletions generate/tests/utils/tx.cairo
5 changes: 4 additions & 1 deletion generate/tools/make/ci_local.sh
63 changes: 63 additions & 0 deletions generate/tools/make/full_flow_test.sh
62 changes: 62 additions & 0 deletions generate/tools/make/fuzzer.sh
3 changes: 3 additions & 0 deletions generate/tools/make/launch_cairo_files.py
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified generate/tools/py/__pycache__/utils.cpython-39.pyc
Binary file not shown.
54 changes: 54 additions & 0 deletions generate/tools/py/fetch_tx.py
404 changes: 404 additions & 0 deletions generate/tools/py/transaction.py
81 changes: 81 additions & 0 deletions generate/tools/py/utils.py
1 change: 0 additions & 1 deletion hdp
Submodule hdp deleted from 264028
1 change: 0 additions & 1 deletion hdp-cairo
Submodule hdp-cairo deleted from 19aa7d
92 changes: 92 additions & 0 deletions tests/cairo_programs/account_decoder.cairo
213 changes: 213 additions & 0 deletions tests/cairo_programs/aggregate_functions.cairo
77 changes: 77 additions & 0 deletions tests/cairo_programs/block_sampled_datalake.cairo
181 changes: 181 additions & 0 deletions tests/cairo_programs/computational_task.cairo
36 changes: 36 additions & 0 deletions tests/cairo_programs/header_decoder.cairo
136 changes: 136 additions & 0 deletions tests/cairo_programs/merkle.cairo
602 changes: 602 additions & 0 deletions tests/cairo_programs/rlp.cairo
354 changes: 354 additions & 0 deletions tests/cairo_programs/test_vectors.cairo
55 changes: 55 additions & 0 deletions tests/cairo_programs/tx_decoder.cairo
119 changes: 119 additions & 0 deletions tests/cairo_programs/txs_in_block_datalake.cairo
34 changes: 34 additions & 0 deletions tests/fuzzing/header_decode.cairo
52 changes: 52 additions & 0 deletions tests/fuzzing/tx_decode.cairo
118 changes: 118 additions & 0 deletions tests/python/test_header_decoding.py
50 changes: 50 additions & 0 deletions tests/python/test_poseidon_hash_block.py
160 changes: 160 additions & 0 deletions tests/python/test_tx_decoding.py
164 changes: 164 additions & 0 deletions tests/python/test_verify_getproof.py
290 changes: 290 additions & 0 deletions tests/utils/header.cairo
272 changes: 272 additions & 0 deletions tests/utils/tx.cairo
5 changes: 4 additions & 1 deletion tools/make/ci_local.sh
63 changes: 63 additions & 0 deletions tools/make/full_flow_test.sh
62 changes: 62 additions & 0 deletions tools/make/fuzzer.sh
3 changes: 3 additions & 0 deletions tools/make/launch_cairo_files.py
Binary file modified tools/py/__pycache__/utils.cpython-39.pyc
Binary file not shown.
54 changes: 54 additions & 0 deletions tools/py/fetch_tx.py
404 changes: 404 additions & 0 deletions tools/py/transaction.py
81 changes: 81 additions & 0 deletions tools/py/utils.py

0 comments on commit 4f22435

Please sign in to comment.