wborgeaud
7647c5b51b
Use address macro instead of opcode
2022-10-31 10:15:43 +01:00
wborgeaud
fd96d30e24
Minor
2022-10-27 14:57:17 +02:00
wborgeaud
dc8a62fbee
Codecopy test
2022-10-27 11:06:24 +02:00
wborgeaud
6bee508f6a
Clippy
2022-10-27 09:56:52 +02:00
wborgeaud
300de9d4d6
Merge branch 'main' into account_code_opcodes
2022-10-27 09:56:04 +02:00
wborgeaud
4c0b3b6079
Working with random address and code
2022-10-27 09:55:33 +02:00
wborgeaud
8b1152c3b3
Working codesize
2022-10-27 09:32:29 +02:00
wborgeaud
eb19225253
Merge pull request #794 from mir-protocol/fix_keccak256_word
...
Fix `keccak256_word` ASM function
2022-10-27 08:23:10 +02:00
wborgeaud
3026533a8a
Fix keccak256_word
2022-10-26 16:44:05 +02:00
wborgeaud
03d7f3d17e
Found bug
2022-10-26 16:39:31 +02:00
wborgeaud
0d4cf5be47
Minor
2022-10-26 15:45:34 +02:00
wborgeaud
258d329a82
Merge pull request #793 from mir-protocol/remove_config_from_common_data
...
Remove config from `CommonCircuitData`
2022-10-25 19:37:19 +02:00
wborgeaud
b97ec3bda1
New clippy lint
2022-10-25 10:50:40 +02:00
wborgeaud
0e58efdcc1
Remove Config from CommonCircuitData
2022-10-25 10:08:21 +02:00
wborgeaud
560b9b2a97
Finish extcodecopy
2022-10-21 18:11:27 +02:00
wborgeaud
9e21a25aff
Merge branch 'main' into account_code_opcodes
2022-10-21 18:02:27 +02:00
wborgeaud
6b4cce21d8
Start
2022-10-21 18:00:41 +02:00
wborgeaud
7b2f515c00
Merge pull request #791 from mir-protocol/kernel_msize
...
Implement MSIZE in the kernel
2022-10-21 17:30:44 +02:00
Hamish Ivey-Law
4af2ede6e6
Implement DIV instruction ( #790 )
...
* Implement DIV instruction.
* cargo fmt, clippy, minor doc update.
* Add implementation of circuit version.
2022-10-21 16:25:38 +11:00
wborgeaud
77d5c625cd
Minor
2022-10-20 19:36:28 +02:00
wborgeaud
0a800f8261
Minor
2022-10-20 19:29:35 +02:00
wborgeaud
fab3fe77c0
Minor
2022-10-20 19:28:24 +02:00
wborgeaud
9982d79999
Add msize
2022-10-20 19:23:01 +02:00
wborgeaud
71ed3c43ac
Fix fix interpreter
2022-10-20 14:32:28 +02:00
wborgeaud
61b6b16106
Fix interpreter
2022-10-20 14:06:48 +02:00
Hamish Ivey-Law
f55e07659c
Implement SUBMOD instruction ( #789 )
...
* Implement SUBMOD instruction.
* Implement recursive circuit version of SUBMOD.
2022-10-20 04:46:01 +11:00
Daniel Lubarov
574a57444c
Merge pull request #788 from mir-protocol/storage_fixes
...
Small storage fixes
2022-10-17 23:50:10 -07:00
Daniel Lubarov
a2edff4670
Small storage fixes
2022-10-17 23:35:34 -07:00
Daniel Lubarov
076fe521b3
Merge pull request #787 from mir-protocol/mpt_storage
...
MPT storage logic
2022-10-17 22:46:58 -07:00
Daniel Lubarov
9639ff22dc
MPT storage logic
2022-10-17 22:46:48 -07:00
Daniel Lubarov
8f9c5a7869
Merge pull request #786 from mir-protocol/mpt_dirs
...
More directories for MPT logic
2022-10-17 11:31:13 -07:00
wborgeaud
598b91c3d6
Merge pull request #775 from mir-protocol/generate_dummy_proof
...
Generate dummy proof with a given shape
2022-10-17 10:23:31 +02:00
wborgeaud
fb94ace3db
Fix conflict
2022-10-17 10:02:36 +02:00
wborgeaud
1ae922dd4d
Merge branch 'main' into generate_dummy_proof
2022-10-17 10:01:32 +02:00
wborgeaud
972d83687e
PR feedback
2022-10-17 09:54:00 +02:00
Daniel Lubarov
f125786d9b
More directories for MPT logic
2022-10-16 22:55:09 -07:00
Daniel Lubarov
e0fe4bcbe4
Merge pull request #785 from mir-protocol/storage_trie_inside_state_trie
...
Treat storage tries as sub-tries of the state trie
2022-10-16 20:48:49 -07:00
Daniel Lubarov
7f366cdace
Treat storage tries as sub-tries of the state trie
...
I.e. have leaves in the state trie point to the root of a storage trie
2022-10-16 20:26:37 -07:00
Daniel Lubarov
34865026df
Merge pull request #784 from mir-protocol/avoid_current_memory
...
Switch a few uses of current-context memory to kernel memory
2022-10-15 10:07:02 -07:00
Daniel Lubarov
a8e30b0ca0
Switch a few uses of current-context memory to kernel memory
...
E.g. make sure the RLP segment is only used with the kernel context. Using current-context memory would also work, we just need to be consistent.
For transaction parsing etc, the context should be 0 anyway, but explicitly referring to kernel memory feels more idiomatic to me.
2022-10-15 08:45:01 -07:00
wborgeaud
3296f27800
Merge pull request #781 from mir-protocol/redundant_degree_bits
...
Redundant `degree_bits`
2022-10-15 12:49:59 +02:00
Daniel Lubarov
2aeb8c92c7
Merge pull request #783 from mir-protocol/mpt_tweaks
...
MPT format tweaks
2022-10-14 19:57:51 -07:00
Daniel Lubarov
ecce5be9e3
MPT format tweaks
...
Don't need value lengths in memory. Branches with null values recognized as value_ptr = null.
2022-10-14 18:09:43 -07:00
Jacqueline Nabaglo
ec3391f9c4
Add Fp254 ops to the CPU table ( #779 )
...
* Add Fp254 ops to the CPU table
* Add forgotten file
2022-10-13 14:02:19 -07:00
wborgeaud
69bdbf6bf6
Redundant degree_bits
2022-10-13 18:19:05 +02:00
BGluth
22d3454fb5
Merge pull request #778 from mir-protocol/eth_trie_utils_0_2_0
...
Updated `eth_trie_utils` to `0.2.1`
2022-10-11 22:42:37 -06:00
BGluth
06475c2b61
Bumped patch version
2022-10-11 22:07:32 -06:00
BGluth
cb2e69a2c9
Updated eth_trie_utils to 0.2.0
2022-10-11 20:57:46 -06:00
Daniel Lubarov
581fcce0b0
Merge pull request #777 from mir-protocol/mpt_insert_7
...
Fix branch hashing bug
2022-10-11 16:10:44 -07:00
Daniel Lubarov
299aabf860
Fix branch hashing bug
2022-10-11 15:56:23 -07:00