153 Commits

Author SHA1 Message Date
Dmitry Vagner
dde24e6b30 fmt 2022-10-18 11:09:07 -04:00
Dmitry Vagner
625544565d change to 107 2022-10-18 11:07:43 -04:00
Dmitry Vagner
6fc34f6a3d lint 2022-10-18 11:06:31 -04:00
Dmitry Vagner
75cabedc38 better abstraction 2022-10-18 10:34:41 -04:00
Dmitry Vagner
ccbf85d569 remove fp6 test since it's redundant 2022-10-18 00:22:51 -04:00
Dmitry Vagner
cc9559d954 Merge branch 'main' of github.com:mir-protocol/plonky2 into Fp12 2022-10-18 00:08:03 -04:00
Dmitry Vagner
8a85cd3070 fp12 is running 2022-10-18 00:07:57 -04:00
Dmitry Vagner
d475ab9368 fp6 passes randomized tests 2022-10-17 23:19:14 -04:00
Dmitry Vagner
a0f7e6619d fix fp6, better test function 2022-10-17 14:57:32 -04:00
Dmitry Vagner
3cff0928c4 better test API 2022-10-17 11:02:24 -04:00
Daniel Lubarov
7f366cdace Treat storage tries as sub-tries of the state trie
I.e. have leaves in the state trie point to the root of a storage trie
2022-10-16 20:26:37 -07:00
Daniel Lubarov
ecce5be9e3 MPT format tweaks
Don't need value lengths in memory. Branches with null values recognized as value_ptr = null.
2022-10-14 18:09:43 -07:00
Dmitry Vagner
adc8c33b0d Fp12 2022-10-13 20:06:19 -04:00
Dmitry Vagner
fc2ea6281d Fp6 mul test passes 2022-10-13 18:09:27 -04:00
Dmitry Vagner
e01c91bdf0 Merge branch 'main' of github.com:mir-protocol/plonky2 into Fp12 2022-10-13 17:08:44 -04:00
Dmitry Vagner
d1bad81985 stuff 2022-10-12 10:06:34 -04:00
BGluth
cb2e69a2c9 Updated eth_trie_utils to 0.2.0 2022-10-11 20:57:46 -06:00
Daniel Lubarov
299aabf860 Fix branch hashing bug 2022-10-11 15:56:23 -07:00
Daniel Lubarov
caf928b11e MPT logic for inserts into extension nodes 2022-10-10 18:33:45 -07:00
Daniel Lubarov
50002df8e4 MPT insert into leaf, overlapping keys case 2022-10-10 10:42:02 -07:00
Daniel Lubarov
cad0473e1d More MPT insert logic 2022-10-10 09:40:28 -07:00
Daniel Lubarov
4a055b3a76 MPT insert logic, part 2 2022-10-09 11:32:01 -07:00
Daniel Lubarov
6bb1ad94e8 MPT insert logic, part 1 2022-10-08 22:27:57 -07:00
Daniel Lubarov
443a070003 Clippy fix 2022-10-08 14:09:18 -07:00
Daniel Lubarov
8ee7265863 Tweak MPT value storage 2022-10-08 13:51:52 -07:00
Daniel Lubarov
f8c104033c Hash MPT extension nodes 2022-10-06 20:50:32 -07:00
Daniel Lubarov
ed2aac3af3 MPT fixes 2022-10-06 16:28:52 -07:00
Daniel Lubarov
0424fe680d mload_packing 2022-10-06 14:27:36 -07:00
Daniel Lubarov
f2cb42bbe8 MPT logic to hash branch nodes 2022-10-05 20:46:49 -07:00
Dmitry Vagner
7c7084a8d3 clean up and format 2022-10-05 12:11:10 -07:00
Dmitry Vagner
0afb9b0cf4 fmt 2022-10-05 10:10:45 -07:00
Dmitry Vagner
9ebbc033bc fix padlength issue 2022-10-05 09:45:38 -07:00
Daniel Lubarov
d8bf30150f
Merge pull request #756 from mir-protocol/rlp_fixes
RLP related fixes
2022-10-04 15:34:38 -07:00
Daniel Lubarov
0ccb340e40 RLP related fixes 2022-10-04 15:18:31 -07:00
Dima V
dd6c5a0d1a
Merge pull request #640 from mir-protocol/ripeMD
RipeMD
2022-10-03 15:49:04 -07:00
Dmitry Vagner
95128cbbf5 done 2022-10-03 15:32:47 -07:00
Dmitry Vagner
53014b732f almost done 2022-10-03 15:30:17 -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
9919562a64 clippy 2022-10-03 14:08:09 -07:00
Nicholas Ward
99fb730aea rearranging and cleanup 2022-10-03 14:07:21 -07:00
Nicholas Ward
fa01f83e65 Update evm/src/cpu/kernel/tests/sha2.rs
Co-authored-by: Dima V <50062893+typ3c4t@users.noreply.github.com>
2022-10-03 13:34:16 -07:00
Nicholas Ward
19b14c2723 Update evm/src/cpu/kernel/tests/sha2.rs
Co-authored-by: Dima V <50062893+typ3c4t@users.noreply.github.com>
2022-10-03 13:34:16 -07:00
Nicholas Ward
cfbc029e7b cleaned up test: compare as U256, not string 2022-10-03 13:34:16 -07:00
Nicholas Ward
65b8993b6f addressed comments 2022-10-03 13:34:16 -07:00
Nicholas Ward
78a4b92e83 in %stack, treat identifiers as 1-length blocks 2022-10-03 13:34:16 -07:00
Nicholas Ward
e482bc7f0c addressed comments 2022-10-03 13:34:16 -07:00
Nicholas Ward
790b32c30b fix 2022-10-03 13:34:16 -07:00
Nicholas Ward
0eab1a4b0f fmt 2022-10-03 13:34:16 -07:00
Nicholas Ward
9f923f7b6d cleanup 2022-10-03 13:34:16 -07:00