Skip to content

Commit

Permalink
fix: PRT - Fix near "chunk" and "block" generic parsers (#1811)
Browse files Browse the repository at this point in the history
* Fix near generic parser

* Add the array params back
  • Loading branch information
shleikes authored Dec 1, 2024
1 parent 8d6763d commit ad24517
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cookbook/specs/near.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@
"rule": "=final || =optimistic",
"parse_type": "DEFAULT_VALUE"
},
{
"parse_path": ".params.block_id",
"parse_type": "BLOCK_HASH"
},
{
"parse_path": ".params.[0]",
"parse_type": "BLOCK_HASH"
Expand Down Expand Up @@ -141,6 +145,10 @@
},
"extra_compute_units": 0,
"parsers": [
{
"parse_path": ".params.chunk_id",
"parse_type": "BLOCK_HASH"
},
{
"parse_path": ".params.[0]",
"parse_type": "BLOCK_HASH"
Expand Down

0 comments on commit ad24517

Please sign in to comment.