program log pubkey as base58 (bp #12901) (#12911)

* program log pubkey as base58 (#12901)

(cherry picked from commit 3f9e6a600b)

# Conflicts:
#	programs/bpf/benches/bpf_loader.rs
#	programs/bpf/c/src/tuner/tuner.c

* resolve conflicts

* fix bench conflict

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2020-10-15 19:40:20 +00:00
committed by GitHub
parent e8c86ed3e5
commit 3df811348f
9 changed files with 139 additions and 30 deletions

View File

@@ -28,6 +28,12 @@ extern uint64_t entrypoint(const uint8_t *input) {
// sol_sha256(bytes, SOL_ARRAY_SIZE(bytes), result);
// *val = result[0];
// }
// // Uncomment for Pubkey logging syscall
// {
// SolPubkey pubkey;
// sol_log_pubkey(&pubkey);
// }
}
return *val;
}

View File

@@ -7,7 +7,6 @@ use solana_sdk::{
entrypoint,
entrypoint::ProgramResult,
info,
log::Log,
pubkey::Pubkey,
rent,
sysvar::{