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

Poseidon hasher for channel #107

Merged
merged 52 commits into from
Mar 15, 2024
Merged
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
1cde4ca
Change channel to poseidon
fmkra Feb 22, 2024
5f5c3e0
Fix public input and memory
fmkra Feb 22, 2024
559fe56
Change queries to match channel
fmkra Feb 22, 2024
7127ce1
Remove unnecessary try into
fmkra Feb 22, 2024
afe7034
Remove commented code and format
fmkra Feb 22, 2024
fcf0a74
tmp switch off benches
Okm165 Feb 23, 2024
c96056a
del unrel channel tests
Okm165 Feb 23, 2024
284ffd6
code refactor
Okm165 Feb 23, 2024
bd692d4
tests mocked data -> compiles&formats
Okm165 Feb 23, 2024
f4bb2fb
channel tests
Okm165 Feb 23, 2024
fefa946
Fix table commitment
fmkra Feb 26, 2024
0a9cf37
runner update
Okm165 Mar 4, 2024
8ca378e
fmt
Okm165 Mar 4, 2024
78c236c
autogenerated changes
Okm165 Mar 4, 2024
4e3ab24
composition changes
Okm165 Mar 4, 2024
f0d53d2
constants changes
Okm165 Mar 4, 2024
c7b0034
global vals changes
Okm165 Mar 4, 2024
6d68ffb
Merge branch 'feat/poseidon-channel' into feat/stone5_compatibility
Okm165 Mar 4, 2024
8ce1500
public input
Okm165 Mar 4, 2024
73d543b
autogenerated fmt
Okm165 Mar 4, 2024
daeb83e
queries fix
Okm165 Mar 4, 2024
715cf5e
vector commitment
Okm165 Mar 4, 2024
bb56c2d
traces
Okm165 Mar 4, 2024
fa9d048
fmt
Okm165 Mar 5, 2024
f06a2b2
Merge pull request #109 from HerodotusDev/feat/stone5_compatibility
Okm165 Mar 5, 2024
a65e853
FriConfig
Okm165 Mar 6, 2024
6c886de
Fri test data
Okm165 Mar 6, 2024
9fe074c
fri commit test fixed
Okm165 Mar 6, 2024
309d7bf
verify public input hash fix
Okm165 Mar 6, 2024
69cdb39
air tests
Okm165 Mar 6, 2024
5a0adb6
fri tests
Okm165 Mar 6, 2024
8547040
queries tests
Okm165 Mar 6, 2024
2629d32
commitment tests
Okm165 Mar 6, 2024
f6079d3
stark tests
Okm165 Mar 6, 2024
03c3358
security bits externalize
Okm165 Mar 6, 2024
886fce0
hasher refactor
Okm165 Mar 6, 2024
e6613fe
blake2s fri tests
Okm165 Mar 7, 2024
06b1c71
blake2s stark tests
Okm165 Mar 7, 2024
2dcfe93
test autogenerated
Okm165 Mar 7, 2024
f0239bb
blake2s oods test
Okm165 Mar 7, 2024
d1ab08c
change to poseidon-keccak
Okm165 Mar 7, 2024
578776d
change to poseidon-blake2s
Okm165 Mar 7, 2024
7d561c2
fmt
Okm165 Mar 7, 2024
1b64e4b
change to poseidon-keccak
Okm165 Mar 7, 2024
11dbc50
refactor
Okm165 Mar 7, 2024
85556b5
Merge pull request #110 from HerodotusDev/fix/stone5_test
Okm165 Mar 7, 2024
2e9c5f1
Merge branch 'main' into feat/poseidon-channel
Okm165 Mar 7, 2024
564e666
scarb 2.6.0 & runner update
Okm165 Mar 7, 2024
ca0ff95
fmt
Okm165 Mar 7, 2024
36761c0
readme benches
Okm165 Mar 7, 2024
55ed773
readme fix
Okm165 Mar 7, 2024
306a086
update prover examples configs & example proof
Okm165 Mar 15, 2024
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
Prev Previous commit
Next Next commit
fmt
Okm165 committed Mar 4, 2024
commit 8ca378e65b01f772b50cbc7a60b08fa8b89fad9a
14 changes: 4 additions & 10 deletions runner/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::io::{stdin, Read};

use cairo_args_runner::{Arg, Felt252, VecFelt252};
use cairo_args_runner::{Arg, VecFelt252};
use clap::Parser;

use cairo_proof_parser::parse;
@@ -34,18 +34,12 @@ fn main() -> anyhow::Result<()> {
)
.collect_vec();

// println!("{:?}", unsent_commitment);

let target = args.target;
let function = "main";

let result = cairo_args_runner::run(
&target,
function,
&[Arg::Array(proof)],
);

let result = cairo_args_runner::run(&target, function, &[Arg::Array(proof)]);

println!("{result:?}");

Ok(())
}
}