wborgeaud
7b2f515c00
Merge pull request #791 from mir-protocol/kernel_msize
...
Implement MSIZE in the kernel
2022-10-21 17:30:44 +02:00
Hamish Ivey-Law
4af2ede6e6
Implement DIV instruction ( #790 )
...
* Implement DIV instruction.
* cargo fmt, clippy, minor doc update.
* Add implementation of circuit version.
2022-10-21 16:25:38 +11:00
Dmitry Vagner
06e0dd643b
fp6 as fn
2022-10-20 17:35:43 -04:00
Dmitry Vagner
3ccafd88d9
richer comments
2022-10-20 17:30:23 -04:00
Dmitry Vagner
1c2fab6718
richer comments
2022-10-20 16:48:31 -04:00
Dmitry Vagner
7d4cec55fb
fp6 mul
2022-10-20 16:18:41 -04:00
Dmitry Vagner
cad27241c1
finish macros
2022-10-20 16:07:39 -04:00
wborgeaud
77d5c625cd
Minor
2022-10-20 19:36:28 +02:00
wborgeaud
0a800f8261
Minor
2022-10-20 19:29:35 +02:00
wborgeaud
fab3fe77c0
Minor
2022-10-20 19:28:24 +02:00
wborgeaud
9982d79999
Add msize
2022-10-20 19:23:01 +02:00
Dmitry Vagner
05fa0490b8
load/store macros
2022-10-20 12:07:53 -04:00
Dmitry Vagner
b790af9075
addr on stack
2022-10-20 11:55:05 -04:00
Dmitry Vagner
dc59ed10a1
bus -> subr
2022-10-20 10:56:55 -04:00
wborgeaud
71ed3c43ac
Fix fix interpreter
2022-10-20 14:32:28 +02:00
wborgeaud
61b6b16106
Fix interpreter
2022-10-20 14:06:48 +02:00
Hamish Ivey-Law
f55e07659c
Implement SUBMOD instruction ( #789 )
...
* Implement SUBMOD instruction.
* Implement recursive circuit version of SUBMOD.
2022-10-20 04:46:01 +11:00
Dmitry Vagner
37e429c943
more comments
2022-10-19 10:31:43 -04:00
Dmitry Vagner
d7fdccfc8f
more comments
2022-10-19 10:16:59 -04:00
Dmitry Vagner
6451190d76
replace mul_const
2022-10-18 12:47:31 -04:00
Dmitry Vagner
eb4f8fec45
minor
2022-10-18 12:04:26 -04:00
Dmitry Vagner
3b8b812f46
aggregator
2022-10-18 11:30:21 -04:00
Dmitry Vagner
0c0775da3e
casing?
2022-10-18 11:29:05 -04:00
Dmitry Vagner
1f39053d9a
detailed accounting
2022-10-18 11:23:43 -04:00
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
041fda134f
capitalization??
2022-10-18 10:57:20 -04:00
Dmitry Vagner
0847d9885d
alphabetical
2022-10-18 10:42:11 -04:00
Dmitry Vagner
9222dafe6e
clippy
2022-10-18 10:37:40 -04:00
Dmitry Vagner
75cabedc38
better abstraction
2022-10-18 10:34:41 -04:00
Daniel Lubarov
a2edff4670
Small storage fixes
2022-10-17 23:35:34 -07:00
Daniel Lubarov
9639ff22dc
MPT storage logic
2022-10-17 22:46:48 -07:00
Dmitry Vagner
c9bbd2dfa0
naming
2022-10-18 01:31:28 -04:00
Dmitry Vagner
6a6fbec9f5
remove fp6 test
2022-10-18 01:19:24 -04:00
Dmitry Vagner
ccbf85d569
remove fp6 test since it's redundant
2022-10-18 00:22:51 -04:00
Dmitry Vagner
b9a1b4413d
move fp6mul and add more comments
2022-10-18 00:21:12 -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
b534b221a0
fix fp6 subtraction---fp12 tests running!
2022-10-17 15:58:56 -04:00
Dmitry Vagner
a0f7e6619d
fix fp6, better test function
2022-10-17 14:57:32 -04:00
Daniel Lubarov
8f9c5a7869
Merge pull request #786 from mir-protocol/mpt_dirs
...
More directories for MPT logic
2022-10-17 11:31:13 -07:00
Dmitry Vagner
3cff0928c4
better test API
2022-10-17 11:02:24 -04:00
wborgeaud
1ae922dd4d
Merge branch 'main' into generate_dummy_proof
2022-10-17 10:01:32 +02:00
Daniel Lubarov
f125786d9b
More directories for MPT logic
2022-10-16 22:55:09 -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