Use bs58 strings to declare IDs rather then raw bytes (#7082)
This commit is contained in:
3
programs/move_loader/Cargo.lock
generated
3
programs/move_loader/Cargo.lock
generated
@ -2079,7 +2079,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "solana-move-loader-api"
|
||||
name = "solana-move-loader-program"
|
||||
version = "0.21.0"
|
||||
dependencies = [
|
||||
"bincode 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
@ -2119,6 +2119,7 @@ dependencies = [
|
||||
"generic-array 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"itertools 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"memmap 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num-derive 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -4,11 +4,10 @@ pub mod error_mappers;
|
||||
pub mod processor;
|
||||
|
||||
use crate::processor::process_instruction;
|
||||
use solana_sdk::move_loader::PROGRAM_ID;
|
||||
use solana_sdk::move_loader;
|
||||
|
||||
solana_sdk::declare_program!(
|
||||
PROGRAM_ID,
|
||||
"MoveLdr111111111111111111111111111111111111",
|
||||
move_loader::BS58_STRING,
|
||||
solana_move_loader_program,
|
||||
process_instruction
|
||||
);
|
||||
|
Reference in New Issue
Block a user