feat(iota-private-network): add benchmark mode and white flag env vars#11224
Open
piotrm50 wants to merge 2 commits intoconsensus/feat/transaction-certificateless-flow-featurefrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 6 Skipped Deployments
|
filipdulic
approved these changes
Apr 10, 2026
233e7b5 to
c126048
Compare
c126048 to
fc411c9
Compare
7b7b76e to
39550db
Compare
Open
6 tasks
fc411c9 to
15b02d4
Compare
39550db to
0dd1ad5
Compare
bingyanglin
approved these changes
Apr 13, 2026
15b02d4 to
35e82ca
Compare
8abd373 to
bb3a606
Compare
Add `-b` flag to bootstrap.sh that injects deterministic benchmark gas accounts (from GenesisConfig::benchmark_gas_keys) into the genesis template and generates a benchmark.keystore for use with the stress tool against a running Docker network. Add protocol config override env vars to docker-compose.yaml so the white flag (pcool) flow can be toggled without rebuilding images. Update README with benchmark mode usage instructions.
Add comment noting that the protocol config override env vars in docker-compose.yaml can be removed once white flag flow is enabled by default in the protocol config on develop.
bb3a606 to
52d5b95
Compare
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.
Description of change
Add tooling to support stress benchmarking against the Docker private network:
-bflag forbootstrap.sh: Injects deterministic benchmark gas accounts (fromGenesisConfig::benchmark_gas_keys()with seed 0) into the genesis template and generates abenchmark.keystorewith matching private keys. This allows thestressbinary to run against the Docker network in remote mode without needing faucet funding.White flag env vars in
docker-compose.yaml: AddsIOTA_PROTOCOL_CONFIG_OVERRIDE_ENABLEandIOTA_PROTOCOL_CONFIG_FEATURE_FLAGS_OVERRIDE_ENABLE_WHITE_FLAG_FLOWas passthrough env vars (defaulting to off). This allows toggling the white flag (pcool) flow without rebuilding Docker images.README update: Documents the benchmark mode usage with example stress commands.
Links to any relevant issues
Related to #11159
How the change has been tested