mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
chore(common): set definition timestamp to the current signed definitions
[no changelog]
This commit is contained in:
parent
1890e3c04d
commit
b8e8fcff33
@ -1 +1 @@
|
||||
1669892465
|
||||
2023-04-03T13:44:24+00:00
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
from __future__ import annotations
|
||||
|
||||
import datetime
|
||||
import fnmatch
|
||||
import glob
|
||||
import json
|
||||
@ -136,10 +137,13 @@ def render_file(
|
||||
`src` is a filename, `dst` is an open file object.
|
||||
"""
|
||||
template = mako.template.Template(filename=src)
|
||||
eth_defs_date = datetime.datetime.fromisoformat(
|
||||
DEFINITIONS_TIMESTAMP_PATH.read_text().strip()
|
||||
)
|
||||
result = template.render(
|
||||
support_info=support_info,
|
||||
supported_on=make_support_filter(support_info),
|
||||
ethereum_defs_timestamp=int(DEFINITIONS_TIMESTAMP_PATH.read_text()),
|
||||
ethereum_defs_timestamp=int(eth_defs_date.timestamp()),
|
||||
**coins,
|
||||
**MAKO_FILTERS,
|
||||
)
|
||||
|
@ -9,7 +9,7 @@ PUBLIC_KEYS = (
|
||||
b"\xb8\xd2\xb2\x1d\xe2\x71\x24\xf0\x51\x1f\x90\x3a\xe7\xe6\x0e\x07\x96\x18\x10\xa0\xb8\xf2\x8e\xa7\x55\xfa\x50\x36\x7a\x8a\x2b\x8b",
|
||||
)
|
||||
|
||||
MIN_DATA_VERSION = 1669892465
|
||||
MIN_DATA_VERSION = 1680529464
|
||||
FORMAT_VERSION = b"trzd1"
|
||||
|
||||
if __debug__:
|
||||
|
Loading…
Reference in New Issue
Block a user