From 4fcda1f3aa9870b97d2f9fd7600a7d28d7ab69fe Mon Sep 17 00:00:00 2001 From: Lucas PASCAL Date: Tue, 26 Mar 2024 16:08:53 +0100 Subject: [PATCH] [update] Rename Europa to Flex --- CHANGELOG.md | 11 +++++++++++ src/ledgered/manifest/constants.py | 2 +- tests/_data/ledger_app.toml | 4 ++-- tests/unit/manifest/test_manifest.py | 4 ++-- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c8a676..5fc9347 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.6.0] - 2024-03-26 + +### Added + +- ledger-binary: Adding an utilitary to parse embedded application ELF file metadatas. + +### Changed + +- Renamed 'Europa' with official product name 'Flex' + + ## [0.5.0] - 2024-03-11 ### Added diff --git a/src/ledgered/manifest/constants.py b/src/ledgered/manifest/constants.py index 6d1161e..94788cc 100644 --- a/src/ledgered/manifest/constants.py +++ b/src/ledgered/manifest/constants.py @@ -1,3 +1,3 @@ -EXISTING_DEVICES = ["nanos", "nanox", "nanos+", "stax", "europa"] +EXISTING_DEVICES = ["nanos", "nanox", "nanos+", "stax", "flex"] MANIFEST_FILE_NAME = "ledger_app.toml" DEFAULT_USE_CASE = "default" diff --git a/tests/_data/ledger_app.toml b/tests/_data/ledger_app.toml index 4c1991d..e412d2b 100644 --- a/tests/_data/ledger_app.toml +++ b/tests/_data/ledger_app.toml @@ -1,8 +1,8 @@ [app] sdk = "Rust" build_directory = "" -devices = ["nanos", "Stax", "EUROPA"] +devices = ["nanos", "Stax", "FLEX"] [tests] unit_directory = "unit" -pytest_directory = "pytest" \ No newline at end of file +pytest_directory = "pytest" diff --git a/tests/unit/manifest/test_manifest.py b/tests/unit/manifest/test_manifest.py index 2d7f5fa..673a687 100644 --- a/tests/unit/manifest/test_manifest.py +++ b/tests/unit/manifest/test_manifest.py @@ -10,7 +10,7 @@ class TestManifest(TestCase): def check_ledger_app_toml(self, manifest: Manifest) -> None: self.assertEqual(manifest.app.sdk, "rust") - self.assertEqual(manifest.app.devices, {"nanos", "stax", "europa"}) + self.assertEqual(manifest.app.devices, {"nanos", "stax", "flex"}) self.assertEqual(manifest.app.build_directory, Path("")) self.assertTrue(manifest.app.is_rust) self.assertFalse(manifest.app.is_c) @@ -19,7 +19,7 @@ def check_ledger_app_toml(self, manifest: Manifest) -> None: self.assertEqual(manifest.tests.pytest_directory, Path("pytest")) def test___init__ok(self): - app = {"sdk": "rust", "devices": ["NANOS", "stAX", "europa"], "build_directory": ""} + app = {"sdk": "rust", "devices": ["NANOS", "stAX", "flex"], "build_directory": ""} tests = {"unit_directory": "unit", "pytest_directory": "pytest"} self.check_ledger_app_toml(Manifest(app, tests))