3111 Commits

Author SHA1 Message Date
Dmitry Vagner
84c1954daf tate 2022-11-18 16:48:11 -08:00
Dmitry Vagner
68cde336a3 reorg 2022-11-17 13:18:13 -08:00
Dmitry Vagner
c83dcccada macros 2022-11-16 17:00:56 -08:00
Dmitry Vagner
8a7d6c6529 frob_fp12 2022-11-16 16:56:23 -08:00
Dmitry Vagner
ca92057b01 frob_fp6 2022-11-16 16:28:36 -08:00
Dmitry Vagner
b779b82512 mul_fp2 2022-11-16 15:12:42 -08:00
Dmitry Vagner
c1f7d1ce5a comments 2022-11-15 13:40:14 -08:00
Dmitry Vagner
3dc66a259f fp12 sq works 2022-11-15 13:34:47 -08:00
Dmitry Vagner
77820b0f23 fp6 sq 2022-11-15 12:17:25 -08:00
Dmitry Vagner
56da8c02b0 correct ops 2022-11-14 17:53:22 -08:00
Dmitry Vagner
a8a852f3ec sparse mul works! 2022-11-14 17:51:25 -08:00
Dmitry Vagner
f6e45ea47d fix mul_fp2_fp6_sh2 2022-11-14 17:39:33 -08:00
Dmitry Vagner
a3dfea9cf8 update fp12 2022-11-14 16:41:36 -08:00
Dmitry Vagner
69ce4f99fe add total count 2022-11-14 16:41:02 -08:00
Dmitry Vagner
e0ee489d38 fix fp12 test 2022-11-14 15:58:37 -08:00
Dmitry Vagner
c854b2d817 Merge branch 'main' of github.com:mir-protocol/plonky2 into non-inv 2022-11-14 12:51:20 -08:00
Hamish Ivey-Law
56e291cf4e
Remove signed operation placeholders from arithmetic table. (#812) 2022-11-11 15:09:56 +11:00
Dmitry Vagner
ad645ece17 aggregator 2022-11-10 10:51:40 -08:00
Dmitry Vagner
784a4c0869 scaling macros 2022-11-09 19:39:49 -08:00
Dmitry Vagner
5d2a9b3d53 sparse mul finished 2022-11-09 16:17:07 -08:00
Hamish Ivey-Law
1c87fbb712
EVM shift left/right operations (#801)
* First parts of shift implementation.

* Disable range check errors.

* Tidy up ASM.

* Update comments; fix some .sum() expressions.

* First full draft of shift left/right.

* Missed a +1.

* Clippy.

* Address Jacqui's comments.

* Add comment.

* Fix missing filter.

* Address second round of comments from Jacqui.
2022-11-09 10:47:15 +11:00
Daniel Lubarov
7126231b52
Merge pull request #811 from mir-protocol/test_reverse_index_bits
Test reverse_index_bits
2022-11-08 13:56:34 -08:00
Daniel Lubarov
624dabb9e3 clippy 2022-11-08 13:06:01 -08:00
Daniel Lubarov
c622e45246 Test reverse_index_bits
Thanks to Least Authority for this
2022-11-08 12:27:55 -08:00
Daniel Lubarov
692ad9399e
Merge pull request #810 from mir-protocol/le_sum_check
Check that `le_sum` won't overflow
2022-11-08 12:20:12 -08:00
Daniel Lubarov
882297877c security notes 2022-11-08 12:03:58 -08:00
Daniel Lubarov
cab6c18ed6 Check that le_sum won't overflow 2022-11-08 11:55:02 -08:00
Jacqueline Nabaglo
626c2583de
Combine all syscalls into one flag (#802)
* Combine all syscalls into one flag

* Minor: typo

* Daniel PR comments
2022-11-07 12:29:28 -08:00
Daniel Lubarov
98b9f3a462
Merge pull request #809 from mir-protocol/update_criterion
Update criterion
2022-11-07 12:06:24 -08:00
Daniel Lubarov
3dcc0c257e Update criterion 2022-11-07 11:28:24 -08:00
wborgeaud
ce21d134a5
Merge pull request #804 from mir-protocol/static_kernel_in_tests
Use static `KERNEL` in tests
2022-11-07 09:18:49 +01:00
wborgeaud
873f4583f9
Merge pull request #805 from mir-protocol/opcode_count_interpreter
Print opcode count
2022-11-07 09:17:46 +01:00
wborgeaud
4bc2e05702 Print opcode count 2022-11-04 14:38:23 +01:00
wborgeaud
47e6093e37 Use static KERNEL in tests 2022-11-04 13:55:13 +01:00
Jacqueline Nabaglo
ea7fbed33a
Constrain mem_channel.used flag to be binary (#800) 2022-11-02 10:14:33 -07:00
BGluth
0293a65a55 Fixed bad PR merge 2022-11-02 09:45:52 -06:00
BGluth
35e8f282e4
Merge pull request #792 from mir-protocol/eth_trie_utils_0_3_0
Bumped `eth_trie_utils` to `0.4.0`
2022-11-02 09:34:26 -06:00
wborgeaud
0066f079bb
Merge pull request #796 from mir-protocol/account_code_opcodes
Implement `EXTCODEHASH, (EXT)CODESIZE, (EXT)CODECOPY`
2022-11-02 13:53:44 +01:00
wborgeaud
68107502df Merge branch 'main' into account_code_opcodes
# Conflicts:
#	evm/src/cpu/kernel/aggregator.rs
#	evm/src/cpu/kernel/tests/mod.rs
2022-11-02 13:46:14 +01:00
wborgeaud
313402de02
Merge pull request #797 from mir-protocol/balance
Implement `(SELF)BALANCE`
2022-11-02 13:44:29 +01:00
wborgeaud
8198355565 Fix + Use context=0 2022-11-02 11:06:14 +01:00
wborgeaud
70b5dda399 Merge branch 'main' into account_code_opcodes 2022-11-02 10:43:35 +01:00
wborgeaud
35c00fa6a7 Return 0 if account doesn't exist 2022-11-02 10:37:19 +01:00
wborgeaud
ff4210ea78 Return 0 if account doesn't exist 2022-11-02 10:03:40 +01:00
wborgeaud
215e9a6e04
Merge pull request #798 from mir-protocol/use_address_macro
Use address macro instead of opcode
2022-11-01 08:34:07 +01:00
BGluth
8736435ea9 Updated eth_trie_utils to 0.4.0 2022-10-31 15:15:20 -06:00
BGluth
2e7da17554 Bumped eth_trie_utils to 0.3.1 2022-10-31 15:03:34 -06:00
wborgeaud
f3d4e57aa6 Use address macro instead of opcode 2022-10-31 10:48:57 +01:00
wborgeaud
7647c5b51b Use address macro instead of opcode 2022-10-31 10:15:43 +01:00
Dima V
84151f083c
Merge pull request #765 from mir-protocol/Fp12
Fp12 multiplication
2022-10-28 02:30:44 -07:00