Remove the 5 integer msg! form

(cherry picked from commit c5c699a918)
This commit is contained in:
Michael Vines
2021-12-10 13:13:30 -08:00
parent 0576d133ad
commit c1f54c22ed
8 changed files with 25 additions and 44 deletions

View File

@ -2,7 +2,7 @@
extern crate solana_program;
use solana_bpf_rust_param_passing_dep::{Data, TestDep};
use solana_program::{custom_panic_default, entrypoint::SUCCESS, msg};
use solana_program::{custom_panic_default, entrypoint::SUCCESS, log::sol_log_64};
#[no_mangle]
pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
@ -17,7 +17,7 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
};
let test_dep = TestDep::new(&data, 1, 2, 3, 4, 5);
msg!(0, 0, 0, 0, test_dep.thirty);
sol_log_64(0, 0, 0, 0, test_dep.thirty as u64);
assert!(test_dep.thirty == 30);
SUCCESS