fix: configure Vector testnet slot config for Lucid
SLOT_CONFIG_NETWORK.Mainnet was using Cardano mainnet genesis (2020), causing POSIX→slot conversion to produce slots far beyond the Vector testnet's era boundaries. Set to Vector testnet genesis 2025-07-09. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
// Game 6 of the Vector game theory ecosystem
|
||||
|
||||
import { z } from "zod";
|
||||
import { Lucid, fromText, toText, Data, Constr, credentialToAddress, getAddressDetails } from '@lucid-evolution/lucid';
|
||||
import { Lucid, fromText, toText, Data, Constr, credentialToAddress, getAddressDetails, SLOT_CONFIG_NETWORK } from '@lucid-evolution/lucid';
|
||||
|
||||
// Vector testnet slot config — system start 2025-07-09T10:38:04Z, 1s slots
|
||||
SLOT_CONFIG_NETWORK.Mainnet = { zeroTime: 1752057484000, zeroSlot: 0, slotLength: 1000 };
|
||||
import { blake2b } from '@noble/hashes/blake2b';
|
||||
import { S3Client, PutObjectCommand } from '@aws-sdk/client-s3';
|
||||
import { OgmiosProvider } from './ogmios-provider.js';
|
||||
|
||||
Reference in New Issue
Block a user