BlockSTM simulation and analysis tooling for detecting concurrency anomalies in parallel transaction execution.
- Go 1.25+
git clone git@github.com:altuslabsxyz/blockstm-sim.git
cd blockstm-sim
go test ./...# Default public build
make build
# Build with SDK hook integration enabled
make build-simharness
# Build with SDK hook integration and the canary module enabled
make build-canaryOr directly with go build:
go build -o build/blockstm-sim ./cmd/blockstm-sim
go build -tags "sdk_hooks simharness" -o build/blockstm-sim ./cmd/blockstm-sim
go build -tags "sdk_hooks simharness simharness_canary" -o build/blockstm-sim ./cmd/blockstm-sim| Tag | Description |
|---|---|
sdk_hooks |
Enables SDK hook integration used by the simulation executor |
simharness |
Enables BlockSTM simulation shims for intercepting transaction execution |
simharness_canary |
Includes the canary module for experimental detection strategies |
./build/blockstm-sim version
./build/blockstm-sim version --long
./build/blockstm-sim version --long -o jsonmake test
make test-canaryThe default public build uses only upstream dependencies. SDK hook-enabled builds are intended for internal CI environments that inject the required SDK source through an untracked modfile.