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

feat: new api ReleaseDeals #305

Merged

Conversation

0x5459
Copy link
Collaborator

@0x5459 0x5459 commented Mar 23, 2023

关联的Issues (Related Issues)

close filecoin-project/venus#5853

改动 (Proposed Changes)

新增 ReleaseDeals 接口,用于释放通过 AssignUnPackedDeals 接口分配的订单

附注 (Additional Info)

自查清单 (Checklist)

在你认为本 PR 满足被审阅的标准之前,需要确保 / Before you mark the PR ready for review, please make sure that:

  • 符合Venus项目管理规范中关于PR的相关标准 / The PR follows the PR standards set out in the Venus project management guidelines
  • 具有清晰明确的commit message / All commits have a clear commit message.
  • 包含相关的的测试用例或者不需要新增测试用例 / This PR has tests for new functionality or change in behaviour or not need to add new tests.
  • 包含相关的的指南以及文档或者不需要新增文档 / This PR has updated usage guidelines and documentation or not need
  • 通过必要的检查项 / All checks are green

@codecov-commenter
Copy link

codecov-commenter commented Mar 23, 2023

Codecov Report

Merging #305 (08e0278) into master (e68b73a) will increase coverage by 0.18%.
The diff coverage is 38.72%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #305      +/-   ##
==========================================
+ Coverage   22.70%   22.89%   +0.18%     
==========================================
  Files         180      180              
  Lines       20561    20733     +172     
==========================================
+ Hits         4669     4747      +78     
- Misses      15116    15213      +97     
+ Partials      776      773       -3     
Flag Coverage Δ
unittests 22.89% <38.72%> (+0.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
api/impl/venus_market.go 0.00% <0.00%> (ø)
cli/retrieval-deals.go 0.00% <0.00%> (ø)
cli/storage-deals.go 4.88% <0.00%> (-0.98%) ⬇️
models/repo/repo.go 100.00% <ø> (ø)
retrievalprovider/provider.go 0.00% <0.00%> (ø)
storageprovider/deal_assigner.go 0.00% <0.00%> (ø)
storageprovider/storage_provider.go 33.33% <0.00%> (ø)
models/mysql/storage_deal.go 68.98% <73.91%> (+0.39%) ⬆️
models/mysql/retrieval_deal.go 71.97% <80.00%> (+0.84%) ⬆️
models/badger/retrieval_deal.go 75.29% <85.71%> (+12.95%) ⬆️
... and 1 more

... and 1 file with indirect coverage changes

Copy link
Contributor

@diwufeiwen diwufeiwen left a comment

Choose a reason for hiding this comment

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

LGTM

@diwufeiwen diwufeiwen merged commit 012d2aa into ipfs-force-community:master Mar 24, 2023
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.

[venus-market] add ReleaseDeal method / 新增释放订单接口
3 participants