Skip to content

Conversation

@LesnyRumcajs
Copy link
Contributor

Implemented tests from here

  • verify_deal_and_get_deal_weight_for_unverified_deal_proposal
  • verify_deal_and_get_deal_weight_for_verified_deal_proposal
  • verification_and_weights_for_verified_and_unverified_deals
  • fail_when_caller_is_not_a_storage_miner_actor
  • fail_when_deal_proposal_is_not_found
  • fail_when_caller_is_not_the_provider
  • fail_when_current_epoch_is_greater_than_proposal_start_epoch
  • fail_when_deal_end_epoch_is_greater_than_sector_expiration
  • fail_when_the_same_deal_id_is_passed_multiple_times

@LesnyRumcajs LesnyRumcajs force-pushed the market-actor-tests-p8 branch from 0da2ee8 to 3c077ff Compare May 5, 2022 14:16
Copy link
Contributor

@ZenGround0 ZenGround0 left a comment

Choose a reason for hiding this comment

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

Good stuff

deal_ids[0]
}

pub fn generate_and_publish_verified_deal(
Copy link
Contributor

Choose a reason for hiding this comment

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

name should include the fact that we are adding funds.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's basically a copy of the function above with the verified_deal setting. I'd say we should keep the name or rename the one above as well. What do you think @ZenGround0 ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah my bad, keeping it this way is ok

@LesnyRumcajs LesnyRumcajs force-pushed the market-actor-tests-p8 branch from 3c077ff to ae7b7ae Compare May 5, 2022 14:40
@LesnyRumcajs LesnyRumcajs merged commit 9573015 into master May 5, 2022
@LesnyRumcajs LesnyRumcajs deleted the market-actor-tests-p8 branch May 5, 2022 15:29
snissn pushed a commit to snissn/builtin-actors that referenced this pull request Apr 11, 2025
* fip-0031: prepare for move to Last Call.

* define manifest data type for FIP 0031 (filecoin-project#329)

Co-authored-by: raulk <raul@protocol.ai>

Co-authored-by: vyzo <vyzo@hackzen.org>
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.

3 participants