Arronax icon indicating copy to clipboard operation
Arronax copied to clipboard

Searching by contract code is broken

Open murbard opened this issue 5 years ago • 4 comments

  1. 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.

  2. 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

  1. input type, with support for multiple entry-point syntax.
  2. storage type (with wildcards)
  3. code snippets in general (treating the script as text and being flexible with the whitespace when matching)

murbard avatar Jun 12 '19 13:06 murbard

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.

anonymoussprocket avatar Jun 12 '19 19:06 anonymoussprocket

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.

murbard avatar Jun 21 '19 09:06 murbard

Please reopen.

murbard avatar Jun 24 '19 07:06 murbard

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.

anonymoussprocket avatar Jun 26 '19 04:06 anonymoussprocket