Skip to content

Commit

Permalink
Upgrade references and neo (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim8y authored Jul 16, 2024
1 parent 6969981 commit b422bfc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/bctklib/bctklib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
<InternalsVisibleTo Include="test.bctklib" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MessagePack" Version="2.5.168" />
<PackageReference Include="MessagePack" Version="2.5.171" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all" />
<PackageReference Include="Nerdbank.Streams" Version="2.11.74" />
<PackageReference Include="OneOf" Version="3.0.271" />
<PackageReference Include="rocksdb" Version="8.11.3.46984" />
<PackageReference Include="System.IO.Abstractions" Version="21.0.22" />
<PackageReference Include="rocksdb" Version="9.4.0.50294" />
<PackageReference Include="System.IO.Abstractions" Version="21.0.26" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\neo\src\Neo\Neo.csproj" />
Expand Down
8 changes: 4 additions & 4 deletions src/bctklib/smart-contract/TraceApplicationEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public override VMState Execute()
{
traceDebugSink.ProtocolSettings(ProtocolSettings.Network, ProtocolSettings.AddressVersion);
traceDebugSink.Script(CurrentContext?.Script ?? Array.Empty<byte>());
traceDebugSink.Trace(State, GasConsumed, InvocationStack);
traceDebugSink.Trace(State, FeeConsumed, InvocationStack);
WriteStorages(CurrentScriptHash);

return base.Execute();
Expand All @@ -82,17 +82,17 @@ protected override void PostExecuteInstruction(Instruction instruction)

if (State == VMState.HALT)
{
traceDebugSink.Results(State, GasConsumed, ResultStack);
traceDebugSink.Results(State, FeeConsumed, ResultStack);
}
traceDebugSink.Trace(State, GasConsumed, InvocationStack);
traceDebugSink.Trace(State, FeeConsumed, InvocationStack);
WriteStorages(CurrentScriptHash);
}

protected override void OnFault(Exception e)
{
base.OnFault(e);
traceDebugSink.Fault(e);
traceDebugSink.Trace(State, GasConsumed, InvocationStack);
traceDebugSink.Trace(State, FeeConsumed, InvocationStack);
}

private void WriteStorages(UInt160 scriptHash)
Expand Down
4 changes: 2 additions & 2 deletions test/test-build-tasks/test-build-tasks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
<PackageReference Include="Microsoft.VisualStudio.TestPlatform.ObjectModel" Version="14.0.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<!-- <PackageReference Include="MSBuild.ProjectCreation" Version="2.0.1" /> -->
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="Xunit.Combinatorial" Version="1.6.24" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions test/test-collector/test-collector.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
6 changes: 3 additions & 3 deletions test/test.bctklib/test.bctklib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="Neo.Plugins.Storage.RocksDBStore" Version="3.7.5" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="21.0.22" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="21.0.26" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="Xunit.Combinatorial" Version="1.6.24" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

0 comments on commit b422bfc

Please sign in to comment.