File tree
10 files changed
+16
-27
lines changed10 files changed
+16
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
- src/block.circom+37-7
- src/decode_tx.circom+72-112
- src/decode_tx_pick_data.circom-41
- src/encode_data.circom+273
- src/lib/bitify.circom+2-17
- src/spot_trade.circom+23-2
- src/tx_dec_enc.circom+59
- test/codec/bitstream.ts+43-6
- test/codec/encode_data.ts+131
- test/codec/tx_data.ts+3-2
- test/common/da_hashing.ts+98-34
- test/common/tx.ts+8
- test/export_all_tests.ts+1-2
- test/global_state.ts+66-27
- test/integration_test_cases.ts+35-13
- test/testcases/block.ts+8-7
- test/testcases/encode_txdata.ts+92-30
- test/testcases/hash_txdata.ts+58-28
- test/testcases/spot_trade.ts+8-4
- tpl/config.js+46-4
- tpl/ejs/extra/rollup-state-manager/src/types/l2/tx_encode.rs.ejs+56
- tpl/ejs/src/block.circom.ejs+21-7
- tpl/ejs/src/decode_tx.circom.ejs+9-47
- tpl/ejs/src/encode_data.circom.ejs+72
- tpl/ejs/src/spot_trade.circom.ejs+17
- tpl/ejs/src/tx_dec_enc.circom.ejs+42
- tpl/ejs/test/codec/encode_data.ts.ejs+72
- tpl/preprocess.js+60-4
- tpl/templates.js+83-9
Submodule dingir-exchange updated from e44d303 to 991607b
- Makefile+3-3
- README.md+4-4
- build.rs+3
- docker/docker-compose-for-mac.yaml+66
- docker/docker-compose.yaml+3-4
- docker/envoy-for-mac.yaml+117
- docker/envoy.yaml+1-1
- docker/ping
- proto/exchange/matchengine.pb
- proto/exchange/matchengine.proto+14-14
- proto/exchange/matchengine.swagger.json+16-16
- proto/rollup/rollup.pb
- proto/rollup/rollup.proto+65-12
- proto/rollup/rollup.swagger.json+160-14
- src/rpc/exchange/matchengine.rs+4-4
- src/rpc/rollup/rollup_state.rs+111-13
Submodule rollup-state-manager updated 37 files
- .github/workflows/export-circuit-test.yaml+19-3
- .github/workflows/global-state-test.yaml+19-3
- .github/workflows/integration-test.yml+4-3
- .github/workflows/lint.yml+3-3
- .github/workflows/unit-test.yml+3-3
- Cargo.lock+178-243
- Cargo.toml+2-2
- Makefile+3
- circuits+1-1
- examples/js/get_l2_block_by_id.ts+110-21
- examples/js/get_token_balance.ts+54-5
- examples/js/package-lock.json+11
- examples/js/package.json+1
- examples/js/rest_client.ts+19-1
- examples/js/rest_get_l2_blocks.ts+15-5
- examples/js/rest_get_token_balance.ts+46
- orchestra+1-1
- rust-toolchain+1-1
- rustfmt.toml+1-1
- scripts/install_deps.sh+18
- src/account.rs+10-431
- src/bin/main.rs+8-12
- src/grpc/controller.rs+172-17
- src/msg/msg_processor.rs+19-24
- src/msg/msg_utils.rs+1-1
- src/state/manager_wrapper.rs+245-40
- src/test_utils/circuit.rs+2-2
- src/types/l2/block.rs+1
- src/types/l2/mod.rs+1
- src/types/l2/order.rs+3-1
- src/types/l2/tx.rs+316-70
- src/types/l2/tx_data.rs+36-35
- src/types/l2/tx_encode.rs+77
- tests/circuit_tests/test.sh+8-4
- tests/circuit_tests/test_l2_block.rs+35-15
- tests/global_state/gen_testcase.rs+1-1
- tests/global_state/test.sh+7-3
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
141 | | - | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | 148 | | |
162 | 149 | | |
163 | 150 | | |
| |||
195 | 182 | | |
196 | 183 | | |
197 | 184 | | |
198 | | - | |
| 185 | + | |
199 | 186 | | |
200 | 187 | | |
201 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | | - | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments