mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-05-18 23:19:30 +00:00
- Introduced a new Cargo.toml for the malicious ATA guest program. - Implemented malicious ATA methods in `malicious_ata.rs`, including create, transfer, and burn functions that simulate malicious behavior. - Updated the integration test suite to include tests for the malicious ATA program, ensuring it is rejected in various value paths. - Enhanced existing tests to accommodate the new malicious ATA program and verify that it does not affect the expected state of the AMM.
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[workspace]
|
|
members = [
|
|
"token/core",
|
|
"token",
|
|
"token/methods",
|
|
"amm/core",
|
|
"amm",
|
|
"amm/methods",
|
|
"ata/core",
|
|
"ata",
|
|
"ata/methods",
|
|
"integration_tests",
|
|
"integration_tests/malicious_ata_methods",
|
|
"tools/idl-gen",
|
|
]
|
|
exclude = [
|
|
"token/methods/guest",
|
|
"amm/methods/guest",
|
|
"ata/methods/guest",
|
|
"integration_tests/malicious_ata_methods/guest",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.dependencies]
|
|
nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0-rc1", features = ["host"] }
|
|
nssa = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0-rc1", features = ["test-utils"] }
|
|
token_core = { path = "token/core" }
|
|
token_program = { path = "token" }
|
|
amm_core = { path = "amm/core" }
|
|
amm_program = { path = "amm" }
|
|
ata_core = { path = "ata/core" }
|
|
ata_program = { path = "ata" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
borsh = { version = "1.0", features = ["derive"] }
|
|
risc0-zkvm = { version = "=3.0.5" }
|
|
serde_json = "1.0"
|
|
tokio = { version = "1.28.2", features = ["net", "rt-multi-thread", "sync", "macros"] }
|