Page MenuHomePhabricator

[test] add typehints to create_block and create_coinbase
ClosedPublic

Authored by PiRK on Apr 8 2022, 08:29.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCed16e1d0000d: [test] add typehints to create_block and create_coinbase
Summary

These functions are hard to use without first looking at other tests, because the parameter types are not obvious. This improves the documentation and IDE hints for these functions.

Also remove a pair of redundant parentheses.

Test Plan

ninja check-functional-extended

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Apr 8 2022, 08:29
PiRK retitled this revision from [test]add typehints to create_block and create_coinbase to [test] add typehints to create_block and create_coinbase.Apr 8 2022, 08:41
This revision is now accepted and ready to land.Apr 8 2022, 09:20