Skip to content

Commit

Permalink
[update] Rename Europa to Flex
Browse files Browse the repository at this point in the history
  • Loading branch information
lpascal-ledger committed Mar 26, 2024
1 parent bb9168f commit 4fcda1f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ledgered/manifest/constants.py
Original file line number Diff line number Diff line change
@@ -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"
4 changes: 2 additions & 2 deletions tests/_data/ledger_app.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[app]
sdk = "Rust"
build_directory = ""
devices = ["nanos", "Stax", "EUROPA"]
devices = ["nanos", "Stax", "FLEX"]

[tests]
unit_directory = "unit"
pytest_directory = "pytest"
pytest_directory = "pytest"
4 changes: 2 additions & 2 deletions tests/unit/manifest/test_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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))

Expand Down

0 comments on commit 4fcda1f

Please sign in to comment.