Files
chains/hanzo-evm/operator/red2_redteam_helper_test.go
zeekayandGitHub 96da029e9a Thinking Chains: chains (#2)
* hanzo-evm: aiquorum + aimarket precompiles, evmllm (geth AI precompile + e2e), operator/canonical (commit/reveal, int8-quant), aiffi bench. Thinking-chain substrate.

* hanzo-evm/evm: wire AI precompiles (inference 0x0300..03 + modelregistry)

Registers deterministic int8 inference (Tier-1 in-consensus AI) + ModelSpec
registry into the Hanzo EVM. threshold dep aligned to v1.9.4 (go.mod match).
Builds green (55M binary). aivmbridge follows luxfi/precompile release.
2026-06-21 20:53:42 -07:00

10 lines
194 B
Go

// Copyright (C) 2026, Hanzo AI Inc. All rights reserved.
package operator
import "encoding/json"
func jsonValidImpl(b []byte) bool {
var v interface{}
return json.Unmarshal(b, &v) == nil
}