Nicholas Ward
d59501e6a7
fixes, testing, and in-progress debugging
2023-03-21 16:03:54 -07:00
Nicholas Ward
24705e1e39
addressed comments
2023-03-21 10:56:25 -07:00
Nicholas Ward
9803581d0a
fix
2023-03-20 14:57:02 -07:00
Nicholas Ward
1a78f40050
restored neq macro
2023-03-20 14:34:17 -07:00
Daniel Lubarov
bdf35374d5
Misc
2023-03-19 23:22:33 -07:00
Daniel Lubarov
47fac8e35b
Couple fixes & minor refactor
2023-03-19 22:35:53 -07:00
Daniel Lubarov
f717a40b85
Charge for memory expansion
2023-03-19 20:17:30 -07:00
Dmitry Vagner
dd7948e77b
merge
2023-03-14 16:40:58 -07:00
Dmitry Vagner
24e0b29188
Merge branch 'main' of github.com:mir-protocol/plonky2 into non-inv
2023-03-14 13:42:22 -07:00
Nicholas Ward
476a554aea
OR -> ADD
2023-03-14 12:29:30 -07:00
Daniel Lubarov
d5003b7cf2
Gas fees go to coinbase
2023-03-12 23:13:19 -07:00
Dmitry Vagner
2a9d4b1a9a
minor
2023-02-20 15:19:01 -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
Dmitry Vagner
a6ffb4b3c3
simplify byte extraction
2023-02-16 16:30:50 -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
cd5c92b574
merge
2023-02-01 08:51:42 -08:00
wborgeaud
ca002aeafa
Optimize ecrecover ASM ( #840 )
...
* 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
* Minor
* Hamish's suggestion
* Working
* Cleaning
* Clippy
* PR feedback
* Minor PR feedback
2023-01-31 19:23:54 +01:00
Dmitry Vagner
8c064b8624
merge
2022-12-13 16:32:13 -08:00
Dmitry Vagner
a9f80d383d
spacing
2022-12-13 16:31:16 -08:00
Nicholas Ward
53004867b3
macro
2022-12-13 10:08:36 -08:00
Nicholas Ward
a564d7350c
fixes and addressed comments
2022-12-13 10:08:36 -08:00
Nicholas Ward
24d6627a62
addressed comments
2022-12-13 10:08:36 -08:00
Daniel Lubarov
f4ab65f973
Fixes to get test_simple_transfer working
2022-12-08 23:27:20 -08:00
wborgeaud
03d7f3d17e
Found bug
2022-10-26 16:39:31 +02:00
wborgeaud
6b4cce21d8
Start
2022-10-21 18:00:41 +02:00
Daniel Lubarov
9639ff22dc
MPT storage logic
2022-10-17 22:46:48 -07:00
Daniel Lubarov
cad0473e1d
More MPT insert logic
2022-10-10 09:40:28 -07:00
Dmitry Vagner
d42250d677
merge
2022-10-03 14:25:33 -07:00
Nicholas Ward
99fb730aea
rearranging and cleanup
2022-10-03 14:07:21 -07:00
Nicholas Ward
7eba422792
addressed comments
2022-10-03 13:34:16 -07:00
Nicholas Ward
bff3da1da1
removed duplicate macros
2022-10-03 13:34:16 -07:00
Nicholas Ward
6a31a4b7ec
fixes
2022-10-03 13:34:16 -07:00
Nicholas Ward
c24af37288
fixes
2022-10-03 13:34:16 -07:00
Nicholas Ward
aba45e2d2c
finished pad
2022-10-03 13:34:16 -07:00
Nicholas Ward
042da0c8e9
starting on sha2
2022-10-03 13:34:16 -07:00
Dmitry Vagner
d6b3522b34
reverse bytes via BYTE code
2022-09-29 16:21:10 -07:00
Dmitry Vagner
abff978826
Daniel's comments
2022-09-29 13:58:49 -07:00
Dmitry Vagner
71d8384a0f
Nick's comments
2022-09-27 22:17:48 -07:00
Dmitry Vagner
41ce8e94b9
FIRST UNIT TEST PASSED!
2022-09-23 10:39:49 -07:00
Dmitry Vagner
c6b62eaf2f
fix update
2022-09-23 08:05:14 -07:00
Dmitry Vagner
a25aea8e2e
Nick's comments
2022-09-21 20:03:11 -07:00
Dmitry Vagner
76d50f336c
duplicate macro, test skeleton
2022-09-19 18:38:43 -07:00
Dmitry Vagner
aa862b7662
delete needless
2022-09-19 18:15:22 -07:00
Dmitry Vagner
d032b7fbfb
merge
2022-09-19 18:13:00 -07:00
Dmitry Vagner
145eb5865b
flip bytes of a u32 macro
2022-09-15 11:02:03 -07:00
Dmitry Vagner
cf80668ce3
formatting
2022-09-09 17:42:49 -07:00
Dmitry Vagner
7ed78c22a3
minor errors
2022-09-08 15:47:18 -07:00
Daniel Lubarov
aaf7ace396
Remove JUMPDESTs
2022-09-04 22:31:56 -07:00
Jacqueline Nabaglo
4c52d37546
Save columns by verifying invalid opcodes in software ( #701 )
...
* Save columns by verifying invalid opcodes in software
* Autogenerate invalid opcode bitfield (Daniel comment)
* Remove unnecessary panic label
2022-08-30 13:06:03 -07:00