From 4c0c5d024e638a9f2938482d0f88d9b85b4b279b Mon Sep 17 00:00:00 2001 From: Shargon Date: Fri, 23 Feb 2024 05:24:05 -0800 Subject: [PATCH 1/3] Update NativeContract.cs --- src/Neo/SmartContract/Native/NativeContract.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Neo/SmartContract/Native/NativeContract.cs b/src/Neo/SmartContract/Native/NativeContract.cs index 6d5d105b7d..8d5155ff92 100644 --- a/src/Neo/SmartContract/Native/NativeContract.cs +++ b/src/Neo/SmartContract/Native/NativeContract.cs @@ -199,7 +199,7 @@ private NativeContractsCache.CacheEntry GetAllowedMethods(ProtocolSettings setti /// The where the HardForks are configured. /// Block index /// The . - internal ContractState GetContractState(ProtocolSettings settings, uint index) + public ContractState GetContractState(ProtocolSettings settings, uint index) { // Get allowed methods and nef script NativeContractsCache.CacheEntry allowedMethods = GetAllowedMethods(settings, index); From e067cd27d8def8a63ff8570334a66c5e2198207a Mon Sep 17 00:00:00 2001 From: Shargon Date: Fri, 23 Feb 2024 05:35:31 -0800 Subject: [PATCH 2/3] Update MemoryStoreProvider.cs --- src/Neo/Persistence/MemoryStoreProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Neo/Persistence/MemoryStoreProvider.cs b/src/Neo/Persistence/MemoryStoreProvider.cs index 23276bce96..e72a13c899 100644 --- a/src/Neo/Persistence/MemoryStoreProvider.cs +++ b/src/Neo/Persistence/MemoryStoreProvider.cs @@ -11,7 +11,7 @@ namespace Neo.Persistence { - internal class MemoryStoreProvider : IStoreProvider + public class MemoryStoreProvider : IStoreProvider { public string Name => nameof(MemoryStore); public IStore GetStore(string path) => new MemoryStore(); From 5e50b37d38e4a6af34bfb61ec650c2d292e6df2c Mon Sep 17 00:00:00 2001 From: Shargon Date: Fri, 23 Feb 2024 05:39:39 -0800 Subject: [PATCH 3/3] Update Neo.csproj --- src/Neo/Neo.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Neo/Neo.csproj b/src/Neo/Neo.csproj index 75541f9091..694f4e1c02 100644 --- a/src/Neo/Neo.csproj +++ b/src/Neo/Neo.csproj @@ -26,6 +26,7 @@ +