Skip to content

Commit

Permalink
Add import for EthereumEvent for use in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
james-chf committed Sep 5, 2022
1 parent 1df8eb8 commit d64cf3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/src/lib/config/ethereum.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//! Configuration settings to do with the Ethereum bridge.
#[allow(unused_imports)]
use namada::types::ethereum_events::EthereumEvent;
use serde::{Deserialize, Serialize};

/// Default [Ethereum JSON-RPC](https://ethereum.org/en/developers/docs/apis/json-rpc/) endpoint used by the oracle
Expand All @@ -12,7 +14,7 @@ pub struct Config {
/// If this is set to `true`, then instead of the oracle listening for
/// events at a Ethereum JSON-RPC endpoint, an endpoint will be exposed by
/// the ledger for submission of Borsh-serialized
/// [`namada::types::ethereum_events::EthereumEvent`]s
/// [`EthereumEvent`]s
#[cfg(not(feature = "eth-fullnode"))]
pub oracle_event_endpoint: bool,
}
Expand Down

0 comments on commit d64cf3c

Please sign in to comment.