Skip to content

Commit

Permalink
handle evm config param
Browse files Browse the repository at this point in the history
by just panicking, proper suppport can be done later
  • Loading branch information
ecioppettini committed Feb 14, 2022
1 parent 0922658 commit 5f8e9d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions explorer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ chain-vote = {git = "https://github.com/input-output-hk/chain-libs.git", branch
chain-ser = {git = "https://github.com/input-output-hk/chain-libs.git", branch = "master"}
chain-network = {git = "https://github.com/input-output-hk/chain-libs.git", branch = "master"}
imhamt = {git = "https://github.com/input-output-hk/chain-libs.git", branch = "master"}

[features]
default = []
evm = ["chain-impl-mockchain/evm", "jormungandr-lib/evm"]
2 changes: 2 additions & 0 deletions explorer/src/api/graphql/config_param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,8 @@ impl From<&ConfigParamLib> for ConfigParam {
ConfigParamLib::TransactionMaxExpiryEpochs(v) => {
Self::TransactionMaxExpiryEpochs(v.into())
}
#[cfg(feature = "evm")]
ConfigParamLib::EvmParams(_) => unimplemented!("evm support"),
}
}
}
Expand Down

0 comments on commit 5f8e9d1

Please sign in to comment.