diff --git a/justfile b/justfile index a29fe5d..fccd751 100644 --- a/justfile +++ b/justfile @@ -122,15 +122,20 @@ check-solana-verify: # Verify mainnet deployment against repo (remote build via OtterSec) # Note: Remote verification (--remote) only works on mainnet +# Apple Silicon (local builds without --remote): enable Docker/Colima Rosetta and +# `export DOCKER_DEFAULT_PLATFORM=linux/amd64`. The pinned verify image is amd64-only, +# so the SBF build fails on getrandom under arm64 emulation without it. verify-mainnet: check-solana-verify solana-verify verify-from-repo \ https://github.com/solana-program/rewards \ --program-id REWArDioXgQJ2fZKkfu9LCLjQfRwYWVVfsvcsR5hoXi \ --library-name rewards_program \ - --mount-path program \ --remote \ -um +verify-local: check-solana-verify + solana-verify build --library-name rewards_program + # ****************************************************************************** # Release # ******************************************************************************