diff --git a/crates/relayer-types/src/core/ics02_client/height.rs b/crates/relayer-types/src/core/ics02_client/height.rs index 00eb012b6..43b60734c 100644 --- a/crates/relayer-types/src/core/ics02_client/height.rs +++ b/crates/relayer-types/src/core/ics02_client/height.rs @@ -45,11 +45,9 @@ impl Height { impl Height { pub fn new(revision_number: u64, revision_height: u64) -> Result { - // FIXME: Axon solidity contract allows `revision_height` to be 0 to skip some checks - // - // if revision_height == 0 { - // return Err(Error::invalid_height()); - // } + if revision_height == 0 { + return Err(Error::invalid_height()); + } Ok(Self { revision_number, diff --git a/crates/relayer/src/chain/axon/contract/mod.rs b/crates/relayer/src/chain/axon/contract/mod.rs index 529aa8c62..548a85487 100644 --- a/crates/relayer/src/chain/axon/contract/mod.rs +++ b/crates/relayer/src/chain/axon/contract/mod.rs @@ -5,6 +5,7 @@ pub use generate::*; mod contract_generator { use ethers::contract::Abigen; + #[ignore = "generated file cannot be used until mannully fixing compile errors"] #[test] fn generate_rs() { Abigen::new(