Skip to content

Commit

Permalink
fix(config): enum type should be placed before tables
Browse files Browse the repository at this point in the history
  • Loading branch information
magicalne committed Jul 13, 2022
1 parent 96d1805 commit 40d6fcc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/config/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub enum Trace {
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Config {
pub node_mode: NodeMode,
pub contract_log_config: ContractLogConfig,
pub backend_switches: Vec<BackendSwitchConfig>,
pub genesis: GenesisConfig,
pub chain: ChainConfig,
Expand All @@ -45,8 +46,6 @@ pub struct Config {
pub dynamic_config: DynamicConfig,
#[serde(default)]
pub p2p_network_config: Option<P2PNetworkConfig>,
#[serde(default)]
pub contract_log_config: ContractLogConfig,
}

#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize, Hash)]
Expand Down

0 comments on commit 40d6fcc

Please sign in to comment.