From c3c58208e6237b5cc5139a63c45d5644f049ebdc Mon Sep 17 00:00:00 2001 From: Guy Date: Mon, 27 Jun 2022 15:16:04 -0400 Subject: [PATCH 1/2] transfer bug fix --- packages/shade_protocol/src/contract_interfaces/snip20/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shade_protocol/src/contract_interfaces/snip20/mod.rs b/packages/shade_protocol/src/contract_interfaces/snip20/mod.rs index ca4f05cf1..ce5fd1c9a 100644 --- a/packages/shade_protocol/src/contract_interfaces/snip20/mod.rs +++ b/packages/shade_protocol/src/contract_interfaces/snip20/mod.rs @@ -175,7 +175,7 @@ impl InitConfig { self.enable_burn.unwrap_or(false) } pub fn transfer_enabled(&self) -> bool { - self.enable_burn.unwrap_or(true) + self.enable_transfer.unwrap_or(true) } } From 3995082a5d46d6fe5e3b3f44fe8608140e5275e0 Mon Sep 17 00:00:00 2001 From: Guy Date: Mon, 27 Jun 2022 16:02:31 -0400 Subject: [PATCH 2/2] weird fix --- contracts/mint/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mint/Cargo.toml b/contracts/mint/Cargo.toml index c4ffde3fa..a5c397c52 100644 --- a/contracts/mint/Cargo.toml +++ b/contracts/mint/Cargo.toml @@ -38,7 +38,7 @@ snafu = { version = "0.6.3" } chrono = "0.4.19" [dev-dependencies] -fadroma = { branch = "v100", git = "https://github.com/hackbg/fadroma.git", features = ["ensemble"] } +fadroma = { branch = "v100", git = "https://github.com/hackbg/fadroma.git", features = ["ensemble", "scrt"] } contract_harness = { version = "0.1.0", path = "../../packages/contract_harness", features = ["mint", "snip20_reference_impl", "mock_band", "oracle"] } snip20-reference-impl = { version = "0.1.0", path = "../../contracts/snip20-reference-impl" } oracle = { version = "0.1.0", path = "../../contracts/oracle" }