2923 Commits

Author SHA1 Message Date
Daniel Lubarov
12247047ae MPT hashing logic, part 1 2022-09-30 17:02:25 -07:00
Daniel Lubarov
c5f63f883e
Merge pull request #744 from mir-protocol/bootstrap_fix
Fix bootstrap channel indices
2022-09-30 13:04:25 -07:00
Daniel Lubarov
a7b518003f
Merge pull request #745 from mir-protocol/empty_test
Empty txn list test (disabled for now)
2022-09-30 12:59:13 -07:00
Daniel Lubarov
8b58725fa8 Fix bootstrap channel indices 2022-09-30 12:55:03 -07:00
Daniel Lubarov
1dbd96ba20 Empty txn list test (disabled for now) 2022-09-30 12:48:42 -07:00
Dmitry Vagner
b26a28454f Merge branch 'main' of github.com:mir-protocol/plonky2 into ripeMD 2022-09-30 09:41:04 -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
10f4a0d0ba
Merge pull request #741 from mir-protocol/txn_loop
Main function, txn processing loop
2022-09-29 23:28:39 -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
Dmitry Vagner
d6b3522b34 reverse bytes via BYTE code 2022-09-29 16:21:10 -07:00
BGluth
8e08b218d2 Trie roots now use H256 instead of U256
- `H256` preserves any leading `0`s, which could be critical in some
  situations. Also just a slightly more appropriate type for hashes.
2022-09-29 15:56:09 -06:00
Dmitry Vagner
abff978826 Daniel's comments 2022-09-29 13:58:49 -07:00
wborgeaud
58256ce052
Merge pull request #718 from mir-protocol/fix_basesumgate_numlimbs
Fix `num_limbs` in `BaseSumGate`
2022-09-29 16:32:56 +02:00
wborgeaud
cb620bc55a Simplify num_ctl_zs 2022-09-29 16:32:41 +02:00
Dmitry Vagner
e1cdd8248a spacing 2022-09-29 06:46:23 -07:00
Dmitry Vagner
4c9e80f298 Merge branch 'main' of github.com:mir-protocol/plonky2 into ripeMD 2022-09-29 06:46:16 -07:00
wborgeaud
ee54b295d9 Use u64 instead of usize 2022-09-29 15:24:43 +02:00
Jacqueline Nabaglo
e978425b26
Connect stack to memory (#735)
* Connect stack to memory

* Daniel PR comment
2022-09-28 15:18:56 -07:00
Dmitry Vagner
7202f403c6 spacing 2022-09-28 00:00:58 -07:00
Dmitry Vagner
8f18f81587 unused macro 2022-09-27 22:20:32 -07:00
Dmitry Vagner
fb3580e596 merge 2022-09-27 22:18:42 -07:00
Dmitry Vagner
71d8384a0f Nick's comments 2022-09-27 22:17:48 -07:00
Daniel Lubarov
e3131f5fce
Merge pull request #739 from mir-protocol/mpt_read_2
MPT read for extension nodes
2022-09-27 21:57:23 -07:00
Daniel Lubarov
5555085c4c MPT read for extension nodes 2022-09-27 21:41:22 -07:00
Dmitry Vagner
bfb1f54ce3 format 2022-09-27 09:33:04 -07:00
Dmitry Vagner
fc761f7c20 SHR 2022-09-27 00:38:41 -07:00
Dmitry Vagner
ea31a803ca merge 2022-09-27 00:35:21 -07:00
Nicholas Ward
9e02e24df0
Merge pull request #730 from mir-protocol/plonky2_examples
Plonky2 examples
2022-09-26 21:26:23 -07:00
Nicholas Ward
e2811550e1 addressed comments 2022-09-26 20:34:17 -07:00
Dmitry Vagner
f3e1a73ebe all reference tests are working! 2022-09-26 20:28:29 -07:00
Dmitry Vagner
29b2552fac majorly simplify update2 2022-09-26 20:17:41 -07:00
Daniel Lubarov
9e6ba6d5aa
Merge pull request #738 from mir-protocol/mpt_read
Finish MPT read logic
2022-09-26 19:43:16 -07:00
Dmitry Vagner
9b59d02dad loop thru official ripemd tests 2022-09-26 19:37:16 -07:00
Daniel Lubarov
0e48d58147 Finish MPT read logic 2022-09-26 19:13:17 -07:00
Nicholas Ward
7d7269b26d nit 2022-09-26 16:17:04 -07:00
Nicholas Ward
20053ac4c7 documentation 2022-09-26 15:58:28 -07:00
Nicholas Ward
33d97eff1c moved sqrt to PrimeField 2022-09-26 11:31:11 -07:00
Nicholas Ward
a053372176 cleanup and documentation 2022-09-26 11:19:09 -07:00
Nicholas Ward
3bc1e65a7a fix 2022-09-26 11:11:41 -07:00
Dmitry Vagner
01b310d013 all small inputs work 2022-09-26 10:53:47 -07:00
Nicholas Ward
4668e8c5f8 clippy 2022-09-26 10:45:20 -07:00
Nicholas Ward
59acd9436c fmt 2022-09-26 10:44:51 -07:00
Nicholas Ward
d239d3ffb5 fix 2022-09-26 10:44:43 -07:00
Nicholas Ward
880bc87bb1 sqrt 2022-09-26 10:43:18 -07:00
Dmitry Vagner
9f5e565452 fix update2 2022-09-26 10:32:54 -07:00
Dmitry Vagner
4850c338b4 clean up 2022-09-26 07:34:57 -07:00