Skip to content

Commit

Permalink
Merge pull request #249 from starkware-libs/call_on_pending
Browse files Browse the repository at this point in the history
add call on pending error (#249)
  • Loading branch information
ArielElp authored Nov 14, 2024
2 parents fe9acc4 + 84b9365 commit c94df2c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/starknet_ws_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
},
{
"$ref": "./api/starknet_api_openrpc.json#/components/errors/BLOCK_NOT_FOUND"
},
{
"$ref": "#/components/errors/CALL_ON_PENDING"
}
]
},
Expand Down Expand Up @@ -101,6 +104,9 @@
},
{
"$ref": "./api/starknet_api_openrpc.json#/components/errors/BLOCK_NOT_FOUND"
},
{
"$ref": "#/components/errors/CALL_ON_PENDING"
}
]
},
Expand Down Expand Up @@ -367,6 +373,10 @@
"TOO_MANY_BLOCKS_BACK": {
"code": 68,
"message": "Cannot go back more than 1024 blocks"
},
"CALL_ON_PENDING": {
"code": 69,
"message": "This method does not support being called on the pending block"
}
}
}
Expand Down

0 comments on commit c94df2c

Please sign in to comment.