This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
token-collection/program/tests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ pub async fn setup_group(
89
89
mint : & Keypair ,
90
90
mint_authority : & Keypair ,
91
91
update_authority : Option < Pubkey > ,
92
- max_size : u32 ,
92
+ max_size : u64 ,
93
93
rent_lamports : u64 ,
94
94
space : usize ,
95
95
) {
Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ async fn test_token_collection() {
325
325
. data ;
326
326
let state = TlvStateBorrowed :: unpack ( & buffer) . unwrap ( ) ;
327
327
let collection = state. get_first_value :: < TokenGroup > ( ) . unwrap ( ) ;
328
- assert_eq ! ( u32 :: from( collection. size) , 3 ) ;
328
+ assert_eq ! ( u64 :: from( collection. size) , 3 ) ;
329
329
330
330
// The "Snakes" collection should have 2 members
331
331
let buffer = context
@@ -337,7 +337,7 @@ async fn test_token_collection() {
337
337
. data ;
338
338
let state = TlvStateBorrowed :: unpack ( & buffer) . unwrap ( ) ;
339
339
let collection = state. get_first_value :: < TokenGroup > ( ) . unwrap ( ) ;
340
- assert_eq ! ( u32 :: from( collection. size) , 2 ) ;
340
+ assert_eq ! ( u64 :: from( collection. size) , 2 ) ;
341
341
342
342
// The "Python" should be a member of 2 collections
343
343
let buffer = context
You can’t perform that action at this time.
0 commit comments