From 156476e0e70c289789db92243f86a2fe3889fa53 Mon Sep 17 00:00:00 2001 From: Valerii Reutov Date: Mon, 21 Oct 2024 16:23:14 +0300 Subject: [PATCH] feat: remove the `DenyListStateCreate` transaction --- .../iota-rust-sdk/src/types/transaction/mod.rs | 1 - .../src/types/transaction/serialization.rs | 16 ---------------- 2 files changed, 17 deletions(-) diff --git a/crates/iota-rust-sdk/src/types/transaction/mod.rs b/crates/iota-rust-sdk/src/types/transaction/mod.rs index 05f20ce..31c1696 100644 --- a/crates/iota-rust-sdk/src/types/transaction/mod.rs +++ b/crates/iota-rust-sdk/src/types/transaction/mod.rs @@ -135,7 +135,6 @@ pub enum EndOfEpochTransactionKind { ChangeEpoch(ChangeEpoch), AuthenticatorStateCreate, AuthenticatorStateExpire(AuthenticatorStateExpire), - DenyListStateCreate, BridgeStateCreate { chain_id: super::CheckpointDigest, }, diff --git a/crates/iota-rust-sdk/src/types/transaction/serialization.rs b/crates/iota-rust-sdk/src/types/transaction/serialization.rs index 4023aa7..9646b6f 100644 --- a/crates/iota-rust-sdk/src/types/transaction/serialization.rs +++ b/crates/iota-rust-sdk/src/types/transaction/serialization.rs @@ -290,7 +290,6 @@ mod end_of_epoch { ChangeEpoch(&'a ChangeEpoch), AuthenticatorStateCreate, AuthenticatorStateExpire(&'a AuthenticatorStateExpire), - DenyListStateCreate, BridgeStateCreate { chain_id: &'a CheckpointDigest, }, @@ -306,7 +305,6 @@ mod end_of_epoch { ChangeEpoch(ChangeEpoch), AuthenticatorStateCreate, AuthenticatorStateExpire(AuthenticatorStateExpire), - DenyListStateCreate, BridgeStateCreate { chain_id: CheckpointDigest, }, @@ -321,7 +319,6 @@ mod end_of_epoch { ChangeEpoch(&'a ChangeEpoch), AuthenticatorStateCreate, AuthenticatorStateExpire(&'a AuthenticatorStateExpire), - DenyListStateCreate, BridgeStateCreate { chain_id: &'a CheckpointDigest }, BridgeCommitteeInit { bridge_object_version: u64 }, } @@ -331,7 +328,6 @@ mod end_of_epoch { ChangeEpoch(ChangeEpoch), AuthenticatorStateCreate, AuthenticatorStateExpire(AuthenticatorStateExpire), - DenyListStateCreate, BridgeStateCreate { chain_id: CheckpointDigest }, BridgeCommitteeInit { bridge_object_version: u64 }, } @@ -350,9 +346,6 @@ mod end_of_epoch { Self::AuthenticatorStateExpire(k) => { ReadableEndOfEpochTransactionKindRef::AuthenticatorStateExpire(k) } - Self::DenyListStateCreate => { - ReadableEndOfEpochTransactionKindRef::DenyListStateCreate - } Self::BridgeStateCreate { chain_id } => { ReadableEndOfEpochTransactionKindRef::BridgeStateCreate { chain_id } } @@ -372,9 +365,6 @@ mod end_of_epoch { Self::AuthenticatorStateExpire(k) => { BinaryEndOfEpochTransactionKindRef::AuthenticatorStateExpire(k) } - Self::DenyListStateCreate => { - BinaryEndOfEpochTransactionKindRef::DenyListStateCreate - } Self::BridgeStateCreate { chain_id } => { BinaryEndOfEpochTransactionKindRef::BridgeStateCreate { chain_id } } @@ -404,9 +394,6 @@ mod end_of_epoch { ReadableEndOfEpochTransactionKind::AuthenticatorStateExpire(k) => { Self::AuthenticatorStateExpire(k) } - ReadableEndOfEpochTransactionKind::DenyListStateCreate => { - Self::DenyListStateCreate - } ReadableEndOfEpochTransactionKind::BridgeStateCreate { chain_id } => { Self::BridgeStateCreate { chain_id } } @@ -427,9 +414,6 @@ mod end_of_epoch { BinaryEndOfEpochTransactionKind::AuthenticatorStateExpire(k) => { Self::AuthenticatorStateExpire(k) } - BinaryEndOfEpochTransactionKind::DenyListStateCreate => { - Self::DenyListStateCreate - } BinaryEndOfEpochTransactionKind::BridgeStateCreate { chain_id } => { Self::BridgeStateCreate { chain_id } }