Skip to content

Commit

Permalink
add trace addon (#1667)
Browse files Browse the repository at this point in the history
Co-authored-by: Yarom Swisa <[email protected] git config --global user.name Yarom>
  • Loading branch information
Yaroms and Yarom Swisa authored Sep 8, 2024
1 parent 8dde56e commit 4dcab99
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions cookbook/specs/fantom.json
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,93 @@
}
}
]
},
{
"enabled": true,
"collection_data": {
"api_interface": "jsonrpc",
"internal_path": "",
"type": "POST",
"add_on": "trace"
},
"apis": [
{
"name": "trace_block",
"block_parsing": {
"parser_arg": [
"0"
],
"parser_func": "PARSE_BY_ARG"
},
"compute_units": 200,
"enabled": true,
"category": {
"deterministic": true,
"local": true,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "trace_filter",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 200,
"enabled": true,
"category": {
"deterministic": false,
"local": true,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "trace_transaction",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 200,
"enabled": true,
"category": {
"deterministic": true,
"local": true,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
}
],
"verifications": [
{
"name": "trace",
"parse_directive": {
"function_template": "{\"jsonrpc\":\"2.0\",\"method\":\"trace_block\",\"params\":[\"latest\"],\"id\":1}",
"function_tag": "VERIFICATION",
"result_parsing": {
"parser_arg": [
"0"
],
"parser_func": "PARSE_BY_ARG"
},
"api_name": "trace_block"
},
"values": [
{
"expected_value": "*"
}
]
}
],
"extensions": []
}
]
},
Expand Down

0 comments on commit 4dcab99

Please sign in to comment.