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

new method for import published deal #4832

Merged
merged 4 commits into from
Mar 30, 2022
Merged

Conversation

hunjixin
Copy link
Contributor

Related Issues

Proposed Changes

Additional Info

Checklist

Before you mark the PR ready for review, please make sure that:

  • All commits have a clear commit message.
  • The PR title is in the form of of <PR type>: <#issue number> <area>: <change being made>
    • example: fix: #1234 mempool: Introduce a cache for valid signatures
    • PR type: fix, feat, INTERFACE BREAKING CHANGE, CONSENSUS BREAKING, build, chore, ci, docs, misc, perf, refactor, revert, style, test
    • area: venus, venus-messager, venus-miner, venus-gateway, venus-auth, venus-market, venus-sealer, venus-wallet, venus-cluster, api, chain, state, vm, data transfer, mempool, message, block production, multisig, networking, paychan, proving, sealing, wallet
  • This PR has tests for new functionality or change in behaviour
  • If new user-facing features are introduced, clear usage guidelines and / or documentation updates should be included in venus docs or Discussion Tutorials.
  • CI is green

@hunjixin hunjixin marked this pull request as draft March 16, 2022 03:41
@codecov-commenter
Copy link

codecov-commenter commented Mar 16, 2022

Codecov Report

Merging #4832 (cf8e973) into master (82860af) will increase coverage by 0%.
The diff coverage is 0%.

❗ Current head cf8e973 differs from pull request most recent head 4b8d717. Consider uploading reports for the commit 4b8d717 to get more accurate results

@@          Coverage Diff           @@
##           master   #4832   +/-   ##
======================================
  Coverage      25%     25%           
======================================
  Files         574     574           
  Lines       61937   61947   +10     
======================================
+ Hits        15725   15741   +16     
+ Misses      44062   44056    -6     
  Partials     2150    2150           

@diwufeiwen diwufeiwen force-pushed the feat/import_published_deal branch from 811c837 to 74a17cb Compare March 29, 2022 08:39
@diwufeiwen diwufeiwen marked this pull request as ready for review March 30, 2022 08:35
@diwufeiwen diwufeiwen merged commit b718d06 into master Mar 30, 2022
simlecode pushed a commit that referenced this pull request Apr 26, 2022
* new method for import published deal

* alias piecestatus payloadsize

* change field type

* change api arg type
hunjixin added a commit that referenced this pull request Jun 23, 2022
* chore: dep: update ffi & go.mod (#4762)

* update ffi & go.mod

* imp fvm

* reward message add gas limit

* upgrade ffi

* imp VerifyConsensusFault

* remove method: SetCurrentEpoch

* time message execution

* add context

* Use either venus VM or FVM consistently

* support network 15

* fix lint

* Update FFI: fix cargo.lock

* rename vm.VMI to vm.Interface

* Rename the Venus VM to LegacyVM

* update ffi

* remove used code

* update ffi

* update ffi with actor v7.1.0

* update version to v1.3.0-rc1

* fix test

* Fix the epoch used for gas in the message pool & validation

* Support paych funding (a.k.a. fast paid retrieval)

* VM: Refactor pricelist to be based on network versions

* implement 'net ping' command

* fix paych test

* implement event observer deregister method

* FvmExtern add network version

* add finality check for consensus faults

* update ffi

* update version to v1.3.0-rc2

* add 1475 bootstrapper

* FVM: Support exectraces

* Feat: API: Implement StateLookupRobustAddress

* new method for import published deal (#4832)

* new method for import published deal

* alias piecestatus payloadsize

* change field type

* change api arg type

* MarketAPI: improve AssignUnPackedDeals API (#4849)

Co-authored-by: 一页素书 <[email protected]>

* Fix: compile error caused by unreachable package (#4854)

* fix: upgrade specs-storage to v0.2.2, which currently import a runreachable version of spec-actors

* fix: api: Make MarketListDeals and DealsList return pointers for MarketDeal

* move fvm.go to single package

* generate v8 actor & add fork upgrade field

* builtin actor bundles

* update actors

* use v8 DealProposal

* move NetworkType to venus-shared

* add builtin actors builder

* vm: add actor error backtraces to FVM

* reset interopnet

* fetch testing-fwp bundle

* fix builtin actors

* update interopnet.car

* fix builtin actors

* update StatApplied when fvm apply message

* propagate gas outputs from fvm + integrate safer ffi

* Gas estimation: Overestimate based on (actor, method) tuples

* dynamic loading of builtin actor bundles

* reset interopnet

* fix: mpool: avoid deadlock on unsubscribe

* update go.mod

* fix builtin actors bundle

* Use new go-state-types state accessors

* fix: genesis: only sign preseal deals after v16

* add the network name to the bundle key in the datastore

* Reset interopnet

* build: add interopnet info

* venus-shared: update builtin-actors to dev/20220520

* refactor: use embed instead of go-bindata

* config: migrate config

* fix: vm: support raw blocks in chain export

* feat: vm: drop nv14 support from the FVM

* fix: vm: always set the root message in execution traces in the FVM

* fix: Update builtin-actors to dev/20220524

* fix: Ensure v8 bundle is loaded during migration

* build: Reset interopnet

* fix: correctly handle null blocks when detecting an expensive fork

* fix: update LatestVersion to 8

* upgrade go-fil-market

* chore: dep: update go-fil-market

* Fix: drand: calculation of round from Filecoin epochs

* feat: build: Check for manifest CID while loading bundle

* build: Reset interopnet

* cmd: print manifest CID from a car file

* build: Add disable flag for Skyr upgrade

* fvm: fail if implicit message fails

* chore: update ffi

* chore: update builtin actor to dev/20220527

* build: Reset interopnet

* chore: bundle: butterfly manifest cid & epoch

* cmd: add cli to get the actor cid forthe current network version

* fix: move actor key to a const array

* revert: VM: Refactor pricelist to be based on network versions

* fix: fill trace info

* chore: upgrade venus-auth

* fix: fvm: remove unused nv field

* ci: fix test

* ci: fix lint

* chore: vm: Rename tracing envvar to VENUS_VM_ENABLE_TRACING

* fix: Cleanup LoadBundle

* fix: build: use the genesis network version when creating a network

* chore: upgrade deps

* ci: fix test and fix lint

* build: bump version to v1.6.0-rc1

* chore: tidy go.mod

* chore: rename RepoPath to BundleRepoPath

* Fix: state: Set exec trace subcalls to nil when appropriate

* ci: lint: use fmt.Errorf

* fix: not set BUNDLE_REPO_PATH

* refactor: rename VENUS_USE_FVM_EXPERIMENTAL

* fix: build: fix 2k build params

* fix: print detailed log when executing a message failed

* refactor: actor bundling system

* fix: fix pack script and add calibrationnet to bundle

* fix: really make macos compatible

* chore: update deps

* chore: upgrade to 8.0.0-rc.1 bundle & manifest

* chore: update calib v16 skyr upgrade

* chore: mod tidy

* fix: install goimports & make compatible-all

* fix: fix some issues (#4962)

* chore: more estimated gas logs

* fix: remove the network version parameter

* fix: v1 api support BeaconGetEntry

* chore: rename car to genesis-car

* fix: deprecate three functions

* fix: remove goimports (#4963)

* ci: uninstall goimports

Co-authored-by: Mike <[email protected]>
Co-authored-by: Tiance <[email protected]>
Co-authored-by: 一页素书 <[email protected]>
Co-authored-by: zl <[email protected]>
@zl03jsj zl03jsj deleted the feat/import_published_deal branch July 14, 2022 09:49
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