v0.2.13-pre.005-fix.001
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-interface-lib/tests/dependency_boundary.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Dependency and passive-surface canaries for the Interface foundation.
|
||||
|
||||
@@ -112,7 +112,7 @@ fn pre_005_all_production_sources_preserve_the_dependency_firewall() {
|
||||
"tauri::",
|
||||
"tokio::",
|
||||
"tonic::",
|
||||
"tracing::",
|
||||
concat!("tracing", "::"),
|
||||
"wincode::",
|
||||
] {
|
||||
assert!(!source.contains(forbidden), "forbidden production dependency path detected: {forbidden}");
|
||||
|
||||
@@ -145,11 +145,8 @@ fn instruction_limit_errors_do_not_echo_hostile_payload_or_account_material() {
|
||||
}
|
||||
let hostile_account = meta(0xE1, true);
|
||||
let hostile_account_debug = std::format!("{hostile_account:?}");
|
||||
let account_error = crate::ProgramInstruction::try_new(
|
||||
program_id,
|
||||
std::vec![hostile_account; crate::MAX_PROGRAM_INSTRUCTION_ACCOUNTS + 1],
|
||||
std::vec::Vec::new(),
|
||||
);
|
||||
let account_error =
|
||||
crate::ProgramInstruction::try_new(program_id, std::vec![hostile_account; crate::MAX_PROGRAM_INSTRUCTION_ACCOUNTS + 1], std::vec::Vec::new());
|
||||
assert!(account_error.is_err());
|
||||
let account_error = match account_error {
|
||||
std::result::Result::Err(value) => value,
|
||||
|
||||
Reference in New Issue
Block a user