diff --git a/src/abi/full_program.rs b/src/abi/full_program.rs index 9990480..8c7d778 100644 --- a/src/abi/full_program.rs +++ b/src/abi/full_program.rs @@ -221,7 +221,7 @@ impl FullTypeApplication { #[derive(Debug, Clone)] pub struct FullLoggedType { - pub log_id: u64, + pub log_id: String, pub application: FullTypeApplication, } @@ -231,7 +231,7 @@ impl FullLoggedType { types: &HashMap, ) -> FullLoggedType { FullLoggedType { - log_id: logged_type.log_id, + log_id: logged_type.log_id.clone(), application: FullTypeApplication::from_counterpart(&logged_type.application, types), } } diff --git a/src/abi/program.rs b/src/abi/program.rs index 716ff4f..5bc3b0e 100644 --- a/src/abi/program.rs +++ b/src/abi/program.rs @@ -86,7 +86,7 @@ pub struct TypeApplication { #[derive(Default, Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct LoggedType { - pub log_id: u64, + pub log_id: String, #[serde(rename = "loggedType")] pub application: TypeApplication, }