latestOpenAPI 3.0.02026-08-138371125.7 KB
707a88e0b355
Test
Store test result data
Accepts the JSON body produced by Charon when running charon test … --publish: enr, sig, and data. Authentication is not a Bearer token: TestEnrGuard verifies that sig is a valid secp256k1 ECDSA signature (base64, as emitted by Go json.Marshal on the signature bytes) over the SSZ hash of JSON.stringify(data) for the public key embedded in enr. Only Content-Type: application/json is required.
post/v1/test
Request body
Example request
{
"data": {
"charon_peers": {
"category_name": "mev",
"execution_time": "636.089125ms",
"score": "A",
"targets": {}
},
"beacon_node": {
"category_name": "mev",
"execution_time": "636.089125ms",
"score": "A",
"targets": {}
},
"validator_client": {
"category_name": "mev",
"execution_time": "636.089125ms",
"score": "A",
"targets": {}
},
"mev": {
"category_name": "mev",
"execution_time": "636.089125ms",
"score": "A",
"targets": {}
},
"infra": {
"category_name": "mev",
"execution_time": "636.089125ms",
"score": "A",
"targets": {}
}
},
"enr": "enr:-IS4QAnExamplePlaceholderReplaceWithRealEnrFromCharon",
"sig": "AbCdEfGhIjKlMnOpQrStUvWxYz0123456789abcdefghijklmnoPQRSTUVWxyZ"
}Response
Test result data stored successfully