-
Notifications
You must be signed in to change notification settings - Fork 18
/
schema.json
38 lines (38 loc) 路 1.28 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://ziyadedher.com/benchmark.evm-bench.schema.json",
"title": "emv-bench benchmark metadata",
"description": "Describes an individual benchmark in the evm-bench system.",
"type": "object",
"properties": {
"name": {
"description": "Unique name for this benchmark.",
"type": "string"
},
"solc-version": {
"description": "Version of the `solc` compiler to use. This should correspond to a Docker tag.",
"type": "string",
"examples": ["stable", "0.4.26"],
"default": "stable"
},
"num-runs": {
"description": "Number of runs of this benchmark. Balance based on how long the benchmark takes.",
"type": "integer",
"default": 10
},
"contract": {
"description": "Path to the contract to deploy and benchmark. Can be relative to the metadata.",
"type": "string"
},
"build-context": {
"description": "Path to the folder to use as context to build this benchmark. Can be relative to the metadata.",
"type": "string"
},
"calldata": {
"description": "Calldata hex to use when calling the contract to conduct the benchmark.",
"type": "string",
"default": ""
}
},
"required": ["name", "contract"]
}