Skip to content

Manifest Warning Codes

Back to Error Reference

These are string-based warning codes emitted during manifest generation (Stage 8):

CodeDescriptionTrigger
COMPILER_WARNINGGeneral compiler warningVarious conditions
NEF_SOURCE_TRUNCATEDNEF source field truncated--nef-source value exceeds 240 bytes
MANIFEST_FULL_WILDCARDFull wildcard permissionManifest requires {"contract":"*","methods":"*"}
MANIFEST_WILDCARD_CONTRACTWildcard contract permissionManifest requires {"contract":"*",...}
MANIFEST_WILDCARD_METHODSWildcard method permissionManifest requires {...,"methods":"*"}

Constructor Deploy Warning

When a contract has a parameterised constructor, the compiler emits a warning if the manifest does not include StdLib.jsonDeserialize and StdLib.deserialize permissions. The injected deploy prologue uses these methods to parse constructor arguments.

warning: contract 'MyToken' has a parameterised constructor; deploy it by passing
constructor args through `_deploy(data, update)`. Neo-Express: pass a JSON array
string via `-d '[7]'`; SDKs that support StackItems may pass an Array directly.

Fix: Ensure the manifest permissions include StdLib access, or pass constructor arguments as a StackItem Array directly from your SDK.

MIT Licensed