diff --git a/glyphs/chain_138_64px.gif b/glyphs/chain_138_64px.gif new file mode 100644 index 000000000..b47e51937 Binary files /dev/null and b/glyphs/chain_138_64px.gif differ diff --git a/icons/flex_app_chain_138.gif b/icons/flex_app_chain_138.gif new file mode 100644 index 000000000..f9250d246 Binary files /dev/null and b/icons/flex_app_chain_138.gif differ diff --git a/makefile_conf/chain/defi_oracle.mk b/makefile_conf/chain/defi_oracle.mk new file mode 100644 index 000000000..c6f62c9d0 --- /dev/null +++ b/makefile_conf/chain/defi_oracle.mk @@ -0,0 +1,4 @@ +PATH_APP_LOAD_PARAMS += "44'/60'" +TICKER = "ETH" +CHAIN_ID = 138 +APPNAME = "Defi Oracle Meta" diff --git a/src/network.c b/src/network.c index 660e58e24..09c2b707d 100644 --- a/src/network.c +++ b/src/network.c @@ -39,6 +39,7 @@ static const network_info_t NETWORK_MAPPING[] = { {.chain_id = 100, .name = "Gnosis", .ticker = "xDAI"}, {.chain_id = 106, .name = "Velas EVM", .ticker = "VLX"}, {.chain_id = 137, .name = "Polygon", .ticker = "MATIC"}, + {.chain_id = 138, .name = "Defi Oracle Meta", .ticker = "ETH"}, {.chain_id = 196, .name = "OKBChain Mainnet", .ticker = "OKB"}, {.chain_id = 199, .name = "BTTC", .ticker = "BTT"}, {.chain_id = 246, .name = "EnergyWebChain", .ticker = "EWT"}, diff --git a/tests/ragger/test_get_address.py b/tests/ragger/test_get_address.py index 035c598c5..8e741d07b 100644 --- a/tests/ragger/test_get_address.py +++ b/tests/ragger/test_get_address.py @@ -21,7 +21,7 @@ def with_chaincode_fixture(request) -> bool: return request.param -@pytest.fixture(name="chain", params=[None, 1, 2, 5, 137]) +@pytest.fixture(name="chain", params=[None, 1, 2, 5, 137, 138]) def chain_fixture(request) -> Optional[int]: return request.param