Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
# ******************************************************************************
Expand Down
Loading