Skip to content

Commit cd1e7ef

Browse files
committed
rm unused
1 parent 7353b67 commit cd1e7ef

File tree

1 file changed

+2
-20
lines changed
  • crates/ethereum_bridge/src/protocol/transactions/ethereum_events

1 file changed

+2
-20
lines changed

crates/ethereum_bridge/src/protocol/transactions/ethereum_events/eth_msgs.rs

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
use borsh::{BorshDeserialize, BorshSchema, BorshSerialize};
1+
use borsh::{BorshDeserialize, BorshSerialize};
22
use namada_core::ethereum_events::EthereumEvent;
33
use namada_macros::BorshDeserializer;
44
#[cfg(feature = "migrations")]
55
use namada_migrations::*;
66
use namada_vote_ext::ethereum_events::MultiSignedEthEvent;
77

8-
use crate::protocol::transactions::votes::{Tally, Votes, dedupe};
8+
use crate::protocol::transactions::votes::{Votes, dedupe};
99

1010
/// Represents an Ethereum event being seen by some validators
1111
#[derive(
@@ -40,24 +40,6 @@ impl From<MultiSignedEthEvent> for EthMsgUpdate {
4040
}
4141
}
4242

43-
/// Represents an event stored under `eth_msgs`
44-
#[derive(
45-
Clone,
46-
Debug,
47-
PartialEq,
48-
Eq,
49-
BorshSerialize,
50-
BorshDeserialize,
51-
BorshDeserializer,
52-
BorshSchema,
53-
)]
54-
pub struct EthMsg {
55-
/// The event being stored
56-
pub body: EthereumEvent,
57-
/// Tallying of votes for this event
58-
pub votes: Tally,
59-
}
60-
6143
#[cfg(test)]
6244
mod tests {
6345
use std::collections::BTreeSet;

0 commit comments

Comments
 (0)