Dmitry Vagner
7dda0effec
works
2023-04-18 15:19:00 -07:00
Dmitry Vagner
1f0776281e
new api
2023-04-18 14:52:15 -07:00
Dmitry Vagner
c9b09936ce
compiles
2023-04-18 12:02:10 -07:00
Dmitry Vagner
d112c716c2
fmt
2023-04-18 11:29:21 -07:00
Dmitry Vagner
3cc39fa493
wip
2023-04-14 10:31:07 -07:00
Dmitry Vagner
191ca1026a
comment
2023-04-14 09:50:30 -07:00
Dmitry Vagner
0b85c8bbe0
getting there
2023-04-14 09:49:22 -07:00
Dmitry Vagner
0b9ef768d4
nl
2023-04-14 09:36:27 -07:00
Dmitry Vagner
2106ae07df
Merge branch 'bls-fp2' of github.com:mir-protocol/plonky2 into bls-fp2
2023-04-14 09:36:02 -07:00
Dmitry Vagner
a5c6b14e34
Merge branch 'main' of github.com:mir-protocol/plonky2 into bls-fp2
2023-04-14 09:35:54 -07:00
Dima V
9b9cd735b5
Update evm/src/extension_tower.rs
...
Co-authored-by: Jacqueline Nabaglo <jakub@mirprotocol.org>
2023-04-14 09:35:19 -07:00
wborgeaud
b721236eb3
Precompiles interface ( #983 )
...
* Start
* Some sha256 test passing
* precompiles folder
* Files reorg
* Progress
* Minor
* Start of sha2 interface
* All call opcodes
* ecrec
* rip160
* Fix copy_returndata_to_mem
* id
* bn_add
* bn_mul
* TODOs for snarkv and blake2
* Comments
* Use charge_gas_const when possible
* Minor
* Minor
* Minor
* PR feedback
2023-04-14 12:20:28 +02:00
Hamy Ratoanina
c8637635b9
Remove dummy_yield_constr
2023-04-13 15:55:46 -04:00
Hamy Ratoanina
4946c3d5fd
Merge branch 'main' into stack_bound
2023-04-13 15:47:27 -04:00
Jacqueline Nabaglo
5fce67d14e
Merge pull request #978 from toposware/stack_constraints
...
Enable stack constraints
2023-04-13 12:18:38 -07:00
Daniel Lubarov
32a6bdf1cf
Merge pull request #971 from toposware/keccak_sponge_is_final_block
...
Remove is_final_block column in KeccakSpongeStark
2023-04-12 14:45:56 -07:00
Daniel Lubarov
58f4568e7c
Merge pull request #982 from toposware/sys_chainid
...
Use Block chain id for sys_chainid
2023-04-12 14:43:43 -07:00
Hamy Ratoanina
92d94dc60d
Use Block chain id for sys_chainid
2023-04-12 15:25:06 -04:00
4l0n50
ba844a2403
Change shl/shr behavior as well as BASIC_TERNARY_OP
2023-04-12 17:35:32 +02:00
wborgeaud
475b2ba0cb
Fix copy_returndata_to_mem ( #976 )
2023-04-12 16:41:36 +02:00
wborgeaud
c7e60073f0
Check if context is static for state-changing opcodes ( #973 )
...
* Check if context is static for state-changing opcodes
* PR feedback
2023-04-12 08:24:33 +02:00
wborgeaud
142be4e114
Implement rest of *CALL opcodes ( #972 )
...
* Implement rest of *CALL opcodes
* Use set_new_ctx_code_size macro
2023-04-12 08:04:39 +02:00
Dmitry Vagner
b202196b5f
switch
2023-04-11 15:30:03 -07:00
Dmitry Vagner
f265041845
Merge branch 'main' of github.com:mir-protocol/plonky2 into bls-fp2
2023-04-11 15:29:53 -07:00
Robin Salen
1e57ef96cb
Remove unnecessary constraint
2023-04-11 17:46:48 -04:00
Robin Salen
29726f9257
Apply review
2023-04-11 17:45:37 -04:00
Daniel Lubarov
f424bd3644
Merge pull request #966 from toposware/interpreter
...
Implement arithmetic opcodes on the interpreter side
2023-04-11 14:33:40 -07:00
Hamy Ratoanina
938e3bd5da
Set stack_len_bounds_aux properly
2023-04-11 16:38:59 -04:00
Robin Salen
18d27d2f55
Remove is_final_block column in KeccakSpongeStark
2023-04-11 08:05:50 -04:00
Robin Salen
011ea8e49b
Fix from review
2023-04-11 07:46:22 -04:00
wborgeaud
5b1fd5f2af
CALL gas ( #969 )
...
* (Non)ZeroValue_CALL pass
* Memory expansion costs (callcall_00 pass)
* Cleaning
* Minor
* PR feedback
2023-04-11 08:41:45 +02:00
Dmitry Vagner
d79d2c4915
Merge branch 'main' of github.com:mir-protocol/plonky2 into bls-fp2
2023-04-10 16:05:57 -07:00
Daniel Lubarov
8130a8a659
Merge pull request #950 from toposware/keccak_sponge
...
Implement KeccakSpongeStark constraints and fix associated CTL
2023-04-09 21:15:39 -07:00
Robin Salen
0529fa06a5
Change endianness within generate_keccak_general
2023-04-09 17:36:39 -04:00
Robin Salen
3da8efa6ba
Implement sar in interpreter
2023-04-09 16:07:31 -04:00
Robin Salen
b943ddb0d2
Implement signextend in interpreter
2023-04-09 16:07:31 -04:00
Robin Salen
4db004417c
Implement sgt in interpreter
2023-04-09 10:28:43 -04:00
Robin Salen
ac2ccc1eb9
Implement slt in interpreter
2023-04-09 10:28:42 -04:00
Robin Salen
232832e34d
Implement smod in interpreter
2023-04-09 10:28:42 -04:00
Robin Salen
18d317b9cf
Implement sdiv in interpreter.
2023-04-09 10:28:42 -04:00
Daniel Lubarov
0e5e28f666
Merge pull request #968 from toposware/block_interpreter
...
Block interpreter
2023-04-08 14:37:42 -07:00
Robin Salen
6124e4d6a3
Fix BlockCircuitData proofs
2023-04-08 14:31:10 -04:00
Robin Salen
0146f48a87
Cleanup
2023-04-08 14:30:26 -04:00
Robin Salen
524b39e2b3
Reactivate CTL for keccak sponge
2023-04-08 14:30:26 -04:00
Robin Salen
d1379ac1e9
Fix hash output writing to memory
2023-04-08 14:30:26 -04:00
Robin Salen
5f6098ff3b
Add test for keccakf_u8s
2023-04-08 14:30:25 -04:00
Robin Salen
99b0d0094c
Implement KeccakSpongeStark constraints
2023-04-08 14:30:25 -04:00
Robin Salen
2fae2fbcc0
Impl gaslimit opcode for interpreter
2023-04-08 14:28:59 -04:00
Robin Salen
9e6f284b26
Impl chain_id opcode for interpreter
2023-04-08 14:28:58 -04:00
Robin Salen
ae8ee27eb8
Impl coinbase opcode for interpreter
2023-04-08 14:28:58 -04:00