From 2cc1250c70c44a3c62250b7ddda507a07c8e202d Mon Sep 17 00:00:00 2001 From: Tiago Carvalho Date: Wed, 3 Jan 2024 16:56:24 +0000 Subject: [PATCH] fixup! Include validator avatar in their medatada --- wasm/wasm_source/src/vp_user.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wasm/wasm_source/src/vp_user.rs b/wasm/wasm_source/src/vp_user.rs index 29c861d04d5..e9e148405fa 100644 --- a/wasm/wasm_source/src/vp_user.rs +++ b/wasm/wasm_source/src/vp_user.rs @@ -703,6 +703,7 @@ mod tests { description: None, website: None, discord_handle: None, + avatar: None, }; tx::ctx().become_validator(args).unwrap(); }); @@ -792,6 +793,7 @@ mod tests { Some("desc".to_owned()), Some("website".to_owned()), Some("discord".to_owned()), + Some("avatar".to_owned()), Some(Dec::new(6, 2).unwrap()), ) .unwrap(); @@ -972,6 +974,7 @@ mod tests { description: None, website: None, discord_handle: None, + avatar: None, }; tx::ctx().become_validator(args).unwrap(); }); @@ -1076,6 +1079,7 @@ mod tests { Some("desc".to_owned()), Some("website".to_owned()), Some("discord".to_owned()), + Some("avatar".to_owned()), Some(Dec::new(6, 2).unwrap()), ) .unwrap();