Dmitry Vagner
95e5fb5910
cleaner rand
2023-02-27 22:40:39 -08:00
Dmitry Vagner
8ace54dcec
Merge branch 'main' of github.com:mir-protocol/plonky2 into non-inv
2023-02-27 20:46:21 -08:00
Daniel Lubarov
57ea64e303
Merge pull request #894 from mir-protocol/fix_storage_trie_lookup
...
Fix code that looks for an account's storage trie
2023-02-27 17:58:05 -08:00
Daniel Lubarov
1e1e75c9b9
Fix code that looks for an account's storage trie
2023-02-27 17:34:12 -08:00
Dmitry Vagner
e8c9463268
comment
2023-02-25 18:22:55 -08:00
Dmitry Vagner
1d94756e1a
add inverse doc
2023-02-25 18:07:10 -08:00
Daniel Lubarov
5aafbaad49
Merge pull request #893 from mir-protocol/move_out_system_zero
...
Move system-zero to its own repo
2023-02-25 16:55:31 -08:00
Daniel Lubarov
801fa641ca
link
2023-02-25 16:55:19 -08:00
Daniel Lubarov
bfaa80a38c
Move system-zero to its own repo
...
See https://github.com/mir-protocol/system-zero
2023-02-25 16:19:00 -08:00
Dmitry Vagner
13a8d670d0
loop test
2023-02-25 10:55:18 -08:00
Dmitry Vagner
2ea3e5e3ca
minor changes
2023-02-25 10:35:33 -08:00
Dmitry Vagner
e3e5c67834
Merge branch 'main' of github.com:mir-protocol/plonky2 into non-inv
2023-02-25 10:30:46 -08:00
Daniel Lubarov
7781dd366f
Plonky2 to 0.1.3
2023-02-25 10:17:28 -08:00
Daniel Lubarov
db893831b4
Merge pull request #892 from mir-protocol/bump_plonky2
...
Use new plonky2
2023-02-25 09:57:44 -08:00
Daniel Lubarov
2133c7f3ba
Use new plonky2
2023-02-25 09:36:25 -08:00
Daniel Lubarov
52e34265c6
Bump plonky2 to 0.1.2
2023-02-25 08:55:21 -08:00
Daniel Lubarov
7908471913
Merge pull request #891 from mir-protocol/fix_hash_or_noop
...
Fix `hash_or_noop` for general hash sizes
2023-02-25 08:51:56 -08:00
Daniel Lubarov
e52b75b0d1
Fix hash_or_noop for general hash sizes
2023-02-25 08:25:52 -08:00
Daniel Lubarov
d17f3aa440
Merge pull request #890 from mir-protocol/test_fixes
...
Fix a few issues found by EVM tests
2023-02-25 07:59:23 -08:00
Daniel Lubarov
29f0692efc
Fix a few issues found by EVM tests
2023-02-24 23:37:08 -08:00
Dmitry Vagner
2a9d4b1a9a
minor
2023-02-20 15:19:01 -08:00
Dmitry Vagner
5e3e40a094
more general kernel peek
2023-02-19 16:05:39 -08:00
Dmitry Vagner
b89e668b55
minor
2023-02-17 13:32:20 -08:00
Dmitry Vagner
f5b45ee400
Merge branch 'main' of github.com:mir-protocol/plonky2 into non-inv
2023-02-17 13:29:23 -08:00
Daniel Lubarov
3318547653
Merge pull request #885 from mir-protocol/skip_log
...
Skip log_kernel_instruction if debug logs disabled
2023-02-17 09:18:21 -08:00
Daniel Lubarov
745bec8d4c
Skip log_kernel_instruction if debug logs disabled
2023-02-17 07:33:30 -08:00
Dmitry Vagner
e8865130de
put extract in interpreter
2023-02-16 20:00:39 -08:00
Dmitry Vagner
63f1fbfaea
fmt
2023-02-16 19:45:33 -08:00
Dmitry Vagner
be35111034
Merge branch 'main' of github.com:mir-protocol/plonky2 into non-inv
2023-02-16 19:31:16 -08:00
Dima V
6f2d99c7bc
Merge pull request #884 from mir-protocol/evm-kernel-tests
2023-02-17 03:20:04 +01:00
Dmitry Vagner
ea9846debf
format
2023-02-16 17:01:43 -08:00
Dmitry Vagner
da7a8879c4
make hash functions take a location pointer
2023-02-16 16:59:51 -08:00
Dmitry Vagner
a6ffb4b3c3
simplify byte extraction
2023-02-16 16:30:50 -08:00
Dmitry Vagner
4e4cfb06b3
function API / remove redundancy
2023-02-16 15:01:22 -08:00
Dmitry Vagner
53ab0ada11
remove blake storage
2023-02-15 19:11:22 -08:00
Dmitry Vagner
77a7af76c2
remove sha2 storage
2023-02-15 19:00:52 -08:00
Dmitry Vagner
abc762f7b4
cleaner arithmetic
2023-02-15 18:50:26 -08:00
Dmitry Vagner
731c29c43b
abstract
2023-02-15 18:47:33 -08:00
Dmitry Vagner
c6cf1dc56a
remove custom
2023-02-15 18:26:05 -08:00
Dmitry Vagner
bce867188c
simplify ripe md test
2023-02-15 18:18:26 -08:00
Dmitry Vagner
e2cac0bb0c
Merge branch 'main' of github.com:mir-protocol/plonky2 into non-inv
2023-02-15 12:33:43 -08:00
Jacqueline Nabaglo
f3946f75bf
Gas constraints ( #880 )
...
* Gas constraints
* Bugfix
* make test pass post rebase
2023-02-14 22:30:19 -08:00
Dmitry Vagner
444da8f760
better comments
2023-02-13 14:31:53 -08:00
Dmitry Vagner
80e49caae1
segment virts
2023-02-13 14:04:43 -08:00
Dmitry Vagner
d320fbfbca
update curve add with ops
2023-02-13 13:21:47 -08:00
Dmitry Vagner
787cc8903b
change segment
2023-02-13 12:32:40 -08:00
Dmitry Vagner
71243fd728
fix pairing code after big BN PR merge
2023-02-13 11:41:13 -08:00
Dmitry Vagner
2158c1d267
merge
2023-02-13 11:31:08 -08:00
Dmitry Vagner
9e60ee2567
segment
2023-02-13 11:25:46 -08:00
wborgeaud
ac40bd5f5d
Optimize ecMul precompile (scalar multiplication on BN254) ( #852 )
...
* windowed mul
* Working
* Window of 4 bits
* Fix
* Comments
* Unroll loop
* Unroll loop
* remove global
* Minor
* Minor
* Implement `CALLVALUE, CALLDATALOAD, CALLDATASIZE, CALLDATACOPY` in interpreter
* Minor
* Doesn't work
* Minor
* Minor
* wnaf msm
* Working hardcoded values: 28657 opcodes
* Working wnaf
* Small wnaf optim
* Precompute works
* Working together
* Bump to 129 bits
* Working glv decomposition
* Working MSM with GLV
* Almost working
* Working
* ECC test folder
* Working with real sig data
* Fix tests + Clippy
* Minor
* Cleaning
* Comments
* Cleaning
* Smaller glv test file
* Print opcode count at the end of interpreter run
* More constants
* Add z3 proof that the GLV scalars are 129-bit or less
* Minor change to z3 proof
* Move files and renaming fns
* Testing
* Fix BN GLV
* BN precompute table
* Working precompute
* Working bn tests
* Working
* Minor
* Minor
* Use MULFP254
* Minor
* Merge conflicts
* Remove unused asm file
* ECC fns renaming (#874 )
* PR feedback
2023-02-13 20:11:32 +01:00