Skip to content

Commit e4209b0

Browse files
committed
chore(): update readme file
1 parent c7ec8b1 commit e4209b0

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,47 @@ ACURAST_MNEMONIC=abandon abandon about ...
166166
- Second element: The address of the original deployer
167167
- Third element: The deployment ID
168168
- Example: `["Acurast", "5CiPPseXPECbkjWCa6MnjNokrgYjMqmKndv2rSnekmSK2DjL", 123456]`
169+
- `benchmarkFilters` (optional): Minimum benchmark requirements used to filter eligible processors.
170+
- `minMemoryBytes`: Minimum total RAM in bytes.
171+
- `minCpuSingleCoreScore`: Minimum single-core CPU score.
172+
- `minStorageBytes`: Minimum total storage in bytes.
173+
- `minStorageIoScore`: Minimum storage I/O score.
174+
- `poolIds` (advanced): Override compute-pallet benchmark pool IDs.
175+
176+
### Benchmark Filters
177+
178+
You can constrain deployments to processors that satisfy minimum benchmark values.
179+
Benchmark filters can be configured in `acurast.json` and/or passed via deploy flags.
180+
181+
Config example:
182+
183+
```json
184+
{
185+
"projects": {
186+
"example": {
187+
"benchmarkFilters": {
188+
"minMemoryBytes": 4000000000,
189+
"minCpuSingleCoreScore": 1000,
190+
"minStorageBytes": 64000000000,
191+
"minStorageIoScore": 500
192+
}
193+
}
194+
}
195+
}
196+
```
197+
198+
Deploy flag examples (can be combined):
199+
200+
```bash
201+
acurast deploy --min-memory 4GB --min-cpu-score 1000 --min-storage 64GB --min-io-score 500
202+
```
203+
204+
Notes:
205+
206+
- CLI flags merge with `benchmarkFilters` from `acurast.json`.
207+
- `--min-memory` and `--min-storage` accept human-readable byte sizes (for example `4GB`, `512MiB`).
208+
- During deploy, matcher `check` validates whether enough processors match at the current reward.
209+
- Per-processor address lists are shown from on-chain `acurastMarketplace.assignedProcessors` after match.
169210

170211
#### .env
171212

0 commit comments

Comments
 (0)