Skip to content
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

Fix proposal CID in lotus-miner storage-deals list #2815

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

hannahhoward
Copy link
Contributor

Goals

Fix a bug where the deal CID output in lotus-miner storage-deals list was incorrect.

Implementation

The deal CID is the CID of the signed deal proposal. Previously, we were taking the CID of just the proposal itself, as opposed to the signed proposal, which, due to the additional bytes is different. We already have the CID for the signed proposal directly in the deal struct so we just use that.

update storage-deals list command to output the correct proposal CID. previously we were taking the
CID without the client signature, which will not be the same CID
@hannahhoward hannahhoward changed the base branch from master to next August 4, 2020 15:25
@magik6k magik6k merged commit 1feec64 into next Aug 4, 2020
@magik6k magik6k deleted the fix/storage-deals-prop-cid branch August 4, 2020 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants