Describe the bug
The next (develop branch) version of the starknet.js doesn't properly handle RPC spec v0.8.1, the culprit is that the pre_confirmed block tag is not translated to the v0.8.1 understandable pending, causing the requests with pre_confirmed block tag to fail.
To Reproduce
Use the library (develop branch) with any RPC which supports the 0.8.1 spec and call any method with the pre_confirmed block tag - i.e. getNonceForAddress()
Expected behavior
The library should properly handle talking to the RPC v0.8.1 spec
Describe the bug
The
next(develop branch) version of the starknet.js doesn't properly handle RPC spec v0.8.1, the culprit is that thepre_confirmedblock tag is not translated to the v0.8.1 understandablepending, causing the requests withpre_confirmedblock tag to fail.To Reproduce
Use the library (develop branch) with any RPC which supports the 0.8.1 spec and call any method with the
pre_confirmedblock tag - i.e.getNonceForAddress()Expected behavior
The library should properly handle talking to the RPC v0.8.1 spec