747 Commits

Author SHA1 Message Date
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
Dmitry Vagner
7342b96583 test compress 2022-09-22 10:34:32 -07:00
Dmitry Vagner
f45d6593f9 fix constants 2022-09-22 09:40:40 -07:00
Dmitry Vagner
81675e6eda cargo format 2022-09-22 09:32:06 -07:00
Dmitry Vagner
3e371e5486 style 2022-09-22 09:31:42 -07:00
Dmitry Vagner
7ee583551c test is running, but failing 2022-09-22 09:27:11 -07:00
Dmitry Vagner
65b393cb95 assembler is running 2022-09-22 09:16:55 -07:00
Dmitry Vagner
9506c647de fix macro 2022-09-22 08:38:23 -07:00
Dmitry Vagner
937955788f cargo format 2022-09-21 20:18:18 -07:00
Dmitry Vagner
cfa0186517 Nick's comments 2022-09-21 20:06:41 -07:00
Dmitry Vagner
a25aea8e2e Nick's comments 2022-09-21 20:03:11 -07:00
Dmitry Vagner
aa5537a960 fake test 2022-09-21 19:37:09 -07:00
Dmitry Vagner
1867e5feb7 Merge branch 'main' of github.com:mir-protocol/plonky2 into ripeMD 2022-09-21 19:34:18 -07:00
Dmitry Vagner
28f9807442 0xdeadbeef 2022-09-21 16:49:46 -07:00
Dmitry Vagner
4783a90c94 tweak 2022-09-21 16:45:47 -07:00
Dmitry Vagner
94390c3cc7 fix 2022-09-21 16:40:27 -07:00
Dmitry Vagner
98d9e6cae2 parse error 2022-09-21 16:34:34 -07:00
BGluth
8fb1e4e760 Added a mapping between code hashes and contract byte code
Added a mapping between an account's `codehash` field and the actual contract byte code in `GenerationInputs`.
2022-09-21 16:46:18 -06:00
Dmitry Vagner
6cac2d79f8 use blocks 2022-09-21 13:42:13 -07:00
Daniel Lubarov
218f689422 Fix prohibited macro names 2022-09-21 13:10:16 -07:00
Dmitry Vagner
64041e1c59 Merge branch 'main' of github.com:mir-protocol/plonky2 into ripeMD 2022-09-21 12:54:24 -07:00
Dmitry Vagner
3b0dda77f2 fix test 2022-09-21 12:54:19 -07:00
Daniel Lubarov
f876a8ab02 Fix macro vars in %stack directive 2022-09-21 08:42:56 -07:00
Dmitry Vagner
bb968bd725 it runs (but forever...) 2022-09-20 21:40:22 -07:00
Dmitry Vagner
172bde8028 everything is parsing 2022-09-20 10:29:43 -07:00
Dmitry Vagner
d5f04cbfb4 Merge branch 'main' of github.com:mir-protocol/plonky2 into ripeMD 2022-09-20 10:19:50 -07:00
Dmitry Vagner
9f1e97edc4 fix bugs 2022-09-20 10:11:45 -07:00
Dmitry Vagner
c127f80bfa add to include files 2022-09-20 10:00:40 -07:00
Daniel Lubarov
d7d50e9d5a Minor 2022-09-19 23:04:53 -07:00
Daniel Lubarov
5d4d81c29f Shape check in starky 2022-09-19 21:41:24 -07:00
Daniel Lubarov
f8e0b6f6a3 fix 2022-09-19 21:30:14 -07:00
Daniel Lubarov
616a6b3919 Validate EVM proof shape 2022-09-19 20:54:45 -07:00
Dmitry Vagner
e36c17b653 test 2022-09-19 19:12:38 -07:00
Dmitry Vagner
5d25683b13 test running 2022-09-19 19:06:48 -07:00
Dmitry Vagner
a6f72ee315 alt api for testing 2022-09-19 19:04:22 -07:00
Dmitry Vagner
76d50f336c duplicate macro, test skeleton 2022-09-19 18:38:43 -07:00
Dmitry Vagner
aa862b7662 delete needless 2022-09-19 18:15:22 -07:00
Dmitry Vagner
d032b7fbfb merge 2022-09-19 18:13:00 -07:00
Dmitry Vagner
6193827733 finish?? 2022-09-19 18:11:07 -07:00
Daniel Lubarov
dbce356818 Validate the shape of each proof 2022-09-19 17:37:18 -07:00
Daniel Lubarov
4d873cdaf5 zkEVM spec 2022-09-19 13:38:02 -07:00
Dmitry Vagner
e151be5522 ripemd storage 2022-09-19 12:09:57 -07:00
Dmitry Vagner
c45785f4a5 change to 8 bit words 2022-09-19 10:27:26 -07:00
Dmitry Vagner
1783f97165 add ripeMD segment 2022-09-19 10:26:46 -07:00
BGluth
d7d8803d0a Replaced PartialTrie definitions with eth-trie-utils crate
- There were enough dependencies that it made sense to move
  `PartialTrie` logic to its own crate.
2022-09-19 11:05:48 -06:00
Dmitry Vagner
e1a1b05b13 update skeleton 2022-09-18 11:05:00 -07:00
Dmitry Vagner
ffbb6fc617 outer function 2022-09-18 10:20:25 -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