From 3e6071f2eb26f6d58e35a45798c43db1f0a7b314 Mon Sep 17 00:00:00 2001 From: Marco Granelli Date: Thu, 5 Sep 2024 17:07:06 +0200 Subject: [PATCH] Improves governance error message --- crates/governance/src/vp/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/governance/src/vp/mod.rs b/crates/governance/src/vp/mod.rs index a7b8114bafd..ffdb0da222c 100644 --- a/crates/governance/src/vp/mod.rs +++ b/crates/governance/src/vp/mod.rs @@ -566,7 +566,7 @@ where if !proposal_type.is_default_with_wasm() { return Err(Error::new_alloc(format!( "Proposal with id {proposal_id} modified a proposal code key, \ - but its type is not default.", + but its type is not allowed this change.", ))); }