mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
- Fix pqcrypto precompile API * Correct ML-KEM/ML-DSA/SLH-DSA verify patterns * Use PublicKeyFromBytes() -> Verify() pattern * All tests passing - Add ML-DSA precompile at 0x0200...0006 * Complete implementation with tests * Gas cost: 100k base + 10 per message byte * Performance: ~108μs verify time * FIPS 204 compliant via circl - Fix warp precompile * Correct signature verification * Update tests - Re-enable skipped tests * vm_upgrade_bytes_test.go * vm_validators_test.go * vm_warp_test.go * load_test.go * warp_test.go - Add gossip logger adapter - Update database implementations - Fix config tests All precompiles now working with real post-quantum crypto
51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
import "./global.css"
|
|
import { RootProvider } from "fumadocs-ui/provider/next"
|
|
import { Inter } from "next/font/google"
|
|
import type { ReactNode } from "react"
|
|
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
variable: "--font-geist-sans",
|
|
display: "swap",
|
|
})
|
|
|
|
const interMono = Inter({
|
|
subsets: ["latin"],
|
|
variable: "--font-geist-mono",
|
|
display: "swap",
|
|
})
|
|
|
|
export const metadata = {
|
|
title: {
|
|
default: "Lux EVM Documentation",
|
|
template: "%s | Lux EVM",
|
|
},
|
|
description: "EVM implementation with Lux-specific optimizations",
|
|
}
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={`${inter.variable} ${interMono.variable}`}
|
|
suppressHydrationWarning
|
|
>
|
|
<body className="min-h-svh bg-background font-sans antialiased">
|
|
<RootProvider
|
|
search={{
|
|
enabled: true,
|
|
}}
|
|
theme={{
|
|
enabled: true,
|
|
defaultTheme: "dark",
|
|
}}
|
|
>
|
|
<div className="relative flex min-h-svh flex-col bg-background">
|
|
{children}
|
|
</div>
|
|
</RootProvider>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|