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
19 lines
446 B
TypeScript
19 lines
446 B
TypeScript
import { docs } from "@/.source"
|
|
import { loader } from "fumadocs-core/source"
|
|
|
|
// Create a single source instance that is reused
|
|
// This prevents circular references and stack overflow issues
|
|
let _source: ReturnType<typeof loader> | null = null
|
|
|
|
export function getSource() {
|
|
if (!_source) {
|
|
_source = loader({
|
|
baseUrl: "/docs",
|
|
source: docs.toFumadocsSource(),
|
|
})
|
|
}
|
|
return _source
|
|
}
|
|
|
|
export const source = getSource()
|