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

catch panic in verify_window_post #1365

Merged
merged 11 commits into from
Jan 14, 2022
Merged

catch panic in verify_window_post #1365

merged 11 commits into from
Jan 14, 2022

Conversation

ec2
Copy link
Member

@ec2 ec2 commented Jan 11, 2022

Summary of changes
Changes introduced in this pull request:

  • Fix handling of dispute_windowed_post in the event of an empty proof
  • catch panic in verify_window_post

Reference issue to close (if applicable)

Closes

Other information and links

@ec2 ec2 added Bug Maintenance Status: Needs Review Crypto Actor Changes related to Actors in the filecoin network labels Jan 11, 2022
Copy link
Contributor

@noot noot left a comment

Choose a reason for hiding this comment

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

hell ya

@q9f
Copy link
Contributor

q9f commented Jan 12, 2022

Happy to include this in 0.2.0 if you can fix the tests and linter

@noot noot force-pushed the ec2/filecoin-proofs-api-0.11 branch from e369966 to a4b409b Compare January 12, 2022 22:00
@noot
Copy link
Contributor

noot commented Jan 13, 2022

don't merge this yet - updating the rand version causes a state root mismatch

@q9f
Copy link
Contributor

q9f commented Jan 13, 2022

don't merge this yet - updating the rand version causes a state root mismatch

is there no test for this?

@noot
Copy link
Contributor

noot commented Jan 13, 2022

@q9f not right now, I have to manually sync the node to see if it's compatible with mainnet still. it would be nice to have an automated test for that

@q9f q9f marked this pull request as draft January 13, 2022 15:34
@noot noot changed the title Update filecoin-proofs-api to v11 catch panic in verify_window_post Jan 13, 2022
@noot noot marked this pull request as ready for review January 14, 2022 00:20
@noot noot merged commit c06e1d3 into main Jan 14, 2022
@noot noot deleted the ec2/filecoin-proofs-api-0.11 branch January 14, 2022 00:21
q9f added a commit that referenced this pull request Jan 14, 2022
q9f added a commit that referenced this pull request Jan 18, 2022
* ci: run github actions on os matrix

* ci: deduplicate github workflows

* ci: add nightly workflow

* ci: add binary install step

* ci: further deduplicate work

* ci: purge circleci

* ci: run tools on msrv

* ci: use gh pages deploy action

* scripts: remove docs script

* docs: update readme

* github: update codeowners

* ci: enable codecov

* ci: fix syntax

* docs: restore badges

* ci: purge codecov config

* ci: use tarpaulin to gather coverage

* ci: move coverage to dedicated job

* ci: enable buildjet runners

* ci: reduce matrix for testing

* ci: fix syntax

* make: parallelize tests

* ci: ignore clippy::redundant-clone

* ci: add dependencies

* ci: attempt multiple runners

* ci: remove broken cache step

* ci: reenable macos

* make: fix test

* ci: automatically cancel previous runs

* blockchain/msgpool: disable flaky test, ref #1369

* ci: increase tarpaulin timeout

* ci: add rust caching action

* blockchain/msgpool: disable more flaky tests, ref #1369

* blockchain/msgpool: disable more flaky tests, ref #1369

* make: make sure tests run in release mode

* blockchain/msg_pool: reenable tests in release mode

* ci: remove msrv = stable

* make: ignore clippy::to-string-in-format-args

* ci: further reduce test threads

* ci: add build matrix for low priority jobs

* ci: further optimize threads

* chore: clean up

* cargo: add dev profile without debug symbols

* ci: populate environment

* ci: fix profile

* ci: nit

* ci: enable incremental builds

* ci: resolve merge of #1365

* ci: progressively cache all rust jobs

* ci: fix gh pages action version string

* ci: fix docs job dry-run condition

* make: remove resolved clippy exceptions

* ci: remove redundancy in docs job
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actor Changes related to Actors in the filecoin network Bug Crypto Maintenance Status: Needs Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants