diff --git a/cosmwasm/enclaves/shared/block-verifier/src/verify/header.rs b/cosmwasm/enclaves/shared/block-verifier/src/verify/header.rs index 88ead6c84..5d301da03 100644 --- a/cosmwasm/enclaves/shared/block-verifier/src/verify/header.rs +++ b/cosmwasm/enclaves/shared/block-verifier/src/verify/header.rs @@ -15,6 +15,12 @@ pub fn validate_block_header( height: u64, commit: Commit, ) -> Result { + println!( + "my validator set h={}, validators={}", + height, + validator_set.validators().len() + ); + let header =
>::decode(block_header_slice).map_err(|e| { error!("Error parsing header from proto: {:?}", e); sgx_status_t::SGX_ERROR_INVALID_PARAMETER