Skip to content

Commit 1858c20

Browse files
committed
docs: fix docs
1 parent 3c79f29 commit 1858c20

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/content/docs/devnet/configuration.mdx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const genesisConfig = {
4949
initialFunds: {
5050
[addressHex]: 1_000_000_000_000 // 1 million ADA (in lovelace)
5151
}
52-
};
52+
} satisfies DevnetDefault.ShelleyGenesis;
5353

5454
// Create cluster with custom genesis
5555
const cluster = await Devnet.Cluster.make({
@@ -100,7 +100,7 @@ const genesisConfig = {
100100
[address1]: 500_000_000_000, // 500K ADA
101101
[address2]: 300_000_000_000 // 300K ADA
102102
}
103-
};
103+
} satisfies DevnetDefault.ShelleyGenesis;
104104

105105
const cluster = await Devnet.Cluster.make({
106106
clusterName: "multi-user-devnet",
@@ -128,7 +128,7 @@ const genesisConfig = {
128128
initialFunds: {
129129
[addressHex]: 1_000_000_000_000
130130
}
131-
};
131+
} satisfies DevnetDefault.ShelleyGenesis;
132132

133133
// Calculate UTxOs before starting the cluster
134134
const genesisUtxos = await Devnet.Genesis.calculateUtxosFromConfigOrThrow(genesisConfig);
@@ -253,7 +253,7 @@ const genesisConfig = {
253253
initialFunds: {
254254
[addressHex]: 100_000_000_000
255255
}
256-
};
256+
} satisfies DevnetDefault.ShelleyGenesis;
257257

258258
const cluster = await Devnet.Cluster.make({
259259
clusterName: "fast-devnet",
@@ -288,7 +288,7 @@ const genesisConfig = {
288288
initialFunds: {
289289
[addressHex]: 100_000_000_000
290290
}
291-
};
291+
} satisfies DevnetDefault.ShelleyGenesis;
292292
```
293293

294294
- **securityParam (k)**: Blocks before finality. Lower values (10) allow faster testing of chain reorganizations. Default 2160 matches mainnet.
@@ -348,14 +348,13 @@ const genesisConfig = {
348348
minFeeA: 40, // Lower fees for testing
349349
minFeeB: 150000,
350350
maxTxSize: 32768, // Larger transactions allowed
351-
maxBlockBodySize: 131072, // Larger blocks for throughput
352-
coinsPerUTxOByte: "4310"
351+
maxBlockBodySize: 131072 // Larger blocks for throughput
353352
},
354353

355354
// Faster key evolution for staking tests
356355
maxKESEvolutions: 60,
357356
slotsPerKESPeriod: 3600
358-
};
357+
} satisfies DevnetDefault.ShelleyGenesis;
359358

360359
// Create cluster with full services
361360
const cluster = await Devnet.Cluster.make({

0 commit comments

Comments
 (0)