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
maybe we can have a helper function:
type balances struct {
balance, collateral, utokenSupply, exchangeRate, borrowed
}
func getBalances(ctx, addr) balances
And use it across test functions :
before := getBalances(...)
...
after := getBalances(...)
Will make the code easier to read (and much shorter)
Extracted from review on
#1654
The text was updated successfully, but these errors were encountered: