mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-06-10 02:09:49 +00:00
chore: include stablecoin program in clippy task
This commit is contained in:
parent
20a947137c
commit
cfa4bb1e36
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ clippy:
|
|||||||
RISC0_SKIP_BUILD=1 cargo clippy --workspace --all-targets -- -D warnings
|
RISC0_SKIP_BUILD=1 cargo clippy --workspace --all-targets -- -D warnings
|
||||||
|
|
||||||
clippy-guest:
|
clippy-guest:
|
||||||
for manifest in token/methods/guest/Cargo.toml amm/methods/guest/Cargo.toml ata/methods/guest/Cargo.toml; do \
|
for manifest in token/methods/guest/Cargo.toml amm/methods/guest/Cargo.toml ata/methods/guest/Cargo.toml stablecoin/methods/guest/Cargo.toml; do \
|
||||||
cargo clippy --manifest-path "$$manifest" --all-targets -- -D warnings || exit 1; \
|
cargo clippy --manifest-path "$$manifest" --all-targets -- -D warnings || exit 1; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
#![no_main]
|
#![cfg_attr(not(test), no_main)]
|
||||||
|
|
||||||
use nssa_core::account::AccountWithMetadata;
|
use nssa_core::account::AccountWithMetadata;
|
||||||
use spel_framework::context::ProgramContext;
|
use spel_framework::context::ProgramContext;
|
||||||
use spel_framework::prelude::*;
|
use spel_framework::prelude::*;
|
||||||
|
|
||||||
|
#[cfg(not(test))]
|
||||||
risc0_zkvm::guest::entry!(main);
|
risc0_zkvm::guest::entry!(main);
|
||||||
|
|
||||||
#[lez_program(instruction = "stablecoin_core::Instruction")]
|
#[lez_program(instruction = "stablecoin_core::Instruction")]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user