Arronax
Arronax copied to clipboard
Searching by contract code is broken
-
When filtering accounts based on their script, the current interface enumerates all existing scripts as options. This is already unwieldy and will become unmanageable in the future.
-
Even as is, the feature doesn't work. It fails to find the contracts that matched the specific code snippet I selected (it's the one contract with a string input and string storage).
I would suggest the ability to filter / search based on
- input type, with support for multiple entry-point syntax.
- storage type (with wildcards)
- code snippets in general (treating the script as text and being flexible with the whitespace when matching)
I'm not sure what you mean in point 1.
For point 2, consider these two reports:
There is a bug seemingly with punctuation like (Pair {} 4)
returns no results, but it should.
What I mean by point 1 is that the drop down menu will show you all existing contract codes. This is impractical now, imagine what will happen when there are thousands and thousands of different contracts?
Both the link you provided just show an endless spinner.
Please reopen.
I updated the links, we had a release that among other things changes the format of the share URL.
For the first query I filtered by Address
starts with
KT1
and Script
like
CDR;
. In the second one, it's Address
starts with
KT1
and Storage
like
Pair
.
Note that due to the new release, you may need to force-refresh the page once it loads, or use a private session.