Daniel Lubarov
e0fe4bcbe4
Merge pull request #785 from mir-protocol/storage_trie_inside_state_trie
...
Treat storage tries as sub-tries of the state trie
2022-10-16 20:48:49 -07: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
34865026df
Merge pull request #784 from mir-protocol/avoid_current_memory
...
Switch a few uses of current-context memory to kernel memory
2022-10-15 10:07:02 -07:00
Daniel Lubarov
a8e30b0ca0
Switch a few uses of current-context memory to kernel memory
...
E.g. make sure the RLP segment is only used with the kernel context. Using current-context memory would also work, we just need to be consistent.
For transaction parsing etc, the context should be 0 anyway, but explicitly referring to kernel memory feels more idiomatic to me.
2022-10-15 08:45:01 -07:00
wborgeaud
3296f27800
Merge pull request #781 from mir-protocol/redundant_degree_bits
...
Redundant `degree_bits`
2022-10-15 12:49:59 +02:00
Daniel Lubarov
2aeb8c92c7
Merge pull request #783 from mir-protocol/mpt_tweaks
...
MPT format tweaks
2022-10-14 19:57:51 -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
d3e2b982ee
new op codes
2022-10-13 17:28:17 -04:00
Dmitry Vagner
e01c91bdf0
Merge branch 'main' of github.com:mir-protocol/plonky2 into Fp12
2022-10-13 17:08:44 -04:00
Jacqueline Nabaglo
ec3391f9c4
Add Fp254 ops to the CPU table ( #779 )
...
* Add Fp254 ops to the CPU table
* Add forgotten file
2022-10-13 14:02:19 -07:00
wborgeaud
69bdbf6bf6
Redundant degree_bits
2022-10-13 18:19:05 +02:00
Dmitry Vagner
d1bad81985
stuff
2022-10-12 10:06:34 -04:00
BGluth
22d3454fb5
Merge pull request #778 from mir-protocol/eth_trie_utils_0_2_0
...
Updated `eth_trie_utils` to `0.2.1`
2022-10-11 22:42:37 -06:00
BGluth
06475c2b61
Bumped patch version
2022-10-11 22:07:32 -06:00
BGluth
cb2e69a2c9
Updated eth_trie_utils to 0.2.0
2022-10-11 20:57:46 -06:00
Daniel Lubarov
581fcce0b0
Merge pull request #777 from mir-protocol/mpt_insert_7
...
Fix branch hashing bug
2022-10-11 16:10:44 -07:00
Daniel Lubarov
299aabf860
Fix branch hashing bug
2022-10-11 15:56:23 -07:00
Daniel Lubarov
0b2661f845
Merge pull request #774 from mir-protocol/debug_offsets
...
Interpreter feature to configure debug offsets
2022-10-11 08:55:39 -07:00
Daniel Lubarov
f4c0337af7
Interpreter feature to configure debug offsets
2022-10-11 08:47:06 -07:00
Hamish Ivey-Law
68a5428500
Represent input columns as ranges rather than arrays ( #776 )
...
* Use std::ops::Range of columns rather than arrays of column indices.
* Refactor reading from the local values table.
* The inevitable post-push fmt/clippy commit.
2022-10-12 02:39:13 +11:00
wborgeaud
e17823e777
Disallow zk for dummy proof
2022-10-11 11:47:37 +02:00
wborgeaud
0013bd4347
Minor
2022-10-11 11:41:19 +02:00
wborgeaud
3cd337ab15
Comments
2022-10-11 11:10:58 +02:00
wborgeaud
816e7db345
Working
2022-10-11 11:02:03 +02:00
Hamish Ivey-Law
0d0067554e
Refactor and tidy up mul.rs ( #764 )
...
* Refactor and tidy up `mul.rs`.
* Jacqui PR comments.
2022-10-11 18:59:02 +11:00
Daniel Lubarov
a468e4660f
Merge pull request #773 from mir-protocol/mpt_insert_6
...
MPT logic for inserts into extension nodes
2022-10-10 19:18:46 -07:00
Daniel Lubarov
caf928b11e
MPT logic for inserts into extension nodes
2022-10-10 18:33:45 -07:00
Daniel Lubarov
01055a51f8
Merge pull request #772 from mir-protocol/mpt_insert_5
...
MPT insert into leaf, overlapping keys case
2022-10-10 10:42:37 -07:00
Daniel Lubarov
50002df8e4
MPT insert into leaf, overlapping keys case
2022-10-10 10:42:02 -07:00
Daniel Lubarov
8776cee48b
Merge pull request #771 from mir-protocol/mpt_insert_4
...
More MPT insert logic
2022-10-10 09:40:37 -07:00
Daniel Lubarov
cad0473e1d
More MPT insert logic
2022-10-10 09:40:28 -07:00
Daniel Lubarov
39a7227475
Merge pull request #770 from mir-protocol/mpt_insert_3
...
Insertion optimization for leaf case
2022-10-09 21:35:07 -07:00
Daniel Lubarov
33dba3a23d
Insertion optimization for leaf case
2022-10-09 20:18:16 -07:00
Daniel Lubarov
015034347e
Merge pull request #769 from mir-protocol/mpt_insert_2
...
MPT insert logic, part 2
2022-10-09 12:16:34 -07:00
Daniel Lubarov
4a055b3a76
MPT insert logic, part 2
2022-10-09 11:32:01 -07:00
Daniel Lubarov
fb7ef3197a
Merge pull request #768 from mir-protocol/mpt_insert_1
...
MPT insert logic, part 1
2022-10-08 22:35:23 -07:00
Daniel Lubarov
6bb1ad94e8
MPT insert logic, part 1
2022-10-08 22:27:57 -07:00
Daniel Lubarov
49eecfadf2
Merge pull request #767 from mir-protocol/fix_clippy_cast
...
Clippy fix
2022-10-08 14:14:58 -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
817156cd47
Begin MPT insert
2022-10-08 13:23:00 -07:00
Dmitry Vagner
f83504b16e
separate module + stack comments
2022-10-07 18:19:46 -07:00
Dmitry Vagner
7b1db48846
Fp6 mult purely on stack
2022-10-07 18:13:32 -07:00
Dmitry Vagner
00534286a6
Fp12 mult + Fp6 macros
2022-10-07 15:41:46 -07:00
Daniel Lubarov
39fc7a2a9e
Merge pull request #766 from mir-protocol/more_inc_dec_macros
...
Some more uses of %increment, %decrement
2022-10-07 12:17:13 -07:00
Daniel Lubarov
e6b5e3656f
Some more uses of %increment, %decrement
2022-10-07 12:03:37 -07:00
Dmitry Vagner
d02c9bdda5
Fp6 mult
2022-10-07 09:29:38 -07:00
wborgeaud
4690db7c2d
Add PI
2022-10-07 10:55:07 +02:00