File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed
crates/ethereum_bridge/src/protocol/transactions/ethereum_events Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change 1- use borsh:: { BorshDeserialize , BorshSchema , BorshSerialize } ;
1+ use borsh:: { BorshDeserialize , BorshSerialize } ;
22use namada_core:: ethereum_events:: EthereumEvent ;
33use namada_macros:: BorshDeserializer ;
44#[ cfg( feature = "migrations" ) ]
55use namada_migrations:: * ;
66use 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) ]
6244mod tests {
6345 use std:: collections:: BTreeSet ;
You can’t perform that action at this time.
0 commit comments