@@ -76,7 +76,7 @@ impl TokenId {
7676 }
7777}
7878
79- // https://github.com/MinaProtocol/mina/blob/develop/src/lib/mina_base/account.ml#L93
79+ // < https://github.com/MinaProtocol/mina/blob/develop/src/lib/mina_base/account.ml#L93>
8080#[ derive( Clone , PartialEq , Eq , derive_more:: From ) ]
8181pub struct TokenSymbol ( pub Vec < u8 > ) ;
8282
@@ -135,7 +135,7 @@ impl TokenSymbol {
135135impl Default for TokenSymbol {
136136 fn default ( ) -> Self {
137137 // empty string
138- // https://github.com/MinaProtocol/mina/blob/3fe924c80a4d01f418b69f27398f5f93eb652514/src/lib/mina_base/account.ml#L133
138+ // < https://github.com/MinaProtocol/mina/blob/3fe924c80a4d01f418b69f27398f5f93eb652514/src/lib/mina_base/account.ml#L133>
139139 Self ( Vec :: new ( ) )
140140 }
141141}
@@ -154,7 +154,7 @@ impl From<&TokenSymbol> for mina_p2p_messages::string::TokenSymbol {
154154
155155impl ToInputs for TokenSymbol {
156156 fn to_inputs ( & self , inputs : & mut Inputs ) {
157- // https://github.com/MinaProtocol/mina/blob/2fac5d806a06af215dbab02f7b154b4f032538b7/src/lib/mina_base/account.ml#L97
157+ // < https://github.com/MinaProtocol/mina/blob/2fac5d806a06af215dbab02f7b154b4f032538b7/src/lib/mina_base/account.ml#L97>
158158 //assert!(self.len() <= 6);
159159
160160 let mut s = <[ u8 ; 6 ] >:: default ( ) ;
@@ -169,7 +169,7 @@ pub struct SetVerificationKey<Controller> {
169169 pub txn_version : TxnVersion ,
170170}
171171
172- // https://github.com/MinaProtocol/mina/blob/develop/src/lib/mina_base/permissions.mli#L49
172+ // < https://github.com/MinaProtocol/mina/blob/develop/src/lib/mina_base/permissions.mli#L49>
173173#[ derive( Clone , Debug , PartialEq , Eq ) ]
174174pub struct Permissions < Controller > {
175175 pub edit_state : Controller ,
@@ -333,7 +333,7 @@ impl Permissions<AuthRequired> {
333333 }
334334 }
335335
336- /// https://github.com/MinaProtocol/mina/blob/3753a8593cc1577bcf4da16620daf9946d88e8e5/src/lib/mina_base/permissions.ml#L385
336+ /// < https://github.com/MinaProtocol/mina/blob/3753a8593cc1577bcf4da16620daf9946d88e8e5/src/lib/mina_base/permissions.ml#L385>
337337 pub fn gen ( auth_tag : ControlTag ) -> Self {
338338 let mut rng = rand:: thread_rng ( ) ;
339339
@@ -376,7 +376,7 @@ pub enum ProofVerified {
376376}
377377
378378impl ProofVerified {
379- /// https://github.com/MinaProtocol/mina/blob/47a269c2e917775b34a83775b8a55fcc44830831/src/lib/pickles_base/proofs_verified.ml#L17
379+ /// < https://github.com/MinaProtocol/mina/blob/47a269c2e917775b34a83775b8a55fcc44830831/src/lib/pickles_base/proofs_verified.ml#L17>
380380 pub fn to_int ( & self ) -> usize {
381381 match self {
382382 ProofVerified :: N0 => 0 ,
@@ -387,7 +387,7 @@ impl ProofVerified {
387387}
388388
389389impl ToInputs for ProofVerified {
390- /// https://github.com/MinaProtocol/mina/blob/436023ba41c43a50458a551b7ef7a9ae61670b25/src/lib/pickles_base/proofs_verified.ml#L125
390+ /// < https://github.com/MinaProtocol/mina/blob/436023ba41c43a50458a551b7ef7a9ae61670b25/src/lib/pickles_base/proofs_verified.ml#L125>
391391 fn to_inputs ( & self , inputs : & mut Inputs ) {
392392 let bits = match self {
393393 ProofVerified :: N0 => [ true , false , false ] ,
@@ -517,7 +517,7 @@ impl ToInputs for VerificationKey {
517517}
518518
519519impl VerificationKey {
520- /// https://github.com/MinaProtocol/mina/blob/436023ba41c43a50458a551b7ef7a9ae61670b25/src/lib/pickles/side_loaded_verification_key.ml#L310
520+ /// < https://github.com/MinaProtocol/mina/blob/436023ba41c43a50458a551b7ef7a9ae61670b25/src/lib/pickles/side_loaded_verification_key.ml#L310>
521521 pub fn dummy ( ) -> Arc < Self > {
522522 static VK : OnceCell < Arc < VerificationKey > > = OnceCell :: new ( ) ;
523523
@@ -648,7 +648,7 @@ impl ToFieldElements<Fp> for Option<&ZkAppUri> {
648648}
649649
650650impl ToInputs for Option < & ZkAppUri > {
651- /// https://github.com/MinaProtocol/mina/blob/3fe924c80a4d01f418b69f27398f5f93eb652514/src/lib/mina_base/zkapp_account.ml#L313
651+ /// < https://github.com/MinaProtocol/mina/blob/3fe924c80a4d01f418b69f27398f5f93eb652514/src/lib/mina_base/zkapp_account.ml#L313>
652652 fn to_inputs ( & self , inputs : & mut Inputs ) {
653653 let field_zkapp_uri = ZkAppUri :: opt_to_field ( * self ) ;
654654 inputs. append ( & field_zkapp_uri) ;
@@ -787,7 +787,7 @@ impl VerificationKeyWire {
787787 }
788788}
789789
790- // https://github.com/MinaProtocol/mina/blob/develop/src/lib/mina_base/zkapp_account.ml#L148-L170
790+ // < https://github.com/MinaProtocol/mina/blob/develop/src/lib/mina_base/zkapp_account.ml#L148-L170>
791791#[ derive( Clone , Debug , PartialEq , Eq ) ]
792792pub struct ZkAppAccount {
793793 pub app_state : [ Fp ; 8 ] ,
@@ -1265,7 +1265,7 @@ pub struct PermsConst {
12651265 pub or_const : bool ,
12661266}
12671267
1268- // https://github.com/MinaProtocol/mina/blob/1765ba6bdfd7c454e5ae836c49979fa076de1bea/src/lib/mina_base/account.ml#L368
1268+ // < https://github.com/MinaProtocol/mina/blob/1765ba6bdfd7c454e5ae836c49979fa076de1bea/src/lib/mina_base/account.ml#L368>
12691269#[ derive( Clone , Debug , PartialEq , Eq , Serialize , Deserialize ) ]
12701270#[ serde( into = "v2::MinaBaseAccountBinableArgStableV2" ) ]
12711271#[ serde( try_from = "v2::MinaBaseAccountBinableArgStableV2" ) ]
@@ -1487,7 +1487,7 @@ impl Account {
14871487 }
14881488 }
14891489
1490- /// https://github.com/MinaProtocol/mina/blob/2ff0292b637684ce0372e7b8e23ec85404dc5091/src/lib/mina_base/account.ml#L794
1490+ /// < https://github.com/MinaProtocol/mina/blob/2ff0292b637684ce0372e7b8e23ec85404dc5091/src/lib/mina_base/account.ml#L794>
14911491 pub fn has_permission_to ( & self , control : ControlTag , to : PermissionTo ) -> bool {
14921492 match to {
14931493 PermissionTo :: Access => check_permission ( self . permissions . access , control) ,
@@ -1741,7 +1741,7 @@ impl ToInputs for Account {
17411741 // Self::balance
17421742 inputs. append_u64 ( balance. as_u64 ( ) ) ;
17431743 // Self::token_symbol
1744- // https://github.com/MinaProtocol/mina/blob/2fac5d806a06af215dbab02f7b154b4f032538b7/src/lib/mina_base/account.ml#L97
1744+ // < https://github.com/MinaProtocol/mina/blob/2fac5d806a06af215dbab02f7b154b4f032538b7/src/lib/mina_base/account.ml#L97>
17451745 assert ! ( token_symbol. len( ) <= 6 ) ;
17461746 inputs. append ( token_symbol) ;
17471747 // Self::token_id
0 commit comments