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

test: actors: manual CC onboarding and proving integration test #12017

Merged
merged 36 commits into from
Jun 6, 2024

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented May 20, 2024

WIP, working toward #12009

Starting here with CC onboarding by manually crafting messages with the current flow:

  1. PreCommitSectorBatch2
  2. ProveCommitSectors3
  3. SubmitWindowedPoSt
  4. Confirm by checking miner power

Copy link

github-actions bot commented May 20, 2024

All checks have completed

❌ Failed Test / Test (itest-sector_import_simple) (pull_request)

@rvagg rvagg force-pushed the rvagg/manual_cc_itest branch from 3780e84 to 0be65d7 Compare May 20, 2024 10:19
Copy link
Contributor

@aarshkshah1992 aarshkshah1992 left a comment

Choose a reason for hiding this comment

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

Some questions for my own understanding. But this is really neat that we can prove sectors without using the Miner API.

@rvagg rvagg force-pushed the rvagg/manual_cc_itest branch from 0be65d7 to 6ccdba3 Compare May 21, 2024 05:01
@rvagg rvagg changed the base branch from master to feat/remove-markets-provider May 21, 2024 05:01
@rvagg rvagg marked this pull request as ready for review May 21, 2024 05:02
@rvagg rvagg force-pushed the rvagg/manual_cc_itest branch from 6ccdba3 to 091d6d2 Compare May 21, 2024 08:10
@jennijuju
Copy link
Member

NICE

Copy link
Contributor

@aarshkshah1992 aarshkshah1992 left a comment

Choose a reason for hiding this comment

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

Great Great stuff Rodd !

itests/manual_onboarding_test.go Outdated Show resolved Hide resolved
itests/manual_onboarding_test.go Outdated Show resolved Hide resolved
itests/manual_onboarding_test.go Outdated Show resolved Hide resolved
itests/manual_onboarding_test.go Outdated Show resolved Hide resolved
itests/manual_onboarding_test.go Outdated Show resolved Hide resolved
itests/manual_onboarding_test.go Outdated Show resolved Hide resolved
itests/manual_onboarding_test.go Outdated Show resolved Hide resolved
itests/manual_onboarding_test.go Outdated Show resolved Hide resolved
@rvagg rvagg force-pushed the rvagg/manual_cc_itest branch from 39fb5cb to ad651df Compare June 3, 2024 09:09
@rvagg
Copy link
Member Author

rvagg commented Jun 3, 2024

Rebased on top of current #12005 which has master merged back in. Also pulled in #12049 as a squashed commit. We can continue iterating from here.

* feat: test: MineBlocksMustPost can watch for >1 miners

* feat: test: wait for both sectors at the end of test

* feat: test: minor manual onboarding test fixups and speed up

* feat: test: handle case where miners have close deadline ends
@rjan90 rjan90 linked an issue Jun 4, 2024 that may be closed by this pull request
Base automatically changed from feat/remove-markets-provider to master June 5, 2024 14:14
aarshkshah1992 and others added 3 commits June 6, 2024 08:07
* changes as per review

* thread safety

* test for snap deals

* remove extraneous change

* Apply suggestions from code review

Co-authored-by: Rod Vagg <[email protected]>

* cancel CC Post after snap deals

---------

Co-authored-by: Rod Vagg <[email protected]>
Copy link
Contributor

@aarshkshah1992 aarshkshah1992 left a comment

Choose a reason for hiding this comment

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

lgtm and merging to mastern as discussed offline

@aarshkshah1992
Copy link
Contributor

The test failure is a flaky.

@aarshkshah1992 aarshkshah1992 merged commit 5993841 into master Jun 6, 2024
76 of 77 checks passed
@aarshkshah1992 aarshkshah1992 deleted the rvagg/manual_cc_itest branch June 6, 2024 04:47
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.

[DX Streamline] Lean NI-PoRep integration testing
4 participants