public void TestTestCall() { TestNativeContract testNativeContract = new TestNativeContract(); ApplicationEngine engine = testNativeContract.TestCall("System.Blockchain.GetHeight", 0); engine.ResultStack.Should().BeEmpty(); }
public void TestTestCall() { var snapshot = TestBlockchain.GetTestSnapshot(); ApplicationEngine engine = testNativeContract.TestCall(snapshot, "System.Blockchain.GetHeight", 0); engine.ResultStack.Should().BeEmpty(); }