Added Chain: Defi Oracle Meta - Chain ID 138
Some checks failed
Build and run functional tests using ragger through reusable workflow / Build application using the reusable workflow (push) Has been cancelled
Build and run functional tests using ragger through reusable workflow / Build Clone app using the reusable workflow (push) Has been cancelled
Check SDK submodule version / Check Ethereum plugin SDK submodule is up-to-date (push) Has been cancelled
CodeQL / Analyse (cpp, $FLEX_SDK) (push) Has been cancelled
CodeQL / Analyse (cpp, $NANOSP_SDK) (push) Has been cancelled
CodeQL / Analyse (cpp, $NANOS_SDK) (push) Has been cancelled
CodeQL / Analyse (cpp, $NANOX_SDK) (push) Has been cancelled
CodeQL / Analyse (cpp, $STAX_SDK) (push) Has been cancelled
Misspellings CI / Check misspellings (push) Has been cancelled
Ensure compliance with Ledger guidelines / Call Ledger guidelines_enforcer (push) Has been cancelled
Code style check / Check linting using the reusable workflow (push) Has been cancelled
Code style check / Check yaml files (push) Has been cancelled
Swap functional tests / job_functional_tests (push) Has been cancelled
Build and run functional tests using ragger through reusable workflow / Run ragger tests using the reusable workflow (push) Has been cancelled
Build and run functional tests using ragger through reusable workflow / Run ragger Clone tests using the reusable workflow (push) Has been cancelled

- Added new glyph and icon for Chain 138
- Created makefile configuration for Defi Oracle
- Updated network handling in src/network.c
- Modified address retrieval test
This commit is contained in:
defiQUG
2024-08-08 00:04:03 -07:00
parent 19646219e5
commit e941a5d06d
5 changed files with 6 additions and 1 deletions

BIN
glyphs/chain_138_64px.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/60'"
TICKER = "ETH"
CHAIN_ID = 138
APPNAME = "Defi Oracle Meta"

View File

@@ -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"},

View File

@@ -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