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
16 lines
307 B
TOML
16 lines
307 B
TOML
[package]
|
|
name = "idl-gen"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "idl-gen"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
spel-framework-core = { git = "https://github.com/logos-co/spel.git", rev = "6473ab4c400bc59bac8db83a286faaeafa7d1999", features = [
|
|
"idl-gen",
|
|
] }
|
|
serde_json = "1.0"
|
|
toml = "0.8"
|