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

[Merged by Bors] - scale: add regression test for scale encoding issue #4391

Closed
wants to merge 3 commits into from

Conversation

fasmat
Copy link
Member

@fasmat fasmat commented May 15, 2023

Motivation

Closes #4386

Do not merge before spacemeshos/poet#293

Changes

This adds a regression test for the fix in spacemeshos/poet#293. In poet the same is tested via fuzzing.

Test Plan

n/a

TODO

  • Explain motivation or link existing issue(s)
  • Test changes and document test plan
  • Update documentation as needed

DevOps Notes

  • This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
  • This PR does not affect public APIs
  • This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
  • This PR does not make changes to log messages (which monitoring infrastructure may rely on)

@fasmat fasmat requested a review from countvonzero as a code owner May 15, 2023 19:59
@fasmat fasmat self-assigned this May 15, 2023
@fasmat fasmat requested review from dshulyak and poszu as code owners May 15, 2023 19:59
@fasmat fasmat force-pushed the 4386-fix-scale-issue branch from b482132 to 6379179 Compare May 15, 2023 20:30
@codecov
Copy link

codecov bot commented May 15, 2023

Codecov Report

Merging #4391 (68709cf) into develop (a1fd219) will increase coverage by 0.0%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop   #4391   +/-   ##
=======================================
  Coverage     76.3%   76.3%           
=======================================
  Files          248     248           
  Lines        25756   25756           
=======================================
+ Hits         19663   19664    +1     
+ Misses        4840    4839    -1     
  Partials      1253    1253           

see 6 files with indirect coverage changes

@fasmat
Copy link
Member Author

fasmat commented May 15, 2023

bors merge

bors bot pushed a commit that referenced this pull request May 15, 2023
## Motivation
Closes #4386 

Do not merge before spacemeshos/poet#293

## Changes
This adds a regression test for the fix in spacemeshos/poet#293. In `poet` the same is tested via fuzzing.

## Test Plan
n/a

## TODO
<!-- This section should be removed when all items are complete -->
- [x] Explain motivation or link existing issue(s)
- [x] Test changes and document test plan
- [x] Update documentation as needed

## DevOps Notes
<!-- Please uncheck these items as applicable to make DevOps aware of changes that may affect releases -->
- [x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
- [x] This PR does not affect public APIs
- [x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
- [x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)
@bors
Copy link

bors bot commented May 15, 2023

Pull request successfully merged into develop.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title scale: add regression test for scale encoding issue [Merged by Bors] - scale: add regression test for scale encoding issue May 15, 2023
@bors bors bot closed this May 15, 2023
@bors bors bot deleted the 4386-fix-scale-issue branch May 15, 2023 22:36
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.

MerkleProof is decoded incorrectly
2 participants