File tree Expand file tree Collapse file tree 4 files changed +19
-31
lines changed Expand file tree Collapse file tree 4 files changed +19
-31
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ mod tests {
220
220
221
221
use crate :: utilities:: test:: {
222
222
plaintext:: { INVALID_NESTED_STRUCT , NESTED_STRUCT } ,
223
- records :: { CREDITS_RECORD , INVALID_CREDITS_RECORD } ,
223
+ record :: { CREDITS_RECORD , INVALID_CREDITS_RECORD } ,
224
224
} ;
225
225
use rand:: { Rng , SeedableRng , rngs:: StdRng } ;
226
226
use wasm_bindgen_test:: * ;
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ pub use plaintext::*;
23
23
pub mod programs;
24
24
pub use programs:: * ;
25
25
26
- pub mod records ;
27
- pub use records :: * ;
26
+ pub mod record ;
27
+ pub use record :: * ;
28
28
29
29
pub mod uri;
30
30
pub use uri:: * ;
Original file line number Diff line number Diff line change @@ -38,3 +38,19 @@ pub const TOKEN_REGISTRY_RECORD_V1: &str = r#"{
38
38
_nonce: 353510505137682717871934563523691055502582931368477380633253282125012046603group.public,
39
39
_version: 1u8.public
40
40
}"# ;
41
+
42
+ /// Valid credits.aleo record for testing.
43
+ pub const CREDITS_RECORD : & str = r"{
44
+ owner: aleo1j7qxyunfldj2lp8hsvy7mw5k8zaqgjfyr72x2gh3x4ewgae8v5gscf5jh3.private,
45
+ microcredits: 1500000000000000u64.private,
46
+ _nonce: 3077450429259593211617823051143573281856129402760267155982965992208217472983group.public,
47
+ _version: 0u8.public
48
+ }" ;
49
+
50
+ /// Invalid credits.aleo record for testing.
51
+ pub const INVALID_CREDITS_RECORD : & str = r"{
52
+ owner: aleo1j7qxyunfldj2lp8hsvy7mw5k8zaqgjfyr72x2gh3x4ewgae8v5gscf5jh3.private,
53
+ microcredits: 1400000000000000u64.private,
54
+ _nonce: 3077450429259593211617823051143573281856129402760267155982965992208217472983group.public,
55
+ _version: 0u8.public
56
+ }" ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments