-
Notifications
You must be signed in to change notification settings - Fork 3
refactor: Update outdated webapi endpoints and models #599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
c85007c
to
24e4b94
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, please implement/remove any added comment
@@ -32,6 +32,7 @@ type StateAnchor struct { | |||
Raw string `json:"raw" swagger:"desc(The raw data of the anchor (Hex)),required"` | |||
} | |||
|
|||
// TODO should be removed in the future |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why should it be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The user who want to examine the past versions of Anchor can use iota_tryGetPastObject
. And we already have a metric about StateAnchor
. Not sure how much useful that a metric of StateTransaction is
clients/apiextensions/assets.go
Outdated
"github.com/iotaledger/wasp/clients/apiclient" | ||
"github.com/iotaledger/wasp/packages/coin" | ||
"github.com/iotaledger/wasp/packages/isc" | ||
) | ||
|
||
// TODO: Handle Coins (other than base tokens) and Objects | ||
// TODO: Handle Objects |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might make sense to just have one balance route, which returns everything an account has. Coins and Objects. Then I'd make sense to add objects here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I rename this func for Balance ( Coins) only?
No description provided.