57 Commits

Author SHA1 Message Date
Nicholas Ward
8e067dcffc cleanup 2022-10-03 13:34:16 -07:00
Nicholas Ward
0150c2f0b0 cleanup 2022-10-03 13:34:16 -07:00
Nicholas Ward
9f5d75fed4 fix 2022-10-03 13:34:16 -07:00
Nicholas Ward
f4207e75a4 sha2 testing infrastructure 2022-10-03 13:34:16 -07:00
Nicholas Ward
7d2b17f43c clippy 2022-10-03 13:34:16 -07:00
Nicholas Ward
94d967f5e0 many fixes 2022-10-03 13:34:16 -07:00
Nicholas Ward
e13841dd97 MESSAGE SCHEDULE WORKS 2022-10-03 13:34:16 -07:00
Nicholas Ward
84273889b5 many fixes 2022-10-03 13:34:16 -07:00
Nicholas Ward
4905f499a4 fixes 2022-10-03 13:34:16 -07:00
Nicholas Ward
c40074a00d fmt 2022-10-03 13:34:16 -07:00
Nicholas Ward
54e96a9db2 many fixes 2022-10-03 13:34:16 -07:00
Nicholas Ward
79e4d80d5b fmt 2022-10-03 13:34:16 -07:00
Nicholas Ward
b1b95e7b65 clippy 2022-10-03 13:34:16 -07:00
Nicholas Ward
4624ce515b fmt 2022-10-03 13:34:16 -07:00
Nicholas Ward
3960940942 fix 2022-10-03 13:34:16 -07:00
Nicholas Ward
e4521c481f a great many fixes 2022-10-03 13:34:16 -07:00
Nicholas Ward
f90cfd0f56 fixes and updates 2022-10-03 13:34:16 -07:00
Nicholas Ward
4b3ce01f8e fixes 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
baa4bd4ea1 files 2022-10-03 13:34:16 -07:00
Nicholas Ward
eb6095cd04 message schedule progress 2022-10-03 13:34:16 -07:00
Daniel Lubarov
5a1cf8bff9 Move some constants 2022-10-03 12:08:29 -07:00
Daniel Lubarov
25a448e24b Minor refactor of RLP code 2022-10-03 09:58:43 -07:00
Daniel Lubarov
9e483528d3 MPT hashing logic, part 3 2022-10-02 09:11:39 -07:00
Daniel Lubarov
f2f05952ab MPT hashing logic, part 2 2022-10-01 20:02:42 -07:00
Daniel Lubarov
12247047ae MPT hashing logic, part 1 2022-09-30 17:02:25 -07:00
Daniel Lubarov
c721155e23 Main function, txn processing loop 2022-09-29 23:15:33 -07:00
Daniel Lubarov
5555085c4c MPT read for extension nodes 2022-09-27 21:41:22 -07:00
Daniel Lubarov
0e48d58147 Finish MPT read logic 2022-09-26 19:13:17 -07:00
Daniel Lubarov
c7b03cfe9a More MPT logic 2022-09-24 20:49:19 -07:00
Daniel Lubarov
539152d767 RLP encoding functions 2022-08-14 11:41:53 -07:00
Daniel Lubarov
cc61c7211c Core transaction processing logic
With lots of TODOs to fill in afterward; this is just a start.
2022-08-12 17:20:18 -07:00
Daniel Lubarov
ccc4202de3 Packing memory operations 2022-08-05 13:44:08 -04:00
Daniel Lubarov
002b568a12 fix 2022-08-02 10:17:34 -07:00
Daniel Lubarov
74fc3b4cfc
Merge pull request #650 from mir-protocol/type_0_test
Test for parsing type 0 transactions
2022-08-02 09:08:46 -07:00
Daniel Lubarov
215be25cf8 Feedback 2022-08-02 09:08:24 -07:00
Daniel Lubarov
b34ace4c90 More succinct deadbeef 2022-08-01 17:40:16 -07:00
Daniel Lubarov
94c9b1b09c Misc 2022-08-01 11:20:56 -07:00
Daniel Lubarov
b737aeaf03 Tweak py-evm code 2022-08-01 11:13:33 -07:00
Daniel Lubarov
3618793706 Test for parsing type 0 transactions
I made a couple related changes to `Interpreter`:
- Only enforce the `JUMPDEST` rule if we're in kernel mode.
- Convenience methods for dealing with the RLP and txn field segments of memory.
2022-08-01 11:03:05 -07:00
Daniel Lubarov
d6b5193c9b RLP decoding tests 2022-07-31 20:29:57 -07:00
wborgeaud
209dc26dc9 Remove stack and code in interpreter 2022-07-29 14:29:10 +02:00
wborgeaud
9dacbe0ff6 Comments 2022-07-23 12:52:45 +02:00
wborgeaud
cafae8b818 Add run_with_kernel fn 2022-07-23 12:36:03 +02:00
wborgeaud
19e6725cfa Working 2022-07-23 11:56:52 +02:00
wborgeaud
54629a0ef9 Merge branch 'main' into sha3_interpreter_ecrecover
# Conflicts:
#	evm/src/cpu/kernel/interpreter.rs
#	evm/src/cpu/kernel/tests/ecrecover.rs
2022-07-19 15:24:28 +02:00
Daniel Lubarov
0b7e3eca67 PANIC returns error 2022-07-18 08:58:11 -07:00
wborgeaud
f9ec4e8e7d Modify ecrecover tests 2022-07-18 16:41:17 +02:00
wborgeaud
a22dbd18ed Merge conflicts 2022-07-18 14:04:40 +02:00