Skip to content

Commit

Permalink
only assert in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchhill committed Jan 17, 2025
1 parent fe5cb1e commit 80c7d12
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@ public async Task Should_dispose_account_changes_after_newpayload_processing()

await rpc.engine_newPayloadV4(executionPayload, [], block.ParentBeaconBlockRoot, executionRequests: ExecutionRequestsProcessorMock.Requests);

Assert.That(Consensus.Testing.WasDisposed!.Value);
#if DEBUG
Assert.That(Testing.WasDisposed!.Value);
#endif
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<ProjectReference Include="..\Nethermind.Merge.Plugin\Nethermind.Merge.Plugin.csproj" />
<ProjectReference Include="..\Nethermind.Overseer.Test\Nethermind.Overseer.Test.csproj" />
<ProjectReference Include="..\Nethermind.Runner.Test\Nethermind.Runner.Test.csproj" />
<ProjectReference Include="..\Nethermind.Consensus\Nethermind.Consensus.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/bench_precompiles
Submodule bench_precompiles updated 1 files
+0 −7 LICENSE.txt
2 changes: 1 addition & 1 deletion src/tests
Submodule tests updated 522 files

0 comments on commit 80c7d12

Please sign in to comment.