zcash-test-vectors/orchard_empty_roots.py

24 lines
440 B
Python

from orchard_merkle_tree import empty_roots
from orchard_pallas import Fp
from tv_output import render_args, render_tv
from utils import i2lebsp
def main():
args = render_args()
render_tv(
args,
'orchard_empty_roots',
(
('empty_roots', '[[u8; 32]; 33]'),
),
{
'empty_roots': list(map(bytes, empty_roots())),
},
)
if __name__ == '__main__':
main()