mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-05-20 07:59:39 +00:00
This updates the spel dependency, which introduces a breaking change. To make reviewing changes easier from other changes, this update comes in a separate commit.
20 lines
460 B
Rust
20 lines
460 B
Rust
#![no_main]
|
|
|
|
use nssa_core::account::AccountWithMetadata;
|
|
use spel_framework::prelude::*;
|
|
|
|
risc0_zkvm::guest::entry!(main);
|
|
|
|
#[lez_program(instruction = "stablecoin_core::Instruction")]
|
|
mod stablecoin {
|
|
#[allow(unused_imports)]
|
|
use super::*;
|
|
|
|
#[instruction]
|
|
pub fn noop(account: AccountWithMetadata) -> SpelResult {
|
|
Ok(spel_framework::SpelOutput::execute(stablecoin_program::noop::noop(
|
|
account,
|
|
), vec![]))
|
|
}
|
|
}
|