Nicholas Ward
|
779456c2c9
|
Merge pull request #1029 from mir-protocol/precompile-memory-context-change
Use current memory context in hash precompiles
|
2023-05-10 10:06:00 -07:00 |
|
Nicholas Ward
|
6f4f00c6f8
|
Merge pull request #1027 from mir-protocol/memory-refactor
Memory refactor to make code more re-usable
|
2023-05-10 10:05:03 -07:00 |
|
Hamish Ivey-Law
|
2c5f6fd62a
|
Fix compile time problems and generic hash implementation (#1024)
* Fix egregious magic number.
* Remove generic consts from core permutations.
* Remove redundant `where` clauses.
* Remove HashConfig and friends.
* Refactor Permutation code.
* Remove redundant `where` clauses and `use`s.
* Introduce AlgebraicPermutation to wrap `[Target; WIDTH]`s.
* Remove `generic_const_expr` feature from plonky2!
* Remove `generic_const_expr` feature from plonky2!
* Compile time fixed! Start removing `generic_const_expr` from evm.
* Remove redundant `where` clauses from Starky.
* Remove `generic_const_expr`s from benchmarks.
* Remove redundant HASH_SIZE `where` clause.
* Clippy.
* Fix unrelated OsRng issue in `bench_recursion`.
* Fix function doc.
|
2023-05-11 02:59:02 +10:00 |
|
Nicholas Ward
|
76fb31606a
|
Merge branch 'memory-refactor' into precompile-memory-context-change
|
2023-05-10 09:55:59 -07:00 |
|
Nicholas Ward
|
0d9e321647
|
fix (mstore_unpacking returns offset)
|
2023-05-10 09:55:35 -07:00 |
|
Nicholas Ward
|
97aedd11cf
|
Merge branch 'memory-refactor' into precompile-memory-context-change
|
2023-05-10 09:22:04 -07:00 |
|
Nicholas Ward
|
6e7fa6da02
|
fix
|
2023-05-10 09:21:52 -07:00 |
|
Nicholas Ward
|
57bcb45104
|
use mstore_unpacking and mload_packing
|
2023-05-10 09:12:30 -07:00 |
|
Nicholas Ward
|
6669f73abe
|
use mstore_unpacking and mload_packing
|
2023-05-10 09:09:21 -07:00 |
|
Nicholas Ward
|
af12368a7b
|
addressed comments & cleanup
|
2023-05-10 08:48:05 -07:00 |
|
Nicholas Ward
|
98a75774d4
|
cleanup
|
2023-05-10 08:39:35 -07:00 |
|
Nicholas Ward
|
a4a4fbb39b
|
fmt
|
2023-05-09 10:57:59 -07:00 |
|
Nicholas Ward
|
057b650fc2
|
fix
|
2023-05-08 16:35:58 -07:00 |
|
Nicholas Ward
|
a076da7541
|
fix
|
2023-05-08 16:32:36 -07:00 |
|
Nicholas Ward
|
24159886eb
|
precompile memory context change
|
2023-05-08 16:23:14 -07:00 |
|
Nicholas Ward
|
d9694d95a6
|
fix
|
2023-05-08 16:22:12 -07:00 |
|
Nicholas Ward
|
446c3b7140
|
fix
|
2023-05-08 16:02:43 -07:00 |
|
Nicholas Ward
|
b566dbd735
|
refactor memory/core.asm to make code more reusable
|
2023-05-08 15:52:35 -07:00 |
|
wborgeaud
|
f11921c9ad
|
Fix doubly_encode_rlp_scalar in the 0 case. (#1022)
|
2023-05-04 17:51:27 +02:00 |
|
Nicholas Ward
|
4380395e8b
|
Merge pull request #1017 from mir-protocol/expmod-fix
expmod edge case fix
|
2023-05-02 10:46:39 -07:00 |
|
Nicholas Ward
|
91067e58ba
|
expmod edge case fix
|
2023-05-02 10:45:43 -07:00 |
|
Daniel Lubarov
|
b159c9e791
|
Merge pull request #1013 from topos-network/overflow-check
Address overflow-related TODOs in ASM code.
|
2023-05-02 10:22:53 -07:00 |
|
Nicholas Ward
|
f0df03f65a
|
Merge pull request #1009 from mir-protocol/expmod_precompile
expmod precompile calling code
|
2023-05-02 08:14:19 -07:00 |
|
Nicholas Ward
|
099e7946e7
|
fixes
|
2023-05-02 08:13:49 -07:00 |
|
Robin Salen
|
17a7c57d03
|
Change add_or_fault macro
|
2023-05-02 08:22:00 +02:00 |
|
Linda Guiga
|
1f39c555a9
|
Address overflow-related TODOs in ASM code, using a macro add_or_fault. This is related to a4ea0965d7
|
2023-05-02 08:22:00 +02:00 |
|
Daniel Lubarov
|
40515dc66a
|
Merge pull request #1014 from toposware/bootstrap_constraint
Constrain memory channels at end of bootstrapping
|
2023-05-01 20:27:41 -07:00 |
|
Nicholas Ward
|
f3de2afc3b
|
remove test file
|
2023-05-01 15:34:23 -07:00 |
|
Nicholas Ward
|
cae5a2cf21
|
fix
|
2023-05-01 15:25:45 -07:00 |
|
Nicholas Ward
|
050c2e657e
|
fix: calculate gas properly
|
2023-05-01 13:03:48 -07:00 |
|
Nicholas Ward
|
8d738729e8
|
Merge pull request #1015 from mir-protocol/clippy-fix
Fix for updated clippy
|
2023-05-01 11:07:06 -07:00 |
|
Nicholas Ward
|
ade5b433ae
|
fix
|
2023-05-01 10:58:56 -07:00 |
|
Nicholas Ward
|
8358b85d9f
|
remove unneeded mut
|
2023-05-01 08:36:16 -07:00 |
|
Nicholas Ward
|
08e6c3521c
|
addressed comments
|
2023-05-01 08:09:13 -07:00 |
|
Nicholas Ward
|
037c2f5ee8
|
addressed comments
|
2023-05-01 08:04:14 -07:00 |
|
Robin Salen
|
841c58294d
|
Fix todo in kernel bootstrapping
|
2023-05-01 12:52:33 +02:00 |
|
Nicholas Ward
|
debe65f91c
|
addressed comments
|
2023-05-01 00:32:03 -07:00 |
|
Dima V
|
ae21ef8fd1
|
Merge pull request #997 from mir-protocol/pairing-test
Restructure BN254 Pairing Precompile to fit EVM Test Spec
|
2023-04-28 22:11:56 -07:00 |
|
Dmitry Vagner
|
84f17699be
|
comments
|
2023-04-28 21:57:10 -07:00 |
|
Dmitry Vagner
|
f9aad433fe
|
neutral input
|
2023-04-28 18:23:08 -07:00 |
|
Nicholas Ward
|
397d5953f4
|
fix
|
2023-04-28 13:42:41 -07:00 |
|
Nicholas Ward
|
031fe6ed90
|
Merge branch 'main' into expmod_precompile
|
2023-04-28 11:39:47 -07:00 |
|
Nicholas Ward
|
9e4056e24f
|
cleanup
|
2023-04-28 11:39:03 -07:00 |
|
Nicholas Ward
|
badbf01021
|
store and unpack at end
|
2023-04-28 11:01:51 -07:00 |
|
Nicholas Ward
|
998cd8ab77
|
addressed comments
|
2023-04-28 10:37:37 -07:00 |
|
Nicholas Ward
|
a638ebe0ce
|
fix
|
2023-04-28 08:30:02 -07:00 |
|
Nicholas Ward
|
7ede443e80
|
Merge pull request #1006 from mir-protocol/blake_precompile
Blake2_f function and precompile call
|
2023-04-28 08:29:06 -07:00 |
|
Nicholas Ward
|
dc076df5b6
|
addressed comments
|
2023-04-28 08:28:52 -07:00 |
|
Nicholas Ward
|
96742f2946
|
addressed comments
|
2023-04-28 07:05:54 -07:00 |
|
Nicholas Ward
|
e40b9edb5b
|
addressed comments
|
2023-04-28 06:59:17 -07:00 |
|