-
Notifications
You must be signed in to change notification settings - Fork 465
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
Persisting Storage Deals #1526
Persisting Storage Deals #1526
Conversation
658ca35
to
048df61
Compare
6204fdf
to
7c5a644
Compare
9e6b34a
to
81d3361
Compare
b5c0deb
to
aea99b5
Compare
db915df
to
8e69943
Compare
afe35df
to
93c5a5a
Compare
fe07d1c
to
b12bc5d
Compare
b12bc5d
to
45c8593
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.
Nice, just one major request (lots of little ones).
Also: can you tell me the top 2-ish things that slowed you down on this? Was it a lot of learning curve or something else?
@phritz This PR is ready with the following limitations:
|
Hopefully adequately addressed feedback
3f4945d
to
92d0078
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.
Approving because this PR doesn't make things worse, and we need to clear the slate to address the slew of issues referenced by #1561. @rkowalick has agreed to pick up that issue next as well as add comments to #1561 describing the nuances of why the storage market is low quality learned from this PR.
I think we should not skip tests, because the pain of flaky tests will help the team prioritizing getting the storage market to a reasonable quality.
FYI I had one blocking comment that was never fully resolved: filing an issue on refmt. Note that I think there is already an issue for this, found this referenced in the miner actor code: polydawn/refmt#35. I think we should ask @warpfork to fix this in refmt. |
92d0078
to
2f547e3
Compare
FYI: The referenced refmt issue also impacts the miner actor's |
7a6d5bc
to
0c7dd90
Compare
0c7dd90
to
84ea467
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.
please keep an eye out for increased flakiness from this work
@@ -99,6 +99,14 @@ func (nd *nodeDaemon) Init(ctx context.Context, opts ...api.DaemonInitOpt) error | |||
} | |||
} | |||
|
|||
if cfg.DefaultAddress != (address.Address{}) { |
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.
does https://github.com/filecoin-project/go-filecoin/blob/a3899d7ae872361940fc18dce6b57bbca9996270/plumbing/msg/sender.go#L123 need to change? should this code be using it?
We persist deals to the disk to allow the continuation of deals after nodes are restarted. Additionally, we add: - A default address option to init - The ability to start, stop, and restart a test daemon Co-authored-by: rkowalick <[email protected]>
84ea467
to
18f1ad4
Compare
A change in filecoin-project/venus#1526 renamed this field from `Proposal` to `ProposalCid`
Resolves #1446
We persist deals to the disk to allow the continuation of deals after
nodes are restarted.
Additionally, we add: