From 4eb72d230dca88f7ff45de61deb734cd7570309c Mon Sep 17 00:00:00 2001 From: Tommo-L Date: Wed, 16 Dec 2020 14:04:33 +0800 Subject: [PATCH 1/2] Reduce deploy fee --- src/neo/SmartContract/Native/ManagementContract.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neo/SmartContract/Native/ManagementContract.cs b/src/neo/SmartContract/Native/ManagementContract.cs index 124be72a88..0c591f4cff 100644 --- a/src/neo/SmartContract/Native/ManagementContract.cs +++ b/src/neo/SmartContract/Native/ManagementContract.cs @@ -31,7 +31,7 @@ private int GetNextAvailableId(StoreView snapshot) internal override void Initialize(ApplicationEngine engine) { - engine.Snapshot.Storages.Add(CreateStorageKey(Prefix_MinimumDeploymentFee), new StorageItem(100_00000000)); + engine.Snapshot.Storages.Add(CreateStorageKey(Prefix_MinimumDeploymentFee), new StorageItem(1_00000000)); } internal override void OnPersist(ApplicationEngine engine) From 1eb6bc078f94b43c8c0cd2f7560698dd0fafe861 Mon Sep 17 00:00:00 2001 From: Tommo-L Date: Wed, 16 Dec 2020 14:22:01 +0800 Subject: [PATCH 2/2] change the minimum deploy fee to 10GAS --- src/neo/SmartContract/Native/ManagementContract.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neo/SmartContract/Native/ManagementContract.cs b/src/neo/SmartContract/Native/ManagementContract.cs index 0c591f4cff..2cef103b04 100644 --- a/src/neo/SmartContract/Native/ManagementContract.cs +++ b/src/neo/SmartContract/Native/ManagementContract.cs @@ -31,7 +31,7 @@ private int GetNextAvailableId(StoreView snapshot) internal override void Initialize(ApplicationEngine engine) { - engine.Snapshot.Storages.Add(CreateStorageKey(Prefix_MinimumDeploymentFee), new StorageItem(1_00000000)); + engine.Snapshot.Storages.Add(CreateStorageKey(Prefix_MinimumDeploymentFee), new StorageItem(10_00000000)); } internal override void OnPersist(ApplicationEngine engine)