Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] Darude mods #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ gpu = [ "ministark/gpu" ]
parallel = [ "dep:rayon", "ministark/parallel" ]

[dependencies]
ministark = { git = "https://github.com/andrewmilson/ministark" }
gpu-poly = { git = "https://github.com/andrewmilson/ministark" }
# ministark = { path = "../ministark" }
# gpu-poly = { path = "../ministark/gpu-poly" }
#ministark = { git = "https://github.com/andrewmilson/ministark" }
#gpu-poly = { git = "https://github.com/andrewmilson/ministark" }
ministark = { path = "../ministark" }
gpu-poly = { path = "../ministark/gpu-poly" }
ark-std = { git = "https://github.com/arkworks-rs/std" }
ark-ff = { git = "https://github.com/arkworks-rs/algebra" }
ark-poly = { git = "https://github.com/andrewmilson/algebra", branch = "vec-allocator" }
Expand All @@ -31,8 +31,6 @@ strum_macros = "0.24"
pollster = "0.2.4"
rayon = { version = "1.5.3", optional = true }

[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = "0.5.0"

# taken from https://github.com/recmo/uint
# Compilation profile for any non-workspace member.
Expand Down
52 changes: 26 additions & 26 deletions array-sum.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"attributes": [],
"builtins": [],
"compiler_version": "0.10.2",
"compiler_version": "0.10.1",
"data": [
"0x40780017fff7fff",
"0x0",
Expand Down Expand Up @@ -135,7 +135,7 @@
"end_col": 38,
"end_line": 3,
"input_file": {
"filename": "/Users/andrewmilson/cairo_venv/lib/python3.9/site-packages/starkware/cairo/common/alloc.cairo"
"filename": "/Users/liamz/cairo_venv/lib/python3.9/site-packages/starkware/cairo/common/alloc.cairo"
},
"start_col": 5,
"start_line": 3
Expand All @@ -147,7 +147,7 @@
"end_col": 12,
"end_line": 4,
"input_file": {
"filename": "/Users/andrewmilson/cairo_venv/lib/python3.9/site-packages/starkware/cairo/common/alloc.cairo"
"filename": "/Users/liamz/cairo_venv/lib/python3.9/site-packages/starkware/cairo/common/alloc.cairo"
},
"start_col": 5,
"start_line": 4
Expand All @@ -170,7 +170,7 @@
"end_col": 40,
"end_line": 5,
"input_file": {
"filename": "/Users/andrewmilson/cairo_venv/lib/python3.9/site-packages/starkware/cairo/common/alloc.cairo"
"filename": "/Users/liamz/cairo_venv/lib/python3.9/site-packages/starkware/cairo/common/alloc.cairo"
},
"start_col": 5,
"start_line": 5
Expand All @@ -196,7 +196,7 @@
"end_col": 7,
"end_line": 4,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 5,
"start_line": 4
Expand All @@ -222,7 +222,7 @@
"end_col": 17,
"end_line": 5,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 16,
"start_line": 5
Expand All @@ -248,7 +248,7 @@
"end_col": 18,
"end_line": 5,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 9,
"start_line": 5
Expand All @@ -274,7 +274,7 @@
"end_col": 42,
"end_line": 7,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 35,
"start_line": 7
Expand All @@ -300,7 +300,7 @@
"end_col": 51,
"end_line": 7,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 46,
"start_line": 7
Expand All @@ -326,7 +326,7 @@
"end_col": 52,
"end_line": 7,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 21,
"start_line": 7
Expand All @@ -353,7 +353,7 @@
"end_col": 18,
"end_line": 8,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 12,
"start_line": 8
Expand Down Expand Up @@ -381,7 +381,7 @@
"end_col": 30,
"end_line": 8,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 12,
"start_line": 8
Expand Down Expand Up @@ -409,7 +409,7 @@
"end_col": 31,
"end_line": 8,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 5,
"start_line": 8
Expand All @@ -432,7 +432,7 @@
"end_col": 24,
"end_line": 14,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 17,
"start_line": 14
Expand All @@ -457,7 +457,7 @@
"end_col": 21,
"end_line": 17,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 20,
"start_line": 17
Expand All @@ -483,7 +483,7 @@
"end_col": 22,
"end_line": 17,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 5,
"start_line": 17
Expand All @@ -509,7 +509,7 @@
"end_col": 26,
"end_line": 18,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 24,
"start_line": 18
Expand All @@ -536,7 +536,7 @@
"end_col": 27,
"end_line": 18,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 5,
"start_line": 18
Expand All @@ -563,7 +563,7 @@
"end_col": 25,
"end_line": 19,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 24,
"start_line": 19
Expand Down Expand Up @@ -591,7 +591,7 @@
"end_col": 26,
"end_line": 19,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 5,
"start_line": 19
Expand Down Expand Up @@ -619,14 +619,14 @@
"end_col": 13,
"end_line": 14,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"parent_location": [
{
"end_col": 32,
"end_line": 22,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 29,
"start_line": 22
Expand Down Expand Up @@ -659,7 +659,7 @@
"end_col": 46,
"end_line": 22,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 36,
"start_line": 22
Expand Down Expand Up @@ -687,7 +687,7 @@
"end_col": 47,
"end_line": 22,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 15,
"start_line": 22
Expand Down Expand Up @@ -716,7 +716,7 @@
"end_col": 21,
"end_line": 23,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 5,
"start_line": 23
Expand Down Expand Up @@ -745,7 +745,7 @@
"end_col": 15,
"end_line": 24,
"input_file": {
"filename": "array-sum.cairo"
"filename": "./array_sum.cairo"
},
"start_col": 5,
"start_line": 24
Expand Down
1 change: 1 addition & 0 deletions array-sum.proof.hex

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions array-sum.proof.json

Large diffs are not rendered by default.

Binary file added array-sum.wasm.proof.bin
Binary file not shown.
1 change: 1 addition & 0 deletions array-sum.wasm.proof.hex

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions memory.bin.hex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0100000000000000ff7fff7f018007040000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000080018001800411000000000000000000000000000000000000000000000000040000000000000015000000000000000000000000000000000000000000000000000000000000000500000000000000ff7fff7f01800701000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000ff7fff7f01800704000000000000000000000000000000000000000000000000080000000000000001000000000000000000000000000000000000000000000000000000000000000900000000000000fe7fff7fff7f8b200000000000000000000000000000000000000000000000000a00000000000000fd7fff7f018007020000000000000000000000000000000000000000000000000b0000000000000005000000000000000000000000000000000000000000000000000000000000000c000000000000000080ff7f018006480000000000000000000000000000000000000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000000000e00000000000000fe7fff7fff7f8b200000000000000000000000000000000000000000000000000f000000000000000080fc7f018026480000000000000000000000000000000000000000000000001000000000000000010000000000000000000000000000000000000000000000000000000000000011000000000000000080fd7f0180264800000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001100000000000008130000000000000000800180018004110000000000000000000000000000000000000000000000001400000000000000f8ffffffffffffffffffffffffffffffffffffffffffffff100000000000000815000000000000000080fc7f0080024800000000000000000000000000000000000000000000000016000000000000000080ff7ffe7f30480000000000000000000000000000000000000000000000001700000000000000fe7fff7fff7f8b20000000000000000000000000000000000000000000000000180000000000000000800180018004110000000000000000000000000000000000000000000000001900000000000000f0ffffffffffffffffffffffffffffffffffffffffffffff10000000000000081a000000000000000080ff7f018006480000000000000000000000000000000000000000000000001b0000000000000009000000000000000000000000000000000000000000000000000000000000001c00000000000000ff7ffe7f008000400000000000000000000000000000000000000000000000001d000000000000000080ff7f018006480000000000000000000000000000000000000000000000001e000000000000000b000000000000000000000000000000000000000000000000000000000000001f00000000000000ff7ffd7f0180004000000000000000000000000000000000000000000000000020000000000000000080ff7f01800648000000000000000000000000000000000000000000000000210000000000000005000000000000000000000000000000000000000000000000000000000000002200000000000000ff7ffc7f0280004000000000000000000000000000000000000000000000000023000000000000000080ff7ffc7f124800000000000000000000000000000000000000000000000024000000000000000080ff7f0180064800000000000000000000000000000000000000000000000025000000000000000300000000000000000000000000000000000000000000000000000000000000260000000000000000800180018004110000000000000000000000000000000000000000000000002700000000000000e5ffffffffffffffffffffffffffffffffffffffffffffff10000000000000082800000000000000ff7fff7f01800640000000000000000000000000000000000000000000000000290000000000000019000000000000000000000000000000000000000000000000000000000000002a00000000000000fe7fff7fff7f8b200000000000000000000000000000000000000000000000002b000000000000002d000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000000000000000000000000002d000000000000002d000000000000000000000000000000000000000000000000000000000000002e0000000000000005000000000000000000000000000000000000000000000000000000000000002f000000000000002f0000000000000000000000000000000000000000000000000000000000000030000000000000001a0000000000000000000000000000000000000000000000000000000000000031000000000000004c00000000000000000000000000000000000000000000000000000000000000320000000000000009000000000000000000000000000000000000000000000000000000000000004c00000000000000090000000000000000000000000000000000000000000000000000000000000033000000000000000b000000000000000000000000000000000000000000000000000000000000004d000000000000000b00000000000000000000000000000000000000000000000000000000000000340000000000000005000000000000000000000000000000000000000000000000000000000000004e00000000000000050000000000000000000000000000000000000000000000000000000000000035000000000000004c000000000000000000000000000000000000000000000000000000000000003600000000000000030000000000000000000000000000000000000000000000000000000000000037000000000000002f000000000000000000000000000000000000000000000000000000000000003800000000000000280000000000000000000000000000000000000000000000000000000000000039000000000000004d000000000000000000000000000000000000000000000000000000000000003a0000000000000002000000000000000000000000000000000000000000000000000000000000003b0000000000000039000000000000000000000000000000000000000000000000000000000000003c0000000000000015000000000000000000000000000000000000000000000000000000000000003d000000000000004e000000000000000000000000000000000000000000000000000000000000003e0000000000000001000000000000000000000000000000000000000000000000000000000000003f000000000000003d000000000000000000000000000000000000000000000000000000000000004000000000000000150000000000000000000000000000000000000000000000000000000000000041000000000000004f0000000000000000000000000000000000000000000000000000000000000042000000000000000000000000000000000000000000000000000000000000000000000000000000430000000000000041000000000000000000000000000000000000000000000000000000000000004400000000000000150000000000000000000000000000000000000000000000000000000000000045000000000000000000000000000000000000000000000000000000000000000000000000000000460000000000000005000000000000000000000000000000000000000000000000000000000000004700000000000000050000000000000000000000000000000000000000000000000000000000000048000000000000000b00000000000000000000000000000000000000000000000000000000000000490000000000000010000000000000000000000000000000000000000000000000000000000000004a0000000000000009000000000000000000000000000000000000000000000000000000000000004b000000000000001900000000000000000000000000000000000000000000000000000000000000
Loading