Robin Salen
841c58294d
Fix todo in kernel bootstrapping
2023-05-01 12:52:33 +02:00
Dima V
ae21ef8fd1
Merge pull request #997 from mir-protocol/pairing-test
...
Restructure BN254 Pairing Precompile to fit EVM Test Spec
2023-04-28 22:11:56 -07:00
Dmitry Vagner
84f17699be
comments
2023-04-28 21:57:10 -07:00
Dmitry Vagner
f9aad433fe
neutral input
2023-04-28 18:23:08 -07:00
Nicholas Ward
a638ebe0ce
fix
2023-04-28 08:30:02 -07:00
Nicholas Ward
7ede443e80
Merge pull request #1006 from mir-protocol/blake_precompile
...
Blake2_f function and precompile call
2023-04-28 08:29:06 -07:00
Nicholas Ward
dc076df5b6
addressed comments
2023-04-28 08:28:52 -07:00
Nicholas Ward
e40b9edb5b
addressed comments
2023-04-28 06:59:17 -07:00
Dmitry Vagner
9b18b3aeec
fix unit
2023-04-27 18:24:08 -07:00
Dmitry Vagner
16928fd0fb
peculiar...
2023-04-27 18:06:51 -07:00
Dmitry Vagner
b37e049abd
fmt
2023-04-27 17:24:06 -07:00
Dmitry Vagner
f6a49e88cb
fair naming
2023-04-27 17:23:55 -07:00
Dmitry Vagner
4a42ddb203
on stack
2023-04-27 17:15:25 -07:00
Dmitry Vagner
57113905de
redundant
2023-04-27 16:26:40 -07:00
Dmitry Vagner
2aa83d9adb
Merge branch 'pairing-test' of github.com:mir-protocol/plonky2 into pairing-test
2023-04-27 16:25:48 -07:00
Dmitry Vagner
ae4b509139
neutral name
2023-04-27 16:24:36 -07:00
Dmitry Vagner
503cb8a99f
random inp
2023-04-27 16:20:55 -07:00
wborgeaud
4ad8520e34
SNARKV precompile ( #1010 )
...
* Serialize impls, and use in Fibonacci example
* seralizing
* cleanup
* don't serialize challenges
* deterministic build function
* cleanup
* cleanup
* cleanup
* fix
* cleanup
* fmt
* rename
* Unpacking and storing inputs
* Finish snarkv interface
* Failing test
* move serialization to separate example
* Imaginary part in front of real
* serialize ProofChallenges
* remove build_without_randomizing (no longer needed)
* fix
* Fix kernel peak
* Fix stack comments
* Minor
* SSTORE gas (#1007 )
* Update storage access list and sload
* Add noop for sys_sstore
* Comments
* Fix access list test
* PR feedback
---------
Co-authored-by: Nicholas Ward <npward@berkeley.edu>
2023-04-27 19:21:26 +02:00
Dmitry Vagner
b28e3e0db7
minor
2023-04-27 07:45:35 -07:00
wborgeaud
ab721fa340
SSTORE gas ( #1007 )
...
* Update storage access list and sload
* Add noop for sys_sstore
* Comments
* Fix access list test
2023-04-27 15:42:09 +02:00
Dmitry Vagner
13c653bc53
mul works
2023-04-26 18:10:40 -07:00
Dmitry Vagner
6599c90a6e
abstraction
2023-04-26 17:21:52 -07:00
Dmitry Vagner
537debdc2e
return bool
2023-04-26 15:35:19 -07:00
Dmitry Vagner
89122a3d73
it works
2023-04-26 15:29:53 -07:00
Dmitry Vagner
479e919c04
fmt
2023-04-26 14:16:35 -07:00
Dmitry Vagner
6dc094a894
test
2023-04-26 14:16:23 -07:00
Dmitry Vagner
4c235e5a4b
Merge branch 'main' of github.com:mir-protocol/plonky2 into pairing-test
2023-04-26 14:16:08 -07:00
Dmitry Vagner
d31c60a045
clean up
2023-04-26 09:57:36 -07:00
Dmitry Vagner
d928a70b6f
clean
2023-04-26 09:54:46 -07:00
wborgeaud
67a3edb2f1
Precompiles exist ( #1008 )
...
* Precompiles exist
* Fix
2023-04-26 06:26:41 +02:00
Nicholas Ward
3b7ad771e0
cleanup
2023-04-25 15:00:17 -07:00
Nicholas Ward
46d9cee09d
charge gas!
2023-04-25 14:58:43 -07:00
Nicholas Ward
9460acc196
rename blake2b
2023-04-25 14:55:44 -07:00
Nicholas Ward
ce033410c3
fix
2023-04-25 14:52:55 -07:00
Nicholas Ward
6a239c4f68
fix
2023-04-25 14:41:03 -07:00
Nicholas Ward
a41cf018ef
fixed blake tests
2023-04-25 14:16:54 -07:00
Nicholas Ward
11a03c5ebc
Merge pull request #1005 from mir-protocol/precompile-fixes
...
Minor optimizations to precompile call code
2023-04-24 22:21:09 -07:00
Nicholas Ward
621c63de21
clippy fix
2023-04-24 17:14:17 -07:00
Nicholas Ward
29a8367b8c
fmt
2023-04-24 17:11:35 -07:00
Nicholas Ward
2d98dd3cac
commented out unused functions
2023-04-24 17:09:18 -07:00
Nicholas Ward
5dc4491681
Merge branch 'main' into blake_precompile
2023-04-24 16:59:17 -07:00
Nicholas Ward
454e0add24
fixed blake2_f, and testing
2023-04-24 16:58:57 -07:00
Nicholas Ward
137a9966e0
Merge pull request #998 from mir-protocol/even-smaller-bignum-modexp-test
...
even smaller bignum modexp test, and fixes
2023-04-24 15:48:30 -07:00
Dmitry Vagner
f225ea495d
add comment
2023-04-24 13:44:31 -07:00
Nicholas Ward
9339847243
Merge branch 'precompile-fixes' into blake_precompile
2023-04-24 11:51:11 -07:00
Nicholas Ward
1eba893e61
mload_packing macro
2023-04-24 11:25:38 -07:00
Nicholas Ward
ffc5d6d6c2
Merge branch 'main' into precompile-fixes
2023-04-24 11:24:39 -07:00
Dmitry Vagner
43f4d2b80c
clean more
2023-04-24 09:37:42 -07:00
Dmitry Vagner
14ee46c850
cleanup
2023-04-24 09:33:05 -07:00
Dmitry Vagner
0f662ed043
fixes
2023-04-24 08:08:26 -07:00