From 66bcb57458ea1822aba99a46177d70beabb5f0e2 Mon Sep 17 00:00:00 2001 From: Jake Hartnell Date: Mon, 24 Apr 2023 18:30:42 -0700 Subject: [PATCH] Fix typo, execute and query extensions should be enums --- contracts/cw721-template/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/cw721-template/src/lib.rs b/contracts/cw721-template/src/lib.rs index be6270512..c931e2939 100644 --- a/contracts/cw721-template/src/lib.rs +++ b/contracts/cw721-template/src/lib.rs @@ -18,13 +18,13 @@ pub struct MetadataExt {} // This is the custom Execute message extension for this contract. // Use it to implement custom functionality. #[cw_serde] -pub struct ExecuteExt {} +pub enum ExecuteExt {} impl CustomMsg for ExecuteExt {} // This is the custom Query message type for this contract. // Use it to implement custom query messages. #[cw_serde] -pub struct QueryExt {} +pub enum QueryExt {} impl CustomMsg for QueryExt {} // This contrains default cw721 logic with extensions.