diff --git a/.cspell.config.yaml b/.cspell.config.yaml index 5c307ad521..d7f1c5f737 100644 --- a/.cspell.config.yaml +++ b/.cspell.config.yaml @@ -376,6 +376,7 @@ words: - vfalco - vinnie - wasmi + - wasmparser - Werror - wextra - wptr diff --git a/crates/xrpl-wasm-vm/tests/preflight.rs b/crates/xrpl-wasm-vm/tests/preflight.rs index 4192fcfdf4..36d4683998 100644 --- a/crates/xrpl-wasm-vm/tests/preflight.rs +++ b/crates/xrpl-wasm-vm/tests/preflight.rs @@ -479,7 +479,9 @@ fn an_exported_table_past_the_cap_does_not_pass() { assert!(refusal.contains("past the 1024-element cap"), "{refusal}"); passes(&module( - &[&format!(r#"(table (export "t") {MAX_TABLE_ELEMENTS} funcref)"#)], + &[&format!( + r#"(table (export "t") {MAX_TABLE_ELEMENTS} funcref)"# + )], "(i32.const 0)", )); } diff --git a/src/libxrpl/tx/wasm/HostContext.cpp b/src/libxrpl/tx/wasm/HostContext.cpp index 24b33a6e8c..c5a19a9fea 100644 --- a/src/libxrpl/tx/wasm/HostContext.cpp +++ b/src/libxrpl/tx/wasm/HostContext.cpp @@ -20,11 +20,13 @@ // For `TraceDataType`, which the bridge declares and this header defines. #include +#include #include #include #include #include #include +#include #include #include #include