mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-05-18 15:09:51 +00:00
Pass `ctx.self_program_id` from `ProgramContext` into `initialize_account` and `mint`, which now assert that the token definition account is owned by the token program. This prevents callers from supplying a foreign-owned account as the definition. See https://github.com/logos-co/spel/issues/172
20 lines
650 B
TOML
20 lines
650 B
TOML
[package]
|
|
name = "stablecoin-guest"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[workspace]
|
|
|
|
[[bin]]
|
|
name = "stablecoin"
|
|
path = "src/bin/stablecoin.rs"
|
|
|
|
[dependencies]
|
|
spel-framework = { git = "https://github.com/logos-co/spel.git", rev = "6473ab4c400bc59bac8db83a286faaeafa7d1999", package = "spel-framework" }
|
|
nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0-rc3" }
|
|
risc0-zkvm = { version = "=3.0.5", default-features = false }
|
|
stablecoin_core = { path = "../../core" }
|
|
stablecoin_program = { path = "../..", package = "stablecoin_program" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
borsh = "1.5"
|