Skip to content

Commit

Permalink
Try to bust the CI LocalSecret cache to hopefully make ffdc0e4 work
Browse files Browse the repository at this point in the history
  • Loading branch information
assafmo committed Jul 30, 2023
1 parent 52a4ae0 commit 42bce5c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,14 @@ fn update_random_with_msg_counter(
versioned_env: &mut CwEnv,
) {
let old_random = versioned_env.get_random();
debug!("Old random: {:?}", old_random);
debug!("Old random: {:x?}", old_random);

// rand is None if env is v0.10
if let Some(rand) = old_random {
versioned_env.set_random(Some(derive_random(&rand, contract_key, block_height)));
}

debug!("New random: {:?}", versioned_env.get_random());
debug!("New random: {:x?}", versioned_env.get_random());
}

fn to_canonical(contract_address: &BaseAddr) -> Result<CanonicalAddr, EnclaveError> {
Expand Down Expand Up @@ -752,7 +752,7 @@ pub fn handle(
*used_gas = used_gas.saturating_sub(refund_cache_gas);

debug!(
"(2) nonce just before encrypt_output: nonce = {:?} pubkey = {:?}",
"(2) nonce just before encrypt_output: nonce = {:x?} pubkey = {:x?}",
secret_msg.nonce, secret_msg.user_public_key
);
if should_encrypt_output {
Expand Down

0 comments on commit 42bce5c

Please sign in to comment.