Files
ore/program/src/stake.rs
Hardhat Chad d59b3a2f4d Deprecate legacy staking (#99)
* add post balance to MineEvent log

* log input hash

* deprecate legacy staking

* update error message

* remove stake from readme

* err msg

* err msg

* update logs and comments

* consolidate logs

* last hash at

* bump version

* deprecate legacy staking

* update error message

* remove stake from readme

* err msg

* err msg

* bump version

---------

Co-authored-by: tonton-sol <19677766+tonton-sol@users.noreply.github.com>
Co-authored-by: alex <aabinaei@gmail.com>
2024-10-24 13:41:03 -05:00

7 lines
264 B
Rust

use steel::*;
/// Stake deposits ORE into a proof account to earn multiplier.
pub fn process_stake(_accounts: &[AccountInfo<'_>], _data: &[u8]) -> ProgramResult {
panic!("This instruction has been deprecated. Please stake with the boost program instead.");
}