"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const strict_1 = __importDefault(require("node:assert/strict"));
const index_1 = require("./index");
const leaves = [
    {
        txHash: '0x' + '11'.repeat(32),
        from: '0x' + '22'.repeat(20),
        to: '0x' + '33'.repeat(20),
        value: 0n,
        blockNumber: 1n,
        blockTimestamp: 2n,
        gasUsed: 3n,
        success: true,
    },
];
const h = (0, index_1.paymentLeafV1Hash)(138, leaves[0]);
strict_1.default.equal((0, index_1.buildMerkleRoot)([h]), h);
console.log('checkpoint-core merkle ok');
