Nicholas Ward
050c2e657e
fix: calculate gas properly
2023-05-01 13:03:48 -07:00
Nicholas Ward
ade5b433ae
fix
2023-05-01 10:58:56 -07:00
Nicholas Ward
08e6c3521c
addressed comments
2023-05-01 08:09:13 -07:00
Nicholas Ward
037c2f5ee8
addressed comments
2023-05-01 08:04:14 -07:00
Nicholas Ward
debe65f91c
addressed comments
2023-05-01 00:32:03 -07:00
Nicholas Ward
397d5953f4
fix
2023-04-28 13:42:41 -07:00
Nicholas Ward
031fe6ed90
Merge branch 'main' into expmod_precompile
2023-04-28 11:39:47 -07:00
Nicholas Ward
9e4056e24f
cleanup
2023-04-28 11:39:03 -07:00
Nicholas Ward
badbf01021
store and unpack at end
2023-04-28 11:01:51 -07:00
Nicholas Ward
998cd8ab77
addressed comments
2023-04-28 10:37:37 -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
96742f2946
addressed comments
2023-04-28 07:05:54 -07:00
Nicholas Ward
e40b9edb5b
addressed comments
2023-04-28 06:59:17 -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
Nicholas Ward
b4e06271df
fix
2023-04-26 11:14:29 -07:00
Nicholas Ward
1e9db2924f
fixes
2023-04-26 09:46:29 -07:00
wborgeaud
67a3edb2f1
Precompiles exist ( #1008 )
...
* Precompiles exist
* Fix
2023-04-26 06:26:41 +02:00
Nicholas Ward
0d98e4b8ee
formatting
2023-04-25 17:47:19 -07:00
Nicholas Ward
dc91554da2
expmod precompile
2023-04-25 17:19:44 -07: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
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
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
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
wborgeaud
b7e93511e4
New contract hook ( #1002 )
...
* New contract hook
* Minor
* PR feedback
2023-04-24 09:07:00 +02:00
wborgeaud
a4b714e64d
EIP-3541: Reject new contract code starting with the 0xEF byte ( #1003 )
...
* EIP-3541: Reject new contract code starting with the 0xEF byte
* Panic instead
* PR feedback
2023-04-24 07:55:04 +02:00
wborgeaud
472face2a5
EIP-3860: Limit and meter initcode ( #999 )
...
* EIP3860
* Contract creation tx
* Minor
2023-04-24 07:17:47 +02:00
Nicholas Ward
86acc15f12
blake precompile progress
2023-04-21 18:13:53 -07:00
Nicholas Ward
b288ff5f0d
Merge branch 'precompile-fixes' into blake_precompile
2023-04-21 18:01:29 -07:00
Nicholas Ward
d5060ecd60
precompile optimizations
2023-04-21 18:00:52 -07:00
Nicholas Ward
9f0c2f472b
blake precompile progress
2023-04-21 12:21:08 -07:00
Nicholas Ward
5f564b6782
initial work on blake precompile
2023-04-20 15:11:19 -07:00
wborgeaud
1a0a63003d
EIP170 ( #1000 )
2023-04-20 17:28:33 +02:00
wborgeaud
6edd589138
Gas and more for CREATE(2) ( #995 )
...
* Gas
* Codehash
* Minor
2023-04-20 07:00:15 +02:00
wborgeaud
a8e5613bc5
EOA to precompiles logic ( #993 )
...
* Start
* Progress
* Comments
* Minor
2023-04-20 06:56:47 +02:00
Nicholas Ward
df4a6f0105
fix for full modexp test
2023-04-19 15:27:49 -07:00
Nicholas Ward
6d84b988ba
fmt
2023-04-19 14:56:08 -07:00
Nicholas Ward
cb23bfcade
check for special cases and align with yellow paper
2023-04-19 14:55:19 -07:00
Hamish Ivey-Law
2e16ab0489
Replace %stack calls with equivalent opcodes. ( #994 )
2023-04-20 01:34:04 +10:00
Daniel Lubarov
67593f162a
Labels for failed MPT read/insert
2023-04-17 17:27:55 -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