diff --git a/src/contract/test-harness/src/lib.rs b/src/contract/test-harness/src/lib.rs index d888b07b5..05cba4b14 100644 --- a/src/contract/test-harness/src/lib.rs +++ b/src/contract/test-harness/src/lib.rs @@ -90,8 +90,8 @@ pub fn init_logger() { // We check this error so we can execute same file tests in parallel, // otherwise second one fails to init logger here. if simplelog::TermLogger::init( - //simplelog::LevelFilter::Info, - simplelog::LevelFilter::Debug, + simplelog::LevelFilter::Info, + //simplelog::LevelFilter::Debug, //simplelog::LevelFilter::Trace, cfg.build(), simplelog::TerminalMode::Mixed, diff --git a/src/contract/test-harness/src/vks.rs b/src/contract/test-harness/src/vks.rs index 8b7b60930..a3172b779 100644 --- a/src/contract/test-harness/src/vks.rs +++ b/src/contract/test-harness/src/vks.rs @@ -48,8 +48,8 @@ use log::debug; /// Update these if any circuits are changed. /// Delete the existing cachefiles, and enable debug logging, you will see the new hashes. -const PKS_HASH: &str = "4da3b575572613f26a39d1698085b89228900fbee712bb54a6b842d1fe9d5b77"; -const VKS_HASH: &str = "370f9427f47871d443dbd770137999606e0d96d46548f36ca141de2f4355b598"; +const PKS_HASH: &str = "dc23c141c782cd3f801201850efc50500880974d3e2d427873448389f0b90e03"; +const VKS_HASH: &str = "d353e46f3cfafc989c3e59234ffe2ca8673e95cd232df2f54f4f2c5768549488"; /// Build a `PathBuf` to a cachefile fn cache_path(typ: &str) -> Result { diff --git a/src/sdk/src/util.rs b/src/sdk/src/util.rs index 41ea3fb02..dab3b764e 100644 --- a/src/sdk/src/util.rs +++ b/src/sdk/src/util.rs @@ -160,11 +160,10 @@ pub fn get_tx(hash: &TransactionHash) -> GenericResult>> { } /// Only metadata() and exec() can call this. Will return transaction -/// location bytes by provided hash. +/// location by provided hash. /// /// ``` -/// tx_location_bytes = get_tx_location(hash); -/// (block_height, tx_index) = deserialize(&tx_location_bytes)?; +/// (block_height, tx_index) = get_tx_location(hash)?; /// ``` pub fn get_tx_location(hash: &TransactionHash) -> GenericResult<(u64, u64)> { let mut buf = vec![];