Skip to content

Commit

Permalink
feat: remove the DenyListStateCreate transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriyr committed Oct 21, 2024
1 parent 2beb281 commit 156476e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion crates/iota-rust-sdk/src/types/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ pub enum EndOfEpochTransactionKind {
ChangeEpoch(ChangeEpoch),
AuthenticatorStateCreate,
AuthenticatorStateExpire(AuthenticatorStateExpire),
DenyListStateCreate,
BridgeStateCreate {
chain_id: super::CheckpointDigest,
},
Expand Down
16 changes: 0 additions & 16 deletions crates/iota-rust-sdk/src/types/transaction/serialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ mod end_of_epoch {
ChangeEpoch(&'a ChangeEpoch),
AuthenticatorStateCreate,
AuthenticatorStateExpire(&'a AuthenticatorStateExpire),
DenyListStateCreate,
BridgeStateCreate {
chain_id: &'a CheckpointDigest,
},
Expand All @@ -306,7 +305,6 @@ mod end_of_epoch {
ChangeEpoch(ChangeEpoch),
AuthenticatorStateCreate,
AuthenticatorStateExpire(AuthenticatorStateExpire),
DenyListStateCreate,
BridgeStateCreate {
chain_id: CheckpointDigest,
},
Expand All @@ -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 },
}
Expand All @@ -331,7 +328,6 @@ mod end_of_epoch {
ChangeEpoch(ChangeEpoch),
AuthenticatorStateCreate,
AuthenticatorStateExpire(AuthenticatorStateExpire),
DenyListStateCreate,
BridgeStateCreate { chain_id: CheckpointDigest },
BridgeCommitteeInit { bridge_object_version: u64 },
}
Expand All @@ -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 }
}
Expand All @@ -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 }
}
Expand Down Expand Up @@ -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 }
}
Expand All @@ -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 }
}
Expand Down

0 comments on commit 156476e

Please sign in to comment.