diff --git a/rust/matches/Cargo.toml b/rust/matches/Cargo.toml index 543a4134..1c88a521 100644 --- a/rust/matches/Cargo.toml +++ b/rust/matches/Cargo.toml @@ -15,8 +15,8 @@ cpi = ["no-entrypoint"] default = [] [dependencies] -anchor-lang ={ version = "0.24.2", features = ["init-if-needed"] } -anchor-spl = "0.24.2" +anchor-lang ={ version = "0.25.0", features = ["init-if-needed"] } +anchor-spl = "0.25.0" arrayref = "0.3.6" spl-associated-token-account = { version="1.0.3", features = [ "no-entrypoint" ] } spl-token = { version="3.1.1", features = [ "no-entrypoint" ] } diff --git a/rust/matches/src/lib.rs b/rust/matches/src/lib.rs index 1d568d4f..242e9cfe 100644 --- a/rust/matches/src/lib.rs +++ b/rust/matches/src/lib.rs @@ -12,11 +12,11 @@ pub const PREFIX: &str = "matches"; #[derive(AnchorSerialize, AnchorDeserialize, Clone)] pub struct CreateOrUpdateOracleArgs { - token_transfer_root: Option, - token_transfers: Option>, - seed: Pubkey, - space: u64, - finalized: bool, + pub token_transfer_root: Option, + pub token_transfers: Option>, + pub seed: Pubkey, + pub space: u64, + pub finalized: bool, } #[derive(AnchorSerialize, AnchorDeserialize, Clone)]