File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ use charms_data::{util, App};
44pub fn main ( ) {
55 // Read an input to the program.
66 let input_vec = sp1_zkvm:: io:: read_vec ( ) ;
7-
8- dbg ! ( input_vec. len( ) ) ;
9-
107 let input: SpellProverInput = util:: read ( input_vec. as_slice ( ) ) . unwrap ( ) ;
118
12- dbg ! ( & input) ;
13-
149 let output = run ( input) ;
1510
1611 eprintln ! ( "about to commit" ) ;
1712
1813 // Commit to the public values of the program.
19- sp1_zkvm:: io:: commit_slice ( util :: write ( & output) . unwrap ( ) . as_slice ( ) ) ;
14+ sp1_zkvm:: io:: commit ( & output) ;
2015}
2116
2217pub fn run ( input : SpellProverInput ) -> ( String , NormalizedSpell ) {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ pub mod utils;
77
88pub const SPELL_CHECKER_BINARY : & [ u8 ] = include_bytes ! ( "./bin/charms-spell-checker" ) ;
99
10- pub const SPELL_VK : & str = "0x0061d4c45041155bfb34ee39a01d47e21cc56baf69e4be25f1320d36eb19ff6c " ;
10+ pub const SPELL_VK : & str = "0x0094c6013afd4d6ee47722ab5c557f695399b451d71b4495ea58165cb12864d6 " ;
1111
1212#[ cfg( test) ]
1313mod test {
You can’t perform that action at this time.
0 commit comments