You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5
5
6
6
> Note: this file did not exist until after `v0.5.6`.
7
7
8
+
## [Unreleased]
9
+
10
+
- move default data dir to `$XDG_STATE_HOME/contender` (`~/.local/state/contender`), with automatic migration from legacy `~/.contender` ([#460](https://github.com/flashbots/contender/issues/460))
- added `--send-raw-tx-sync` flag to `spam` and `campaign` for `eth_sendRawTransactionSync` support ([#459](https://github.com/flashbots/contender/pull/459))
Run contender in a container with persistent state:
46
46
47
47
```bash
48
-
docker run -it -v /tmp/.contender:/root/.contender \
48
+
docker run -it -v /tmp/.contender:/root/.local/state/contender \
49
49
contender spam --tps 20 -r $RPC transfers
50
50
```
51
51
52
-
> `-v` maps `/tmp/.contender` on the host machine to `/root/.contender` in the container, which contains the DB; used for generating reports and saving contract deployments.
52
+
> `-v` maps `/tmp/.contender` on the host machine to `/root/.local/state/contender` in the container, which contains the DB; used for generating reports and saving contract deployments.
Copy file name to clipboardExpand all lines: crates/cli/CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [Unreleased]
9
+
10
+
- move default data dir from `~/.contender` to `$XDG_STATE_HOME/contender` (defaults to `~/.local/state/contender`), with automatic migration of existing data ([#460](https://github.com/flashbots/contender/issues/460))
- If `<campaign_id>` is omitted, the latest campaign is used.
99
99
- Generates per-run HTML for all runs in the campaign.
100
-
- Writes `campaign-<campaign_id>.html` and `campaign-<campaign_id>.json` under `~/.contender/reports/` with links, aggregate metrics, and per-stage/per-scenario rollups.
100
+
- Writes `campaign-<campaign_id>.html` and `campaign-<campaign_id>.json` under `~/.local/state/contender/reports/` with links, aggregate metrics, and per-stage/per-scenario rollups.
101
101
- If you pass `--report` to `contender campaign ...`, contender will also generate a report for the run-id range at the end of the campaign.
102
102
- If transaction logs are incomplete for any run (e.g., tracing/storage gaps), the campaign report will use stored run metadata for totals/durations and will display a notice; error counts may be under-reported in that case.
103
103
- When a stage has multiple `[[spam.stage.mix]]` entries, do not combine it with `--override-senders`; using a single sender across mixes is rejected because it would cause nonce conflicts.
0 commit comments