Skip to content

Production Gate

Back to Production Readiness

Overview

The single most important command before any production deployment:

bash
make production-gate

This runs the full validation pipeline:

StepCommandWhat It Checks
1. Formattingcargo fmt --all -- --checkCode style consistency
2. Lintingcargo clippy --all-targets --all-features -- -D warningsRust code quality and common mistakes
3. Release buildcargo build --releaseCompilation succeeds with optimizations
4. Full test suitecargo test --workspace --all-featuresRust unit, integration, manifest, runtime, and E2E tests
5. Tooling testsmake tooling-testTypeScript tooling packages build and test
6. Tooling lintmake tooling-lintTooling ESLint checks pass
7. Runtime testsmake runtime-testMaintained optional C# runtime test slice passes
8. E2E testscargo test --test e2e_compilation_tests -- --test-threads=4All example contracts compile correctly
9. Strict sweepSTRICT_SWEEP_FAIL_ON_UNEXPECTED_WARNINGS=1 make test-compile-strictNo unexpected warnings in devpack or examples
10. Smoke testsmake test-deploy-smoke-fullAll 16+ deploy/invoke scenarios pass on Neo-Express

If make production-gate passes, the compiler toolchain is verified end-to-end.

WARNING

Never skip the production gate before deploying to TestNet or MainNet. It catches regressions that unit tests alone cannot detect.

MIT Licensed