1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 03:18:09 +00:00
trezor-firmware/legacy/firmware
arbitrarylink f051225730 feat(core,legacy): add support for Ethereum 64-bit chain_id
* Changes from original PR

* Now that we are rejecting chain_ids of 0, we need to have the tests set the chain_ids to at least 1.

* Ran 'make gen' and uploaded changed files.

* Ran make style_check and fixed reported errors

* Added changelog files

* Reverted changes concerning chain_id 0 being rejected.

* Adds tests for MAX_CHAIN_ID and MAX_CHAIN_ID+1.  Also reverts MAX_CHAIN_ID to the previous value.

* Added missing whitespace around arithmetic operator.

Co-authored-by: Michael Hatton <michaelhatton@Michaels-Mini.fios-router.home>
2021-09-10 15:09:03 +02:00
..
.changelog.d feat(core,legacy): add support for Ethereum 64-bit chain_id 2021-09-10 15:09:03 +02:00
protob chore(legacy): remove Lisk 2021-08-19 10:25:41 +02:00
u2f all: replace /bin/bash with /usr/bin/env bash 2019-09-12 17:35:55 +02:00
.gitignore legacy: add u2f_knownapps.h to gitignore 2019-12-23 16:39:54 +01:00
.towncrier.template.md docs(legacy/firmware): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
bl_check.c feat(legacy): make sure that known_bootloader check contains the hash of our bundled bootloader 2021-07-23 13:46:06 +02:00
bl_check.h refactor(legacy): rename check_bootloader to check_and_replace_bootloader 2021-05-13 17:59:39 +02:00
bl_data.py feat(legacy): make sure that known_bootloader check contains the hash of our bundled bootloader 2021-07-23 13:46:06 +02:00
bootloader.dat fix(legacy): rebuild bundled bootloader (deterministically) 2021-04-19 18:32:47 +02:00
CHANGELOG.md fix(legacy,core): Fix operation source account encoding in Stellar. 2021-07-13 17:24:16 +02:00
CHANGELOG.unreleased docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
coin_info.c.mako feat(legacy): implement amount_unit for SignTx 2021-01-22 14:07:36 +01:00
coin_info.h.mako MONOREPO MERGE trezor-mcu 2019-04-15 19:14:58 +02:00
coins.c common: add coin.divisibility attribute 2019-12-05 04:30:51 +01:00
coins.h common/defs: add xpub_magic_multisig_segwit_{native,p2sh} fields to coins 2021-01-21 23:46:29 +01:00
config.c feat(legacy): Add safety_checks setting. 2021-05-24 17:47:43 +02:00
config.h feat(legacy): Add safety_checks setting. 2021-05-24 17:47:43 +02:00
crypto.c feat(legacy): Distinguish between known path checks and script type checks in coin_path_check(). 2021-06-30 18:25:58 +02:00
crypto.h feat(legacy): Distinguish between known path checks and script type checks in coin_path_check(). 2021-06-30 18:25:58 +02:00
debug.c all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
debug.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
defs MONOREPO MERGE trezor-mcu 2019-04-15 19:14:58 +02:00
ethereum_networks.h.mako MONOREPO MERGE trezor-mcu 2019-04-15 19:14:58 +02:00
ethereum_tokens.c.mako feat(core,legacy): add support for Ethereum 64-bit chain_id 2021-09-10 15:09:03 +02:00
ethereum_tokens.h.mako feat(core,legacy): add support for Ethereum 64-bit chain_id 2021-09-10 15:09:03 +02:00
ethereum.c feat(core,legacy): add support for Ethereum 64-bit chain_id 2021-09-10 15:09:03 +02:00
ethereum.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
fsm_msg_coin.h feat(legacy): Distinguish between known path checks and script type checks in coin_path_check(). 2021-06-30 18:25:58 +02:00
fsm_msg_common.h chore(legacy): remove Lisk 2021-08-19 10:25:41 +02:00
fsm_msg_crypto.h feat(legacy): add public_key to ECDHSessionKey 2021-03-08 15:59:00 +01:00
fsm_msg_debug.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
fsm_msg_ethereum.h feat(core,legacy): add support for Ethereum 64-bit chain_id 2021-09-10 15:09:03 +02:00
fsm_msg_nem.h fix(legacy): do not query presence of newly-required protobuf fields 2021-02-10 10:56:52 +01:00
fsm_msg_stellar.h fix(legacy): do not query presence of newly-required protobuf fields 2021-02-10 10:56:52 +01:00
fsm.c chore(legacy): remove Lisk 2021-08-19 10:25:41 +02:00
fsm.h chore(legacy): remove Lisk 2021-08-19 10:25:41 +02:00
gettext.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
header.S MONOREPO MERGE trezor-mcu 2019-04-15 19:14:58 +02:00
layout2.c style(legacy): Remove nested conditional operators. 2021-07-22 10:54:49 +02:00
layout2.h feat(legacy): Add safety_checks setting. 2021-05-24 17:47:43 +02:00
Makefile chore(legacy): remove Lisk 2021-08-19 10:25:41 +02:00
messages.c fix(legacy): Improve compile-time checks of message sizes. 2021-03-17 22:34:26 +01:00
messages.h fix(legacy): Improve compile-time checks of message sizes. 2021-03-17 22:34:26 +01:00
nem2.c fix(legacy/nem): use levy only if provided 2020-09-24 10:52:31 +02:00
nem2.h legacy/nem: Refactor nem_canonicalizeMosaics 2019-10-04 15:17:46 +00:00
nem_mosaics.c.mako MONOREPO MERGE trezor-mcu 2019-04-15 19:14:58 +02:00
nem_mosaics.h.mako MONOREPO MERGE trezor-mcu 2019-04-15 19:14:58 +02:00
otp.c all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
otp.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
pinmatrix.c legacy, tests: Check for invalid PIN. 2020-03-17 11:53:48 +01:00
pinmatrix.h legacy, tests: Check for invalid PIN. 2020-03-17 11:53:48 +01:00
protect.c legacy, tests: Check for invalid PIN. 2020-03-17 11:53:48 +01:00
protect.h legacy: small nitpicks related to the new passphrase handling 2020-02-07 11:41:03 +00:00
recovery-table.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
recovery.c feat(common): more required fields in messages-management 2021-08-04 15:03:11 +02:00
recovery.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
reset.c legacy/layout: use bmp_btn_confirm, bmp_btn_cancel 2019-11-09 19:02:51 +00:00
reset.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
signing.c feat(legacy): Distinguish between known path checks and script type checks in coin_path_check(). 2021-06-30 18:25:58 +02:00
signing.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
stellar.c fix(legacy,core): Fix operation source account encoding in Stellar. 2021-07-13 17:24:16 +02:00
stellar.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
towncrier.toml docs(legacy/firmware): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
transaction.c feat(legacy): implement amount_unit for SignTx 2021-01-22 14:07:36 +01:00
transaction.h feat(legacy): implement amount_unit for SignTx 2021-01-22 14:07:36 +01:00
trezor.c feat(legacy/emulator): avoid busy loop when waiting for messages 2021-08-04 10:58:15 +02:00
trezor.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
u2f_knownapps.h.mako common/fido: Unify application labeling between U2F and FIDO2. 2020-07-30 15:29:54 +02:00
u2f.c docs: fix typos in comments 2021-06-30 15:41:55 +02:00
u2f.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
udp.c feat(legacy/emulator): avoid busy loop when waiting for messages 2021-08-04 10:58:15 +02:00
usb.c refactor(legacy): move wait_random into separate file 2021-05-21 13:42:53 +02:00
usb.h fix(legacy): Replace magic numbers with USB_PACKET_SIZE and MSG_HEADER_SIZE. 2021-03-17 22:34:26 +01:00
version.h chore(core, legacy): bump versions 2021-08-31 12:55:37 +02:00