-
Notifications
You must be signed in to change notification settings - Fork 99
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
Contract Explorer: Contract storage filters #1233
base: main
Are you sure you want to change the base?
Conversation
…contract-storage-filters
Preview is available here: |
keyJson: i.key ? decodeScVal(i.key) : undefined, | ||
valueJson: i.value ? decodeScVal(i.value) : undefined, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to decode key
and value
XDR to get filter values.
Preview is available here: |
Preview is available here: |
|
value
filters? I'm using object keys from decodedvalue
XDR, and we might end up with numbers. For example,CAS3FL6TLZKDGGSISDBWGGPXT3NRR4DYTZD7YOD3HMYO6LTJUVGRVEAM
(Mainnet).key
filters are much more predictable thanvalue
, which can be pretty much anything.CDVQVKOY2YSXS2IC7KN6MNASSHPAO7UN2UR2ON4OI2SKMFJNVAMDX6DP
(Mainnet) has a very long list ofvalue
filters.CDVQVKOY2YSXS2IC7KN6MNASSHPAO7UN2UR2ON4OI2SKMFJNVAMDX6DP
(Mainnet) with 6k+ records at this time, seems OK. It takes a few seconds on the initial load, and then the loader is displayed when sorting. But the UI doesn't feel sluggish; it just takes longer to load the result.