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: fix some issues #4962

Merged
merged 5 commits into from
Jun 23, 2022
Merged

fix: fix some issues #4962

merged 5 commits into from
Jun 23, 2022

Conversation

simlecode
Copy link
Collaborator

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

@simlecode simlecode requested a review from hunjixin June 22, 2022 08:49
@codecov-commenter
Copy link

Codecov Report

Merging #4962 (947b560) into prep/v1.6.0-rc2 (a0eb0a5) will decrease coverage by 0%.
The diff coverage is 5%.

❗ Current head 947b560 differs from pull request most recent head 5736197. Consider uploading reports for the commit 5736197 to get more accurate results

@@               Coverage Diff               @@
##           prep/v1.6.0-rc2   #4962   +/-   ##
===============================================
- Coverage               24%     24%   -1%     
===============================================
  Files                  594     594           
  Lines                64679   64693   +14     
===============================================
- Hits                 16098   16091    -7     
- Misses               46442   46460   +18     
- Partials              2139    2142    +3     

@hunjixin hunjixin merged commit 677fb92 into prep/v1.6.0-rc2 Jun 23, 2022
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>
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