-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add get-ask, set-ask retrieval commands #3886
Conversation
8c820ed
to
71e48f7
Compare
FYI I don't see this conflicting with actors upgrade so it's probably fine to merge |
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.
Just 2 nits
71e48f7
to
2aef7f7
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.
1 last thing, then LGTM
if err != nil { | ||
return err | ||
} | ||
ask.PricePerByte = abi.TokenAmount(v) |
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.
That's per byte, but above we the comment says per GiB.
We could change the comment, but i think it's better ux to actually have it be per GiB, so we just need to divide here by 1 << 30
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.
👍
Summary
Expose
MarketGetRetrievalAsk
,MarketSetRetrievalAsk
APIs via the CLI.The
set-ask
command allows you to modify any or all parameters of the current ask.Resolves #3843