Skip to content

Commit

Permalink
Update SDK and snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Oct 1, 2024
1 parent 74b702e commit 7820979
Show file tree
Hide file tree
Showing 1,533 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["dj8yf0μl", "polyprogrammist"]
edition = "2021"

[dependencies]
ledger_device_sdk = "1.17.0"
ledger_device_sdk = "1.17.2"
include_gif = "1.2.0"
hex = { version = "0.4.3", default-features = false, features = ["serde"] }
bs58 = { version = "0.5.0", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions src/app_ui/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub fn ui_display_pk_base58(public_key: &crypto::PublicKeyBe) -> Result<bool, Ap
const NEAR_LOGO: NbglGlyph =
NbglGlyph::from_include(include_gif!("icons/app_near_64px.gif", NBGL));

let mut review: NbglAddressReview = NbglAddressReview::new()
let review: NbglAddressReview = NbglAddressReview::new()
.glyph(&NEAR_LOGO)
.verify_str("Confirm Public Key");

Expand Down Expand Up @@ -101,7 +101,7 @@ pub fn ui_display_hex(public_key: &crypto::PublicKeyBe) -> Result<bool, AppSW> {
const NEAR_LOGO: NbglGlyph =
NbglGlyph::from_include(include_gif!("icons/app_near_64px.gif", NBGL));

let mut review: NbglAddressReview = NbglAddressReview::new()
let review: NbglAddressReview = NbglAddressReview::new()
.glyph(&NEAR_LOGO)
.verify_str("Confirm Wallet ID");

Expand Down
2 changes: 1 addition & 1 deletion src/app_ui/sign/common/action/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ pub fn ui_display_delegate_error(#[allow(unused)] comm: &mut Comm) {
TuneIndex::Success,
);

let mut review: NbglGenericReview =
let review: NbglGenericReview =
NbglGenericReview::new().add_content(NbglPageContent::InfoButton(info_button));

let res = review.show("Reject");
Expand Down
2 changes: 1 addition & 1 deletion src/app_ui/sign/nep366_delegate_action/prefix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub fn ui_display(prefix: &mut parsing::types::nep366_delegate_action::prefix::P

let tag_values_list = TagValueList::new(field_writer.get_fields(), 2, false, false);

let mut review: NbglGenericReview = NbglGenericReview::new()
let review: NbglGenericReview = NbglGenericReview::new()
.add_content(NbglPageContent::CenteredInfo(centered_info))
.add_content(NbglPageContent::TagValueList(tag_values_list))
.add_content(NbglPageContent::InfoButton(info_button));
Expand Down
2 changes: 1 addition & 1 deletion src/app_ui/sign/nep366_delegate_action/suffix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub fn ui_display(suffix: &parsing::types::nep366_delegate_action::suffix::Suffi
const NEAR_LOGO: NbglGlyph =
NbglGlyph::from_include(include_gif!("icons/app_near_64px.gif", NBGL));

let mut review: NbglReview = NbglReview::new()
let review: NbglReview = NbglReview::new()
.titles(msg_before, "", "Sign transaction")
.glyph(&NEAR_LOGO);

Expand Down
2 changes: 1 addition & 1 deletion src/app_ui/sign/nep413/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pub fn ui_display(payload: &mut Payload) -> bool {
const NEAR_LOGO: NbglGlyph =
NbglGlyph::from_include(include_gif!("icons/app_near_64px.gif", NBGL));

let mut review: NbglReview = NbglReview::new()
let review: NbglReview = NbglReview::new()
.titles("Review NEP413 msg sign", "", "Sign message")
.glyph(&NEAR_LOGO);

Expand Down
2 changes: 1 addition & 1 deletion src/app_ui/sign/transaction/prefix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub fn ui_display(prefix: &mut parsing::types::transaction::prefix::Prefix) -> b

let tag_values_list = TagValueList::new(field_writer.get_fields(), 2, false, false);

let mut review: NbglGenericReview = NbglGenericReview::new()
let review: NbglGenericReview = NbglGenericReview::new()
.add_content(NbglPageContent::CenteredInfo(centered_info))
.add_content(NbglPageContent::TagValueList(tag_values_list))
.add_content(NbglPageContent::InfoButton(info_button));
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/common/validate_public_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ fn ui_display(info: &KeyMismatchInfo) -> Result<bool, AppSW> {

let tag_values_list = TagValueList::new(&my_fields, 2, false, false);

let mut review: NbglGenericReview = NbglGenericReview::new()
let review: NbglGenericReview = NbglGenericReview::new()
.add_content(NbglPageContent::CenteredInfo(centered_info))
.add_content(NbglPageContent::TagValueList(tag_values_list))
.add_content(NbglPageContent::InfoButton(info_button));
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 tests/snapshots/flex/test_sign_create_account/0_1_sign/00000.png
Binary file modified tests/snapshots/flex/test_sign_create_account/0_1_sign/00001.png
Binary file modified tests/snapshots/flex/test_sign_create_account/0_1_sign/00003.png
Binary file modified tests/snapshots/flex/test_sign_deploy_contract/2_sign/00000.png
Binary file modified tests/snapshots/flex/test_sign_deploy_contract/2_sign/00001.png
Binary file modified tests/snapshots/flex/test_sign_deploy_contract/2_sign/00003.png
Binary file modified tests/snapshots/flex/test_sign_nep413_msg/0_sign/00002.png
Binary file modified tests/snapshots/flex/test_sign_nep413_msg/0_sign/00003.png
Binary file modified tests/snapshots/flex/test_sign_nep413_msg/0_sign/00005.png
Binary file modified tests/snapshots/flex/test_sign_stake/2_sign/00000.png
Binary file modified tests/snapshots/flex/test_sign_stake/2_sign/00001.png
Binary file modified tests/snapshots/flex/test_sign_stake/2_sign/00004.png
Binary file modified tests/snapshots/flex/test_sign_transfer/0_1_sign/00000.png
Binary file modified tests/snapshots/flex/test_sign_transfer/0_1_sign/00001.png
Binary file modified tests/snapshots/flex/test_sign_transfer/0_1_sign/00003.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Loading

0 comments on commit 7820979

Please sign in to comment.