Skip to content

Production devnet#593

Closed
FilipHarald wants to merge 97 commits intomainfrom
production-devnet
Closed

Production devnet#593
FilipHarald wants to merge 97 commits intomainfrom
production-devnet

Conversation

@FilipHarald
Copy link
Copy Markdown
Contributor

No description provided.

Mautjee and others added 30 commits November 4, 2025 22:21
FilipHarald and others added 29 commits March 2, 2026 15:22
…ct instance verification

Bytecode mismatch and address mismatch are client errors (bad input),
not server errors. Changed both status codes from 500 to 400.
… parsing

Zod's .parse() throws on invalid data rather than returning falsy, making
the previous if (!dbContractClass) check dead code. A ZodError would have
propagated as a misleading 400 instead of the intended 500.
…tion

The addArtifactData call during instance verification was missing the
contractName parameter, causing artifactContractName to be null in the DB.
Now destructures artifactContractName from verifyArtifactPayload result
and passes it to both addArtifactData and the cache entry.
…t comparison

Raw JSON string comparison is fragile — semantically identical artifacts
with different key ordering or whitespace would fail. Now uses
verifyArtifactPayload to compare compiled bytecode instead.
…ta is absent

Previously, successful verification without deployerMetadata would return
200 without updating the Redis cache, causing stale data (missing
verifiedDeploymentArguments) to be served until TTL expired (~60s).
Devnet uses Envoy Gateway which defaults to ~1MB max body size. Large
contract artifacts (e.g. Train at ~1.1MB) would be rejected with 413.
Added ClientTrafficPolicy with 50MB limit to match nginx's proxy-body-size
on testnet/mainnet.
Merges production-devnet into production-testnet to bring:
- Aztec v4 (4.0.0-devnet.2-patch.1) support
- Buffer-based block serialization (replacing JSON string)
- L2BlockProposed -> CheckpointProposed rename
- contentCommitment removal, spongeBlobHash addition
- DB migrations for v4 schema changes
- Envoy Gateway compatible auth controller
- All package version updates to v4
…1 and regenerate yarn.lock

The 4.0.3 upgrade changed @defi-wonderland/aztec-standards to 4.0.3
which does not exist on npm. Revert to 4.0.0-devnet.2-patch.1 (the
latest published version) and regenerate yarn.lock so all @aztec/
packages resolve to 4.0.3 correctly.
The @aztec/bb.js native bb binary requires glibc 2.39+ (C23 symbols).
Alpine (musl) and Debian Bookworm (glibc 2.36) cannot run it.
Debian Trixie provides glibc 2.39+, matching what event-cannon already uses.
Override uncleaned z.coerce.bigint() fields that cause generateSchema
to throw 'Cannot convert undefined to a BigInt' during isOptional()
checks: balance in contractInstanceBalance, and nested l1BlockNumber
in proposedOnL1/proofVerifiedOnL1 block schemas.
@FilipHarald FilipHarald closed this Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants