Skip to content

Commit

Permalink
add sessionProperties to SettleSettle structure
Browse files Browse the repository at this point in the history
  • Loading branch information
borngraced committed Oct 11, 2024
1 parent 61add9a commit 3ea808b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion relay_rpc/src/rpc/params/session_settle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use {
super::{session::SettleNamespaces, IrnMetadata},
crate::rpc::params::{Metadata, Relay},
serde::{Deserialize, Serialize},
serde_json::Value,
};

pub(super) const IRN_REQUEST_METADATA: IrnMetadata = IrnMetadata {
Expand Down Expand Up @@ -36,6 +37,7 @@ pub struct SessionSettleRequest {
///
/// Expiry should be between .now() + TTL.
pub expiry: u64,
pub session_properties: Option<Value>,
}

#[cfg(test)]
Expand Down Expand Up @@ -80,7 +82,8 @@ mod tests {
]
}
},
"expiry": 1675734962
"expiry": 1675734962,
"sessionProperties": null
}
"#;

Expand Down

0 comments on commit 3ea808b

Please sign in to comment.