You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're working on improving the performance of /stake/delegators/{delegatorAddr} in #1133.
To support this work we need a simple unit test. Currently there is a test called TestBonding which is 84 lines of code and very complex. We need a test that:
is simple
creates its own node and Gaia Lite server
creates a state of one account delegating to another, nothing else
creates the state using the Go API, not REST calls
creates a deterministic state that's the same in every test, including the keys/addresses of both accounts
located in x/stake/client/rest (e.g., rest_test.go, near the code it's testing)
The text was updated successfully, but these errors were encountered:
I would advice defering any tests like this, until the SDK team has delivered a framework for testing the enables us to easyly do all those things. We can get on their nerves about this, but I don't think we should be developing this.
We're working on improving the performance of /stake/delegators/{delegatorAddr} in #1133.
To support this work we need a simple unit test. Currently there is a test called TestBonding which is 84 lines of code and very complex. We need a test that:
x/stake/client/rest
(e.g.,rest_test.go
, near the code it's testing)The text was updated successfully, but these errors were encountered: