* Remove tick_height from entrypoint signature * Impl tick_height syscall and use in storage program * Properly remove tick height from bpf handling
14 lines
365 B
Rust
14 lines
365 B
Rust
use solana_sdk::account::KeyedAccount;
|
|
use solana_sdk::instruction::InstructionError;
|
|
use solana_sdk::pubkey::Pubkey;
|
|
use solana_sdk::solana_entrypoint;
|
|
|
|
solana_entrypoint!(entrypoint);
|
|
fn entrypoint(
|
|
_program_id: &Pubkey,
|
|
_keyed_accounts: &mut [KeyedAccount],
|
|
_data: &[u8],
|
|
) -> Result<(), InstructionError> {
|
|
Err(InstructionError::GenericError)
|
|
}
|