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

initial boost / fvm contract deals support #1183

Merged
merged 50 commits into from
Feb 23, 2023
Merged

initial boost / fvm contract deals support #1183

merged 50 commits into from
Feb 23, 2023

Conversation

nonsense
Copy link
Member

@nonsense nonsense commented Feb 14, 2023

This PR is adding a chain monitor for the DealProposalCreate event as described at:

Given that this is not a final FRC, this functionality might change in the near future.


By default the monitor is disabled, users should enable it by updating a few values in config.toml


Based on DealClient solidity contract at: https://github.com/nonsense/fevm-hardhat-kit/blob/nonsense/deal-client-contract/contracts/basic-deal-client/DealClient.sol


MUST FIX:

  • fix/review client mismatch

NICE TO HAVE:

  • fix CBOR generation task
  • once the FRC is somewhat stable add an itest

@nonsense nonsense removed the status/in-progress Status: In Progress label Feb 22, 2023
@nonsense nonsense marked this pull request as ready for review February 22, 2023 12:31
@nonsense nonsense requested a review from dirkmc February 22, 2023 12:37
Copy link
Contributor

@dirkmc dirkmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really amazing work! 🙌

cmd/boostd/run.go Show resolved Hide resolved
storagemarket/contract_deal_monitor.go Show resolved Hide resolved
storagemarket/contract_deal_monitor.go Outdated Show resolved Hide resolved
storagemarket/types/contract_deal_proposal_types.go Outdated Show resolved Hide resolved
Size: pv1.CarSize,
},
//TODO: maybe add to pv1?? RemoveUnsealedCopy: paramsAndVersion.RemoveUnsealedCopy,
RemoveUnsealedCopy: false,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dirkmc we should add RemoveUnsealedCopy into ParamsVersion1, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I think that makes sense 👍

@nonsense nonsense changed the title fvm hyperspace interop initial boost / fvm contract deals support Feb 23, 2023
@nonsense nonsense merged commit e1a3ad9 into main Feb 23, 2023
@nonsense nonsense deleted the nonsense/hyperspace branch February 23, 2023 14:24
@nonsense nonsense mentioned this pull request Feb 23, 2023
6 tasks
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