fix: upgrade sozo to v1.8.6 for Blake2s CASM class hash support#13
Merged
Slymeofthemonth merged 2 commits intomainfrom Mar 4, 2026
Merged
fix: upgrade sozo to v1.8.6 for Blake2s CASM class hash support#13Slymeofthemonth merged 2 commits intomainfrom
Slymeofthemonth merged 2 commits intomainfrom
Conversation
Sepolia now uses Blake2s for CASM class hashing (since Starknet 0.13.4). sozo v1.8.0 used Pedersen hashing, causing CASM compiled class hash mismatch on deployment. sozo v1.8.4+ (PR dojoengine/dojo#3377) adds Blake2s support, auto-detecting the correct hash algorithm from the RPC. Changes: - .tool-versions: sozo 1.8.0 → 1.8.6 - Dockerfile.build: dojo image v1.8.0 → v1.8.6 - deployment.md: updated toolchain reference The dojo cairo library dependency stays at v1.8.0 (unchanged API). scarb/cairo 2.13.1 remain compatible. Closes #1
The previous Dockerfile referenced ghcr.io/dojoengine/dojo:v1.8.6 which doesn't exist. This builds from ubuntu:24.04 and installs: - scarb 2.13.1 (matching dojo v1.8.0 core deps) - sozo 1.8.6 (latest, with updated Sierra->CASM compiler) - Rust toolchain for plugin compilation sozo build verified passing in this container. Added docker-build.sh helper script. Refs #1
This was referenced Mar 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Sepolia deployment (
sozo migrate --profile sepolia) fails with CASM compiled class hash mismatch. The Sierra→CASM compiler in sozo 1.7.1 produces different hashes than Sepolia expects.Fix
Verified
sozo buildpasses in the new containerCloses #1