File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ use kimchi::poly_commitment::commitment::CommitmentCurve;
99use kimchi:: verifier:: verify;
1010use kimchi:: { mina_curves:: pasta:: Vesta , poly_commitment:: srs:: SRS , verifier_index:: VerifierIndex } ;
1111
12+ pub mod openmina_block_verifier;
13+
1214const MAX_PROOF_SIZE : usize = 10 * 1024 ;
1315const MAX_PUB_INPUT_SIZE : usize = 50 * 1024 ;
1416
@@ -122,4 +124,3 @@ mod test {
122124 . is_ok( ) ) ;
123125 }
124126}
125-
Original file line number Diff line number Diff line change 1+ pub fn parse_query_to_mina_block_header ( mina_state_proof_vk_query : & str ) {
2+ todo ! ( )
3+ }
4+
5+ #[ cfg( test) ]
6+ mod test {
7+ use super :: parse_query_to_mina_block_header;
8+
9+ const MINA_STATE_PROOF_VK_QUERY : & str = include_str ! (
10+ "../../../../../batcher/aligned/test_files/mina/mina_state_proof_vk_query.json"
11+ ) ;
12+
13+ #[ test]
14+ fn test_parse_query_to_mina_block_header ( ) {
15+ parse_query_to_mina_block_header ( MINA_STATE_PROOF_VK_QUERY ) ;
16+ }
17+ }
You can’t perform that action at this time.
0 commit comments