diff --git a/CMakeLists.txt b/CMakeLists.txt index 3af0ac87..d5355eb5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,7 @@ cmake_policy(SET CMP0025 NEW) cmake_policy(SET CMP0144 NEW) set(HUNTER_STATUS_DEBUG ON) -set(HUNTER_TLS_VERIFY OFF) +set(HUNTER_TLS_VERIFY ON) enable_testing() diff --git a/app/Makefile.version b/app/Makefile.version index dc489d2d..d8698775 100644 --- a/app/Makefile.version +++ b/app/Makefile.version @@ -1,6 +1,6 @@ # This is the `transaction_version` field of `Runtime` APPVERSION_M=26 # This is the `spec_version` field of `Runtime` -APPVERSION_N=1002005 +APPVERSION_N=12005 # This is the patch version of this release APPVERSION_P=0 diff --git a/app/src/parser_impl_common.c b/app/src/parser_impl_common.c index e4fcb1f3..8e8aed87 100644 --- a/app/src/parser_impl_common.c +++ b/app/src/parser_impl_common.c @@ -24,6 +24,8 @@ #include "substrate_types.h" #include "substrate_dispatch.h" +#define SUPPORTED_SPEC_VERSION_V26 1002005 + parser_error_t parser_init_context(parser_context_t *ctx, const uint8_t *buffer, uint16_t bufferSize) { @@ -352,7 +354,7 @@ static parser_error_t _checkVersionsV26(parser_context_t *c) { transactionVersion += (uint32_t) p[3] << 24u; if (transactionVersion != (SUPPORTED_TX_VERSION_CURRENT) || - specVersion != SUPPORTED_SPEC_VERSION) { + specVersion != SUPPORTED_SPEC_VERSION_V26) { return parser_tx_version_not_supported; } diff --git a/app/src/substrate/substrate_types.c b/app/src/substrate/substrate_types.c index 3a4c74ac..db7379b2 100644 --- a/app/src/substrate/substrate_types.c +++ b/app/src/substrate/substrate_types.c @@ -4545,7 +4545,7 @@ parser_error_t _toStringPercent( uint8_t pageIdx, uint8_t* pageCount) { - char bufferUI[50]; + char bufferUI[60]; char bufferRatio[50]; uint64_to_str(bufferRatio, sizeof(bufferRatio), v->value); diff --git a/tests_zemu/snapshots/s-mainmenu/00004.png b/tests_zemu/snapshots/s-mainmenu/00004.png index 8d2d8570..22f69447 100644 Binary files a/tests_zemu/snapshots/s-mainmenu/00004.png and b/tests_zemu/snapshots/s-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/s-mainmenu/00010.png b/tests_zemu/snapshots/s-mainmenu/00010.png index 8d2d8570..22f69447 100644 Binary files a/tests_zemu/snapshots/s-mainmenu/00010.png and b/tests_zemu/snapshots/s-mainmenu/00010.png differ diff --git a/tests_zemu/snapshots/sp-mainmenu/00004.png b/tests_zemu/snapshots/sp-mainmenu/00004.png index 10494e04..c3e36335 100644 Binary files a/tests_zemu/snapshots/sp-mainmenu/00004.png and b/tests_zemu/snapshots/sp-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/sp-mainmenu/00010.png b/tests_zemu/snapshots/sp-mainmenu/00010.png index 10494e04..c3e36335 100644 Binary files a/tests_zemu/snapshots/sp-mainmenu/00010.png and b/tests_zemu/snapshots/sp-mainmenu/00010.png differ diff --git a/tests_zemu/snapshots/st-mainmenu/00001.png b/tests_zemu/snapshots/st-mainmenu/00001.png index 4cf47cf0..105874dc 100644 Binary files a/tests_zemu/snapshots/st-mainmenu/00001.png and b/tests_zemu/snapshots/st-mainmenu/00001.png differ diff --git a/tests_zemu/snapshots/x-mainmenu/00004.png b/tests_zemu/snapshots/x-mainmenu/00004.png index 10494e04..c3e36335 100644 Binary files a/tests_zemu/snapshots/x-mainmenu/00004.png and b/tests_zemu/snapshots/x-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/x-mainmenu/00010.png b/tests_zemu/snapshots/x-mainmenu/00010.png index 10494e04..c3e36335 100644 Binary files a/tests_zemu/snapshots/x-mainmenu/00010.png and b/tests_zemu/snapshots/x-mainmenu/00010.png differ