diff --git a/crates/namada/src/vm/wasm/host_env.rs b/crates/namada/src/vm/wasm/host_env.rs index fa5eea43b80..0d8d740693e 100644 --- a/crates/namada/src/vm/wasm/host_env.rs +++ b/crates/namada/src/vm/wasm/host_env.rs @@ -105,8 +105,8 @@ where } } -// TODO: Attempt to reduce the boilerplate of this module with macros, traits -// or something of this sort... +// TODO(namada#3313): Attempt to reduce the boilerplate of this module with +// macros, traits or something of this sort... mod wrap_tx { //! Wrap tx host functions with any number of arguments in a callback //! that can be passed to [`wasmer`], to be used by the guest wasm code. @@ -258,8 +258,8 @@ mod wrap_tx { } } -// TODO: Attempt to reduce the boilerplate of this module with macros, traits -// or something of this sort... +// TODO(namada#3313): Attempt to reduce the boilerplate of this module with +// macros, traits or something of this sort... mod wrap_vp { //! Wrap vp host functions with any number of arguments in a callback //! that can be passed to [`wasmer`], to be used by the guest wasm code. diff --git a/crates/namada/src/vm/wasm/memory.rs b/crates/namada/src/vm/wasm/memory.rs index 6cd7bbf924c..9b872ff640f 100644 --- a/crates/namada/src/vm/wasm/memory.rs +++ b/crates/namada/src/vm/wasm/memory.rs @@ -184,8 +184,8 @@ pub fn write_vp_inputs( /// Check that the given offset and length fits into the memory bounds. If not, /// it will try to grow the memory. -// TODO: avoid growing memory if we're only performing reads; return an Err -// instead +// TODO(namada#3314): avoid growing memory if we're only performing reads; +// return an Err instead fn check_bounds( store: &mut impl wasmer::AsStoreMut, memory: &Memory,