86 Commits

Author SHA1 Message Date
Daniel Lubarov
6bb1ad94e8 MPT insert logic, part 1 2022-10-08 22:27:57 -07:00
Daniel Lubarov
817156cd47 Begin MPT insert 2022-10-08 13:23:00 -07:00
Dima V
dd6c5a0d1a
Merge pull request #640 from mir-protocol/ripeMD
RipeMD
2022-10-03 15:49:04 -07:00
Dmitry Vagner
54885fefa0 fix merge problem 2022-10-03 14:57:04 -07:00
Daniel Lubarov
66c28e953d Unroll num_bytes
Since it's in some code paths where speed is critical.
2022-10-03 14:42:11 -07:00
Dmitry Vagner
d42250d677 merge 2022-10-03 14:25:33 -07:00
Nicholas Ward
43df58ea18 alphabetical 2022-10-03 14:10:10 -07:00
Nicholas Ward
99fb730aea rearranging and cleanup 2022-10-03 14:07:21 -07:00
Nicholas Ward
9ee861fb15 minor fixes 2022-10-03 13:43:03 -07:00
Nicholas Ward
1e03c438e0 moved memory functions to memory ASM file (not sha2) 2022-10-03 13:34:16 -07:00
Nicholas Ward
cad56263f4 fix 2022-10-03 13:34:16 -07:00
Nicholas Ward
e652ef922b simplification and documentation 2022-10-03 13:34:16 -07:00
Nicholas Ward
0394fa3fba cleaned up test 2022-10-03 13:34:16 -07:00
Nicholas Ward
67e19fd7c9 fix of message schedule 2022-10-03 13:34:16 -07:00
Nicholas Ward
42019264ad compression 2022-10-03 13:34:16 -07:00
Nicholas Ward
79e4d80d5b fmt 2022-10-03 13:34:16 -07:00
Nicholas Ward
b1b95e7b65 clippy 2022-10-03 13:34:16 -07:00
Nicholas Ward
4624ce515b fmt 2022-10-03 13:34:16 -07:00
Nicholas Ward
faa1023bd4 fix 2022-10-03 13:34:16 -07:00
Nicholas Ward
d6f6fc7599 fixes 2022-10-03 13:34:16 -07:00
Nicholas Ward
e4521c481f a great many fixes 2022-10-03 13:34:16 -07:00
Nicholas Ward
87e06946b9 first test, and fixes 2022-10-03 13:34:16 -07:00
Nicholas Ward
eb6095cd04 message schedule progress 2022-10-03 13:34:16 -07:00
Nicholas Ward
94e2e98430 fixes 2022-10-03 13:34:16 -07:00
Nicholas Ward
4378ff0fc2 progress 2022-10-03 13:34:16 -07:00
Dmitry Vagner
1e7c33e83c extraxt box into own module 2022-10-03 12:35:49 -07:00
Dmitry Vagner
cb88dadd29 clean up macros, remove ripemd segment 2022-10-03 12:21:43 -07:00
Dmitry Vagner
0dc1a40306 Merge branch 'main' of github.com:mir-protocol/plonky2 into ripeMD 2022-10-03 12:09:10 -07:00
Daniel Lubarov
9f9143d6f6 Finish some misc storage logic 2022-10-02 11:14:19 -07:00
Daniel Lubarov
12247047ae MPT hashing logic, part 1 2022-09-30 17:02:25 -07:00
Dmitry Vagner
b26a28454f Merge branch 'main' of github.com:mir-protocol/plonky2 into ripeMD 2022-09-30 09:41:04 -07:00
Daniel Lubarov
c721155e23 Main function, txn processing loop 2022-09-29 23:15:33 -07:00
Dmitry Vagner
ea31a803ca merge 2022-09-27 00:35:21 -07:00
Daniel Lubarov
c7b03cfe9a More MPT logic 2022-09-24 20:49:19 -07:00
Dmitry Vagner
14488b2a58 Merge branch 'main' of github.com:mir-protocol/plonky2 into ripeMD 2022-09-23 11:17:13 -07:00
Daniel Lubarov
37d92b55ac Basic MPT logic
For now this contains most of the basic framework/structure. Logic for things like insertions will come later.
2022-09-22 11:25:37 -07:00
Dmitry Vagner
172bde8028 everything is parsing 2022-09-20 10:29:43 -07:00
Dmitry Vagner
9f1e97edc4 fix bugs 2022-09-20 10:11:45 -07:00
Dmitry Vagner
c127f80bfa add to include files 2022-09-20 10:00:40 -07:00
Jacqueline Nabaglo
4c52d37546
Save columns by verifying invalid opcodes in software (#701)
* Save columns by verifying invalid opcodes in software

* Autogenerate invalid opcode bitfield (Daniel comment)

* Remove unnecessary panic label
2022-08-30 13:06:03 -07:00
Daniel Lubarov
cc61c7211c Core transaction processing logic
With lots of TODOs to fill in afterward; this is just a start.
2022-08-12 17:20:18 -07:00
Daniel Lubarov
ccc4202de3 Packing memory operations 2022-08-05 13:44:08 -04:00
Daniel Lubarov
7423124e36 Split up memory asm and add more helper functions 2022-08-03 22:18:29 -07:00
Daniel Lubarov
90be4749ef Merge branch 'main' into optimizer 2022-08-03 09:58:54 -07:00
Daniel Lubarov
3f08cca116 More constants for kernel ASM
- `GlobalMetadata` - offsets for global kernel variables in memory
- `ContextMetadata` - offsets for context-specific kernel variables in memory
- `GAS_CONSTANTS`, based on the yellowpaper

Also move constants to a separate module since `aggregator` was getting long.
2022-08-01 18:18:22 -07:00
Daniel Lubarov
497b26dee6 Some simple optimization rules
Depends on #647.
2022-07-31 13:00:27 -07:00
Daniel Lubarov
7a6d996fe7 Move couple asm files 2022-07-31 09:28:16 -07:00
Daniel Lubarov
718b3c0961 Move ecrecover 2022-07-31 09:24:04 -07:00
Daniel Lubarov
56d814e467 fix 2022-07-31 09:22:13 -07:00
Daniel Lubarov
f49170a8b8 fix 2022-07-30 22:31:07 -07:00