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

chore: Merge nv22 into master #11699

Merged
merged 74 commits into from
Mar 12, 2024
Merged

chore: Merge nv22 into master #11699

merged 74 commits into from
Mar 12, 2024

Conversation

rjan90
Copy link
Contributor

@rjan90 rjan90 commented Mar 8, 2024

Proposed Changes

  • Merge nv22 into master.

Checklist

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

  • Commits have a clear commit message.
  • PR title is in the form of of <PR type>: <area>: <change being made>
    • example: fix: mempool: Introduce a cache for valid signatures
    • PR type: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, test
    • area, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps
  • If the PR affects users (e.g., new feature, bug fix, system requirements change), update the CHANGELOG.md and add details to the UNRELEASED section.
  • New features have usage guidelines and / or documentation updates in
  • Tests exist for new functionality or change in behavior
  • CI is green

TippyFlits and others added 30 commits January 11, 2024 10:54
Addition of Network Version 22 skeleton
)

* Initial work supporting DDO pieces in lotus-miner

* sealing: Update pipeline input to operate on UniversalPiece

* sealing: Update pipeline checks/sealing states to operate on UniversalPiece

* sealing: Make pipeline build with UniversalPiece

* move PieceDealInfo out of api

* make gen

* make sealing pipeline unit tests pass

* fix itest ensemble build

* don't panic in SectorsStatus with deals

* stop linter from complaining about checkPieces

* fix sector import tests

* mod tidy

* sealing: Add logic for (pre)committing DDO sectors

* sealing: state-types with method defs

* DDO non-snap pipeline works(?), DDO Itests

* DDO support in snapdeals pipeline

* make gen

* update actor bundles

* update the gst market fix

* fix: chain: use PreCommitSectorsBatch2 when setting up genesis

* some bug fixes

* integration working changes

* update actor bundles

* Make TestOnboardRawPieceSnap pass

* Appease the linter

* Make deadlines test pass with v12 actors

* Update go-state-types, abstract market DealState

* make gen

* mod tidy, lint fixes

* Fix some more tests

* Bump version in master

Bump version in master

* Make gen

Make gen

* fix sender

* fix: lotus-provider: Fix winning PoSt

* fix: sql Scan cannot write to an object

* Actually show miner-addrs in info-log

Actually show miner-addrs in lotus-provider info-log

* [WIP] feat: Add nv22 skeleton

Addition of Network Version 22 skeleton

* update FFI

* ddo is now nv22

* make gen

* temp actor bundle with ddo

* use working go-state-types

* gst with v13 market migration

* update bundle, builtin.MethodsMiner.ProveCommitSectors2 -> 3

* actually working v13 migration, v13 migration itest

* Address review

* sealing: Correct DDO snap pledge math

* itests: Mixed ddo itest

* pipeline: Fix sectorWeight

* sealing: convert market deals into PAMs in mixed sectors

* sealing: make market to ddo conversion work

* fix lint

* update gst

* Update actors and GST to lastest integ branch

* commit batcher: Update ProveCommitSectors3Params builder logic

* make gen

* use builtin-actors master

* ddo: address review

* itests: Add commd assertions to ddo tests

* make gen

* gst with fixed types

* config knobs for RequireActivationSuccess

* storage: Drop obsolete flaky tasts

---------

Co-authored-by: Jennifer Wang <[email protected]>
Co-authored-by: Aayush <[email protected]>
Co-authored-by: Shrenuj Bansal <[email protected]>
Co-authored-by: Phi <[email protected]>
Co-authored-by: Andrew Jackson (Ajax) <[email protected]>
Co-authored-by: TippyFlits <[email protected]>
This:

1. Adds nv22 support.
2. Updates the message tracing format.

Co-authored-by: Steven Allen <[email protected]>
Use latest nv22 go-state-types version with matching update
Update upgrade heights

Co-Authored-By: Steven Allen <[email protected]>
Update epoch after nv22 DRAND switch
Make the codename for the Drand-change inline with Dragon style.
Make gen and UpgradePhoenixHeight in butterfly and local devnet to be in line with Calibration and Mainnet
chore: Set upgrade heights and change codename
Update epoch heights
…oned-pl-bootstrap-nodes

Remove PL operated bootstrap nodes from mainnet.pi
…laims (#11631)

* new verireg methods

* update changelog and add itest

* update itest and cli

* update new method's support till v9

* remove gateway APIs

* fix cli internal var names
* feat: api: improve the correctness of Eth's trace_block (#11609)

* Improve the correctness of Eth's trace_block

- Improve encoding/decoding of parameters and return values:
  - Encode "native" parameters and return values with Solidity ABI.
  - Correctly decode parameters to "create" calls.
  - Use the correct (ish) output for "create" calls.
  - Handle all forms of "create".
- Make robust with respect to reverts:
  - Use the actor ID/address from the trace instead of looking it up in
    the state-tree (may not exist in the state-tree due to a revert).
  - Gracefully handle failed actor/contract creation.
- Improve performance:
  - We avoid looking anything up in the state-tree when translating the
    trace, which should significantly improve performance.
- Improve code readability:
  - Remove all "backtracking" logic.
  - Use an "environment" struct to store temporary state instead of
    attaching it to the trace.
- Fix random bugs:
  - Fix an allocation bug in the "address" logic (need to set the
    capacity before modifying the slice).
  - Improved error checking/handling.
- Use correct types for `trace_block` action/results (create, call, etc.).
  - And use the correct types for Result/Action structs instead of reusing the same "Call" action every time.
- Improve error messages.

* Make gen

Make gen

---------

Co-authored-by: Steven Allen <[email protected]>
chore: deps: update to go-state-types v13.0.0-rc.1
feat: drand quicknet: allow scheduling drand quicknet upgrade before nv22 on 2k devnet
chore: deps: update to go-state-types v13.0.0-rc.2
build/version.go Outdated Show resolved Hide resolved
Update version in master to v1.27.0-dev
@rjan90 rjan90 mentioned this pull request Mar 11, 2024
8 tasks
cli/filplus.go Outdated Show resolved Hide resolved
node/impl/full/dummy.go Outdated Show resolved Hide resolved
Copy link
Contributor

@magik6k magik6k left a comment

Choose a reason for hiding this comment

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

Other than the one nit and the definitely needed #11704 this looks good

@jennijuju
Copy link
Member

Other than the one nit and the definitely needed #11704 this looks good

lets include this when rc2 is shipped and we do the merge back

Co-authored-by: Łukasz Magiera <[email protected]>
Adjust ListClaimsCmd according to review
@rjan90 rjan90 mentioned this pull request Mar 12, 2024
8 tasks
@rjan90 rjan90 merged commit 6f7498b into master Mar 12, 2024
90 checks passed
@rjan90 rjan90 deleted the chore-nv22-to-master branch March 12, 2024 09:34
@rjan90 rjan90 mentioned this pull request Mar 13, 2024
8 tasks
rjan90 added a commit that referenced this pull request May 9, 2024
Adjust ListClaimsCmd to filter out the expired claims. Ref: #11699 (comment)
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

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.

9 participants