HomePhabricator

[avalanche] Make regular proof format deserialization tests in par with the…

Description

[avalanche] Make regular proof format deserialization tests in par with the legacy

Summary:
This clones the legacy test vectors and use them for the regular format check. This makes sure that no regression from the legacy format is introduced. Of course these tests needs to be updated to conform with the new format, so a valid payout script is added to each case and the stakes signatures updated accordingly.

Ref T1854.

Test Plan:

ninja check-avalanche-proof_tests

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Maniphest Tasks: T1854

Differential Revision: https://reviews.bitcoinabc.org/D10216

Details

Provenance
FabienAuthored on Sep 30 2021, 19:23
FabienPushed on Sep 30 2021, 19:23
Reviewer
Restricted Project
Differential Revision
D10216: [avalanche] Make regular proof format deserialization tests in par with the legacy
Parents
rABC03b0ee632508: [avalanche] Rename vote_records to blockVoteRecords in the processor
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task