-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description Rather than re-using the base JSON-RPC `TransactionFilter` type and having to respond that certain filters are unsupported, define our own compatible type which only contains the variants we do support. This way we will still return an invalid params error if someone tries to use an unsupported filter, but the filters we advertise in the schema will match what we can return a non-error response for. ## Test plan Existing tests.
- Loading branch information
Showing
4 changed files
with
49 additions
and
51 deletions.
There are no files selected for viewing
18 changes: 0 additions & 18 deletions
18
crates/sui-indexer-alt-e2e-tests/tests/jsonrpc/transactions/query/unsupported.move
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters