From ef24b7b884bed5f98bd9dff32add7ed714cb97d2 Mon Sep 17 00:00:00 2001 From: Elad Gildnur Date: Sun, 1 Dec 2024 11:36:09 +0200 Subject: [PATCH] Add tracking shards verification --- mainnet-1/specs/near.json | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/mainnet-1/specs/near.json b/mainnet-1/specs/near.json index 0319e6ddc..4c829ad61 100644 --- a/mainnet-1/specs/near.json +++ b/mainnet-1/specs/near.json @@ -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": [ @@ -565,4 +591,4 @@ ] }, "deposit": "10000000ulava" -} +} \ No newline at end of file