Daniel Lubarov
24d2414178
Merge pull request #751 from mir-protocol/move_constants
...
Move some constants
2022-10-03 12:58:20 -07:00
Jacqueline Nabaglo
d5cf53c227
Constraints for dup/swap ( #743 )
...
* Constraints for dup/swap
* Minor comments
* Daniel comments
* More comments
2022-10-03 12:31:43 -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
0de392b335
Fix optimization
2022-10-02 11:51:49 -07:00
Daniel Lubarov
9f9143d6f6
Finish some misc storage logic
2022-10-02 11:14:19 -07:00
Daniel Lubarov
9d22e376d0
Add TODO
2022-10-02 09:27:29 -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
6b8a18b3ef
Merge pull request #746 from mir-protocol/mpt_hashing
...
MPT hashing logic, part 1
2022-09-30 17:05:14 -07:00
Daniel Lubarov
12247047ae
MPT hashing logic, part 1
2022-09-30 17:02:25 -07:00
Daniel Lubarov
8b58725fa8
Fix bootstrap channel indices
2022-09-30 12:55:03 -07:00
Nicholas Ward
faaaa0e0e2
Merge pull request #742 from mir-protocol/msize
...
MSIZE
2022-09-30 09:11:43 -07:00
Nicholas Ward
f6ff07840f
fixes
2022-09-30 09:05:18 -07:00
BGluth
09ba1b6fce
Merge pull request #740 from mir-protocol/h256_trie_roots
...
Trie roots now use `H256` instead of `U256`
2022-09-30 09:32:09 -06:00
Nicholas Ward
ea135341e8
MSIZE
2022-09-29 23:35:02 -07:00
Daniel Lubarov
c721155e23
Main function, txn processing loop
2022-09-29 23:15:33 -07:00
BGluth
7e6844963a
Few small changes related to switching to H256
2022-09-29 17:24:23 -06:00
Jacqueline Nabaglo
e978425b26
Connect stack to memory ( #735 )
...
* Connect stack to memory
* Daniel PR comment
2022-09-28 15:18:56 -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
Nicholas Ward
26fcd9eed4
fmt
2022-09-23 11:49:30 -07:00
Nicholas Ward
2b298e39eb
stack manipulation: allow empty LHS
2022-09-23 11:49:13 -07:00
Daniel Lubarov
a816f4b666
Merge pull request #732 from mir-protocol/macro_overloading
...
Support macro overloading
2022-09-22 22:21:42 -07:00
Daniel Lubarov
dbb0503d3e
Support macro overloading
2022-09-22 20:22:57 -07:00
Jacqueline Nabaglo
084700a7f4
Memory channel for program counter ( #717 )
2022-09-22 18:09:23 -07:00
Daniel Lubarov
c27e40e7bb
Merge pull request #731 from mir-protocol/mpt
...
Basic MPT logic
2022-09-22 12:06:16 -07:00
Daniel Lubarov
37d92b55ac
Basic MPT logic
...
For now this contains most of the basic framework/structure. Logic for things like insertions will come later.
2022-09-22 11:25:37 -07:00
Daniel Lubarov
218f689422
Fix prohibited macro names
2022-09-21 13:10:16 -07:00
Daniel Lubarov
f876a8ab02
Fix macro vars in %stack directive
2022-09-21 08:42:56 -07:00
Daniel Lubarov
3fc7996d79
Merge pull request #683 from mir-protocol/call_common
...
Fill in call_common routine
2022-09-17 12:00:49 -07:00
Nicholas Ward
a5f34d9a2e
fix
2022-09-13 22:03:25 -07:00
Nicholas Ward
b25986ce57
parentheses change
2022-09-13 22:03:25 -07:00
Nicholas Ward
e4ab93fe9a
Merge pull request #714 from mir-protocol/stack-manipulation-blocks
...
blocks in stack manipulation
2022-09-11 23:00:39 -07:00
Jacqueline Nabaglo
cae5f4870c
Stack pointer + underflow/overflow checks ( #710 )
...
* Stack pointer + underflow/overflow checks
* Daniel comments
* Extra docs
2022-09-10 13:20:30 -07:00
Nicholas Ward
0b9881c5e3
blocks in stack manipulation
2022-09-09 12:05:58 -07:00
Daniel Lubarov
fdb6cafe18
Fill in call_common routine
2022-09-07 16:42:21 -07:00
Daniel Lubarov
9b259cb917
Feedback
2022-09-05 10:12:23 -07:00
Daniel Lubarov
aaf7ace396
Remove JUMPDESTs
2022-09-04 22:31:56 -07:00
Daniel Lubarov
f2f291606b
Merge pull request #702 from mir-protocol/keccak_sponge_table_v2
...
Keccak sponge STARK
2022-09-04 22:21:21 -07:00
Nicholas Ward
df15031145
clippy: remove unused 'peekable'
2022-09-02 15:40:24 -07:00
Daniel Lubarov
2c77247d43
Keccak sponge STARK
...
It contains a row for each absorb step of the sponge.
2022-09-01 09:41:19 -07:00
Jacqueline Nabaglo
4c52d37546
Save columns by verifying invalid opcodes in software ( #701 )
...
* Save columns by verifying invalid opcodes in software
* Autogenerate invalid opcode bitfield (Daniel comment)
* Remove unnecessary panic label
2022-08-30 13:06:03 -07:00
Daniel Lubarov
8505d64e37
Fill in keccakf_u32s
2022-08-30 12:28:08 -07:00
Jacqueline Nabaglo
013bf6471d
Transpose memory columns (make it an array of channel structs) ( #700 )
2022-08-26 22:05:16 -07:00
Jacqueline Nabaglo
f48de368a9
Make jumps, logic, and syscalls read from/write to memory columns ( #699 )
...
* Make jumps, logic, and syscalls read from/write to memory columns
* Change CTL convention (outputs precede inputs)
* Change convention so outputs follow inputs in memory channel order
2022-08-26 14:39:39 -07:00
Daniel Lubarov
d0be79e822
Feedback
2022-08-25 23:35:38 -07:00
Daniel Lubarov
aa87f2c3ba
Public memory
2022-08-25 20:19:18 -07:00
Daniel Lubarov
9671c1e535
Merge pull request #669 from mir-protocol/keccak_memory
...
Keccak memory stark
2022-08-25 15:55:48 -07:00