Skip to content

Commit

Permalink
Add tracking shards verification to near spec (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroms authored Dec 1, 2024
2 parents b7c9f15 + ef24b7b commit 596318f
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion mainnet-1/specs/near.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,32 @@
"expected_value": "9820210"
}
]
},
{
"name": "tracking-shards",
"parse_directive": {
"function_template": "{\"jsonrpc\":\"2.0\",\"id\":\"dontcare\",\"method\":\"query\",\"params\":{\"request_type\":\"view_account\",\"finality\":\"final\",\"account_id\":\"floor.is.lava\"}}",
"function_tag": "VERIFICATION",
"parsers": [
{
"parse_path": ".error.cause.name",
"value": "UNKNOWN_ACCOUNT",
"parse_type": "RESULT"
},
{
"parse_path": ".result.amount",
"value": "*",
"parse_type": "RESULT"
}
],
"api_name": "query"
},
"values": [
{
"expected_value": "*",
"severity": "Warning"
}
]
}
],
"extensions": [
Expand Down Expand Up @@ -565,4 +591,4 @@
]
},
"deposit": "10000000ulava"
}
}

0 comments on commit 596318f

Please sign in to comment.