-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Endpoint /account/:accountId/data/:keyPattern
returns inconsistent data and iterator
doesn't work
#13
Comments
e.g. this change has been deployed only recently 50f9fce and I don't think testnet RPC is up to date with it there might need to be some caching changes as well I think only contract calls / account views have been tested extensively so far @arrusev may you give more details on what's your use case for fetching state vs calling contract? |
I think even with 50f9fce there are more issues with contracts which have a lot of state changes for single key – I'm gonna prepare few more improvements to get it work but basically main reason that |
we want to extend the We face some issues with states bigger than 50kb and in that case, we want to use |
@arrusev are you still working on this? |
I am personally not involved in this anymore but other people are working on stuff related to |
I'm trying to fetch the most recent state of
priceoracle.testnet
contract but the response differs from the one that RPC request returns.How to reproduce:
The value
AgAAAABpBAAAAAAAAAACAAAAAGsEAAAAAAAAAAIAAAAAdgIAAAABaQoAAAAAAAAAAgAAAAFrCgAAAAAAAAACAAAAAXZaAAAAEwAAAHByaWNlb3JhY2xlLnRlc3RuZXQAAAAlpAAKi8oiBAAAAAAA
returned from the RPC call is missing within Fast-Near's response.Also i've tried to supply the
iterator
param in order to fetch the next page but the response is 1:1 the same as without iterator(it seems like the response is cached but not refetched).https://rpc.web4.testnet.page/account/priceoracle.testnet/data/STATE?encoding=base64&iterator=02643a70726963656f7261636c652e746573746e65743a535441544507e78d04
The text was updated successfully, but these errors were encountered: