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: compile error caused by unreachable package #4854

Merged
merged 7 commits into from
Apr 20, 2022

Conversation

zl03jsj
Copy link
Contributor

@zl03jsj zl03jsj commented Apr 20, 2022

Proposed Changes

  1. 由于直接或者间接引用的package中, 出现一些包对应的commit被清理, 导致venus编译失败的问题.
    2.由于对ipfs/go-path的依赖关系的地方比较多, 所以将老版本的实现移植到本地(做法和lotus一样)

@codecov-commenter
Copy link

codecov-commenter commented Apr 20, 2022

Codecov Report

Merging #4854 (64bc669) into master (5097537) will increase coverage by 0%.
The diff coverage is 23%.

@@           Coverage Diff           @@
##           master   #4854    +/-   ##
=======================================
  Coverage      25%     25%            
=======================================
  Files         574     576     +2     
  Lines       61892   62008   +116     
=======================================
+ Hits        15730   15760    +30     
- Misses      44011   44097    +86     
  Partials     2151    2151            

@hunjixin hunjixin merged commit 4d56566 into master Apr 20, 2022
simlecode pushed a commit that referenced this pull request Apr 26, 2022
* fix: upgrade specs-storage to v0.2.2, which currently import a runreachable version of spec-actors
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: 一页素书 <2931107265@qq.com>

* 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 <41407352+hunjixin@users.noreply.github.com>
Co-authored-by: Tiance <40375298+diwufeiwen@users.noreply.github.com>
Co-authored-by: 一页素书 <2931107265@qq.com>
Co-authored-by: zl <zl03jsj@163.com>
@zl03jsj zl03jsj deleted the fix/import-unreachable-package branch July 14, 2022 09:50
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