Nicholas Ward
24d6627a62
addressed comments
2022-12-13 10:08:36 -08:00
Nicholas Ward
fc14475541
documentation
2022-12-13 10:08:36 -08:00
Nicholas Ward
50ffb9072a
documentation
2022-12-13 10:08:36 -08:00
Nicholas Ward
778aec627b
rename blake -> blake2b
2022-12-13 10:08:36 -08:00
Nicholas Ward
d30a95f7d5
fixes
2022-12-13 10:08:36 -08:00
Nicholas Ward
0d05a4bbbf
FIX
2022-12-13 10:08:36 -08:00
Nicholas Ward
49504dde7d
fixes
2022-12-13 10:08:36 -08:00
Nicholas Ward
20169a5476
debugging
2022-12-13 10:08:36 -08:00
Nicholas Ward
245e5faa6d
fixes galore
2022-12-13 10:08:36 -08:00
Nicholas Ward
d3a7201348
fixes
2022-12-13 10:08:36 -08:00
Nicholas Ward
5759fb7b3c
concat
2022-12-13 10:08:36 -08:00
Nicholas Ward
9774b74b90
Blake progress
2022-12-13 10:08:36 -08:00
Nicholas Ward
ebd606621f
progress
2022-12-13 10:08:36 -08:00
Nicholas Ward
772dc5c9e7
util file
2022-12-13 10:08:36 -08:00
Nicholas Ward
df932544bd
fixes and testing
2022-12-13 10:08:36 -08:00
Nicholas Ward
a38b1fb37c
progress
2022-12-13 10:08:36 -08:00
Nicholas Ward
54a2e96473
progress
2022-12-13 10:08:36 -08:00
Nicholas Ward
dd29ec1f46
fixes and test infrastructure
2022-12-13 10:08:30 -08:00
Nicholas Ward
0cfe790210
updates
2022-12-13 10:08:16 -08:00
Nicholas Ward
5fab01b952
fix
2022-12-13 10:08:16 -08:00
Nicholas Ward
609ed6c984
fixes
2022-12-13 10:08:16 -08:00
Nicholas Ward
d3e5feba83
Blake progress
2022-12-13 10:08:16 -08:00
Nicholas Ward
6e782a1a1e
Blake progress
2022-12-13 10:08:16 -08:00
Nicholas Ward
0c919443f9
progress
2022-12-13 10:08:16 -08:00
Nicholas Ward
b40338ff2e
progress
2022-12-13 10:08:16 -08:00
Nicholas Ward
9a5db4b8d2
progress
2022-12-13 10:08:16 -08:00
Nicholas Ward
a1ea7ff930
progress
2022-12-13 10:08:16 -08:00
Nicholas Ward
1089bbf29e
blake initial
2022-12-13 10:08:16 -08:00
Nicholas Ward
efa80edaa9
blake initial
2022-12-13 10:08:16 -08:00
Daniel Lubarov
7557f320d4
Fix to add_eth
...
It was creating a new account with the hash of an empty storage trie, when really it should be a pointer to an empty storage trie. We can use 0 as this pointer since `@SEGMENT_TRIE_DATA[0] = 0 = @MPT_NODE_EMPTY`.
Also a couple tweaks that helped me debug, like moving the memory value range checks from the interpreter into `MemoryState`, so they're done in actual witness generation as well as interpreter tests.
2022-12-09 18:58:48 -08:00
Daniel Lubarov
f4ab65f973
Fixes to get test_simple_transfer working
2022-12-08 23:27:20 -08:00
Daniel Lubarov
b96c22a4f4
Interpreter fixes
2022-12-02 19:18:37 -08:00
Daniel Lubarov
05ab3d7933
Fixes
2022-12-01 16:23:39 -08:00
Daniel Lubarov
1b4acf5917
Make load_code a bit more general
...
So that it can be used to load code we're going to execute into the code segment of a certain context.
2022-11-21 13:54:39 -08:00
Daniel Lubarov
d23cecfcd8
Kernel code to do jumpdest analysis
2022-11-21 13:06:03 -08:00
Hamish Ivey-Law
1c87fbb712
EVM shift left/right operations ( #801 )
...
* First parts of shift implementation.
* Disable range check errors.
* Tidy up ASM.
* Update comments; fix some .sum() expressions.
* First full draft of shift left/right.
* Missed a +1.
* Clippy.
* Address Jacqui's comments.
* Add comment.
* Fix missing filter.
* Address second round of comments from Jacqui.
2022-11-09 10:47:15 +11:00
Jacqueline Nabaglo
626c2583de
Combine all syscalls into one flag ( #802 )
...
* Combine all syscalls into one flag
* Minor: typo
* Daniel PR comments
2022-11-07 12:29:28 -08:00
wborgeaud
68107502df
Merge branch 'main' into account_code_opcodes
...
# Conflicts:
# evm/src/cpu/kernel/aggregator.rs
# evm/src/cpu/kernel/tests/mod.rs
2022-11-02 13:46:14 +01:00
wborgeaud
313402de02
Merge pull request #797 from mir-protocol/balance
...
Implement `(SELF)BALANCE`
2022-11-02 13:44:29 +01:00
wborgeaud
8198355565
Fix + Use context=0
2022-11-02 11:06:14 +01:00
wborgeaud
70b5dda399
Merge branch 'main' into account_code_opcodes
2022-11-02 10:43:35 +01:00
wborgeaud
35c00fa6a7
Return 0 if account doesn't exist
2022-11-02 10:37:19 +01:00
wborgeaud
ff4210ea78
Return 0 if account doesn't exist
2022-11-02 10:03:40 +01:00
wborgeaud
f3d4e57aa6
Use address macro instead of opcode
2022-10-31 10:48:57 +01:00
wborgeaud
7647c5b51b
Use address macro instead of opcode
2022-10-31 10:15:43 +01:00
wborgeaud
6ed6574272
Balance
2022-10-28 11:15:43 +02:00
Dmitry Vagner
ccf5cda122
spacing
2022-10-28 02:11:22 -07:00
Dmitry Vagner
f90c058a52
minor
2022-10-28 02:09:56 -07:00
Dmitry Vagner
7d78916a6f
merge
2022-10-28 02:03:52 -07:00
Dmitry Vagner
fa05a33040
Merge branch 'main' of github.com:mir-protocol/plonky2 into Fp12
2022-10-28 02:03:47 -07:00