Skip to content

nooschain v0.1.0


nooschain / chain/state-root-engine-config / assertStateRootEngineAllowed

Function: assertStateRootEngineAllowed()

assertStateRootEngineAllowed(engine?): "iden3-v1" | "nervos-smt-v2"

Defined in: chain/state-root-engine-config.ts:233

Validates that the selected state-root engine is known by this binary.

Nervos is the default for new chains. Production safety is enforced by sidecar readiness, checkpoint validation, and fail-closed block execution.

Parameters

engine?

"iden3-v1" | "nervos-smt-v2"

Returns

"iden3-v1" | "nervos-smt-v2"

Audience-first NOOSChain documentation.