6 Commits

Author SHA1 Message Date
wborgeaud
ce22d94518
Access lists (#937)
* Working linear search

* Working linear search for storage keys

* Macros

* Gas for wextaccount

* Add origin and to to the access list

* Handle precompiles

* Fixes

* Other opcodes

* Access list SLOAD

* Minor

* Add TODO for SSTORE

* Comments

* Clippy

* Minor

* PR feedback: cold_access

* PR feedback: simplify insert_accessed_addresses_no_return macro

* Fix sys_selfdestruct

* Store length in global metadata and store arrays in kernel memory

* Truncate address in all *CALL syscalls
2023-03-23 20:22:25 +01:00
Daniel Lubarov
afded1682b Contract creation fixes 2023-03-20 23:43:13 -07:00
wborgeaud
893b88c309
Implement syscalls for BALANCE and SELFBALANCE (#922)
* Implement syscalls for BALANCE and SELFBALANCE

* Remove stubs
2023-03-21 05:54:29 +01:00
Daniel Lubarov
f4ab65f973 Fixes to get test_simple_transfer working 2022-12-08 23:27:20 -08:00
wborgeaud
ff4210ea78 Return 0 if account doesn't exist 2022-11-02 10:03:40 +01:00
wborgeaud
6ed6574272 Balance 2022-10-28 11:15:43 +02:00