From 4e1aef9ab25779d6d70d0aa02604a2c8a44d899d Mon Sep 17 00:00:00 2001 From: Marco Granelli Date: Tue, 10 Sep 2024 23:01:25 +0200 Subject: [PATCH] Fixes broken ibc unit test --- crates/tests/src/vm_host_env/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/tests/src/vm_host_env/mod.rs b/crates/tests/src/vm_host_env/mod.rs index 4e6aa6fd64..cf944d6ca4 100644 --- a/crates/tests/src/vm_host_env/mod.rs +++ b/crates/tests/src/vm_host_env/mod.rs @@ -1344,8 +1344,10 @@ mod tests { // Check let mut env = tx_host_env::take(); - // The token must be part of the verifier set (checked by MultitokenVp) + // The token and sender must be part of the verifier set (checked by + // MultitokenVp) env.verifiers.insert(ibc_token); + env.verifiers.insert(sender); let result = ibc::validate_ibc_vp_from_tx( &env, &tx.batch_ref_first_tx().unwrap(),