Bifrost/tests/Bifrost.Web.Tests/DeskVectorPinTests.cs
Heimdall a530aaa716 desk: re-pin the vendored vectors to CultLib 89755b08
Existing rows are byte-identical; deciders_at_the_cap_of_64 is a new valid card row.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 20:10:52 +00:00

18 lines
637 B
C#

using System.Security.Cryptography;
using Bifrost.Web.Tests.Support;
namespace Bifrost.Web.Tests;
public sealed class DeskVectorPinTests
{
[Fact]
public void Vectors_are_cultlib_89755b08()
{
var sha = Convert.ToHexString(SHA256.HashData(File.ReadAllBytes(DeskVectors.Path))).ToLowerInvariant();
Assert.True(
DeskVectors.FileSha256 == sha,
$"fork-card-vectors.json is not CultLib {DeskVectors.SourceCommit}:contracts/cultnet/governance/fork-card-vectors.json (sha256 {sha}). " +
"Re-vendor from that commit or move the pin on purpose, with the whole contract.");
}
}