Page MenuHomePhabricator

[backport#16363] test: Properly serialize BIP34 coinbase height
ClosedPublic

Authored by PiRK on Oct 13 2020, 09:42.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC8a6204742c0c: [backport#16363] test: Properly serialize BIP34 coinbase height
Summary

In addition to the original commit, I had to add from .script import OP_1, which was skipped in our backport of PR11796 (D5750)

Partial backport of PR16363
Commit 77770d95e2838d7665fa8f621e9e83d79f9b3196

Test Plan

ninja && ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Oct 13 2020, 09:42
PiRK requested review of this revision.Oct 13 2020, 09:43
deadalnix requested changes to this revision.Oct 13 2020, 13:33
deadalnix added a subscriber: deadalnix.

Please link to the commit.

This revision now requires changes to proceed.Oct 13 2020, 13:33
PiRK requested review of this revision.Oct 13 2020, 13:49
PiRK edited the summary of this revision. (Show Details)

Link to the commit added to revision.

deadalnix added inline comments.
test/functional/test_framework/blocktools.py
66 ↗(On Diff #24586)

You can use OP_TRUE here.

This revision is now accepted and ready to land.Oct 13 2020, 14:14