Skip to content

Commit

Permalink
icons and glyphs
Browse files Browse the repository at this point in the history
- added missing glyphs;
- fixed icons;
- fixed typos;
  • Loading branch information
rduarte83 committed Dec 7, 2023
1 parent e4cd98e commit 22de56d
Show file tree
Hide file tree
Showing 25 changed files with 20 additions and 21 deletions.
26 changes: 13 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Inital commit with the brand new Phantasma application
- Initial commit with the brand new Phantasma application.

## [1.0.1] - 2023-11-20

### Added
- Added a method to get all of the number of args.
- Added a new enum
- Added a new Button to the UI Display Address
- Added a new enum.
- Added a new Button to the UI Display Address.

### Fixed
- Fixed Path to generate phantasma address;
- Crypto.c upgraded generations and added missing expections;
- GetPublicKey revamped public key generation;
- Fixed encoded address length;
- Fixed displayed transaction data;
- Fixed Path to generate phantasma address.
- Crypto.c upgraded generations and added missing exceptions.
- GetPublicKey revamped public key generation.
- Fixed encoded address length.
- Fixed displayed transaction data.

### Changed
- Updated Gitignore.
- Updated depracated methods (added no_throw).
- Updated deprecated methods (added no_throw).
- Updated Python Tests.
- Updated git workflows.
- Changed the transaction to have the transaction type, name of the contract and method.
Expand All @@ -41,7 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added
- Added Commands example.
- Added Offsets
- Added Offsets.
- Added crypto.c

### Fixed
Expand All @@ -51,9 +51,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed
- Revamped application to new boilerplate release.
- Updated app_main
- Updated Globals
- Updated depencencies
- Updated app_main.
- Updated Globals.
- Updated dependencies.
- Updated send_response to feature phantasma.
- Updated tests to align with our coding methodology.

Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ endif
# Application icons following guidelines:
# https://developers.ledger.com/docs/embedded-app/design-requirements/#device-icon

ICON_NANOS = icons/nanos_app_phantasma.gif
ICON_NANOX = icons/nanox_app_phantasma.gif
ICON_NANOSP = icons/nanos_app_phantasma.gif
ICON_STAX = icons/nanos_app_phantasma.gif
ICON_NANOS = icons/nanos_app_phantasma.gif #16x16
ICON_NANOSP = icons/nanox_app_phantasma.gif #14x14
ICON_NANOX = icons/nanox_app_phantasma.gif #14x14
ICON_STAX = icons/stax_app_phantasma.gif #32x32

# Application allowed derivation curves.
# Possibles curves are: secp256k1, secp256r1, ed25519 and bls12381g1
Expand Down
Binary file added glyphs/app_boilerplate_64px.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_back.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_back_x.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_certificate.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_coggle.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_crossmark.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_dashboard.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_dashboard_x.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_down.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_eye.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_left.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_processing.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_right.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_up.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_validate_14.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/icon_warning.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/app_boilerplate_32px.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icons/nanox_app_phantasma.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/stax_app_phantasma.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ int crypto_sign_message(uint16_t *resp_word) {
G_context.tx_info.signature_len = sig_size;

uint32_t info = 0;
G_context.tx_info.v = (uint8_t) (info & CX_ECCINFO_PARITY_ODD);
G_context.tx_info.v = (uint8_t)(info & CX_ECCINFO_PARITY_ODD);

return 0;
}
2 changes: 1 addition & 1 deletion src/globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
extern uint8_t G_io_seproxyhal_spi_buffer[IO_SEPROXYHAL_BUFFER_SIZE_B];

/**
* Global variable with the lenght of APDU response to send back.
* Global variable with the length of APDU response to send back.
*/
extern uint32_t G_output_len;

Expand Down
2 changes: 1 addition & 1 deletion src/ui/action/validate.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static int crypto_sign_message(void) {
PRINTF("Signature: %.*H\n", sig_len, G_context.tx_info.signature);

G_context.tx_info.signature_len = sig_len;
G_context.tx_info.v = (uint8_t) (info & CX_ECCINFO_PARITY_ODD);
G_context.tx_info.v = (uint8_t)(info & CX_ECCINFO_PARITY_ODD);

return 0;
}
Expand Down
1 change: 0 additions & 1 deletion tests/application_client/boilerplate_response_unpacker.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import base64
import string
from typing import Tuple
from struct import unpack

Expand Down

0 comments on commit 22de56d

Please sign in to comment.