Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #191 from Zondax/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosala authored Mar 21, 2023
2 parents 7528ce8 + c8a851c commit 08d6c19
Show file tree
Hide file tree
Showing 14 changed files with 38,341 additions and 39,569 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Please:
- **Do not use in production**
- **Do not use a Ledger device with funds for development purposes.**
- **Have a separate and marked device that is used ONLY for development and testing**
# Kusama 20.9390.x
# Kusama 20.9391.x

## System

Expand Down
2 changes: 1 addition & 1 deletion app/Makefile.version
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is the `transaction_version` field of `Runtime`
APPVERSION_M=20
# This is the `spec_version` field of `Runtime`
APPVERSION_N=9390
APPVERSION_N=9391
# This is the patch version of this release
APPVERSION_P=0
16 changes: 8 additions & 8 deletions app/src/substrate/substrate_types.c
Original file line number Diff line number Diff line change
Expand Up @@ -1718,10 +1718,10 @@ parser_error_t _readBoxVersionedMultiAssets(parser_context_t* c, pd_BoxVersioned
CHECK_INPUT()
CHECK_ERROR(_readUInt8(c, &v->value))
switch (v->value) {
case 0: // V2
case 1: // V2
CHECK_ERROR(_readVecMultiAssetV2(c, &v->vecMultiassetV2))
break;
case 1: // V3
case 3: // V3
CHECK_ERROR(_readVecMultiAssetV3(c, &v->vecMultiassetV3))
break;
default:
Expand All @@ -1736,10 +1736,10 @@ parser_error_t _readBoxVersionedMultiLocation(parser_context_t* c, pd_BoxVersion
CHECK_INPUT()
CHECK_ERROR(_readUInt8(c, &v->value))
switch (v->value) {
case 0: // V2
case 1: // V2
CHECK_ERROR(_readMultiLocationV2(c, &v->multilocationV2))
break;
case 1: // V3
case 3: // V3
CHECK_ERROR(_readMultiLocationV3(c, &v->multilocationV3))
break;
default:
Expand Down Expand Up @@ -6903,10 +6903,10 @@ parser_error_t _toStringBoxVersionedMultiAssets(
{
CLEAN_AND_CHECK()
switch (v->value) {
case 0: // V2
case 1: // V2
CHECK_ERROR(_toStringVecMultiAssetV2(&v->vecMultiassetV2, outValue, outValueLen, pageIdx, pageCount))
break;
case 1: // V3
case 3: // V3
CHECK_ERROR(_toStringVecMultiAssetV3(&v->vecMultiassetV3, outValue, outValueLen, pageIdx, pageCount))
break;
default:
Expand All @@ -6925,10 +6925,10 @@ parser_error_t _toStringBoxVersionedMultiLocation(
{
CLEAN_AND_CHECK()
switch (v->value) {
case 0: // V2
case 1: // V2
CHECK_ERROR(_toStringMultiLocationV2(&v->multilocationV2, outValue, outValueLen, pageIdx, pageCount))
break;
case 1: // V3
case 3: // V3
CHECK_ERROR(_toStringMultiLocationV3(&v->multilocationV3, outValue, outValueLen, pageIdx, pageCount))
break;
default:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Kusama 20.9390.x
# Kusama 20.9391.x

## System

Expand Down
2 changes: 1 addition & 1 deletion docs/supported_latest.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Kusama 20.9390.x
# Kusama 20.9391.x

## System

Expand Down
77,872 changes: 38,322 additions & 39,550 deletions tests/testcases_current.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tests_zemu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"@zondax/ledger-substrate": "^0.40.5",
"@zondax/zemu": "^0.35.1"
"@zondax/zemu": "^0.36.2"
},
"devDependencies": {
"@types/jest": "^29.2.1",
Expand All @@ -34,7 +34,7 @@
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^27.1.3",
"eslint-plugin-prettier": "^4.0.0",
"jest": "29.2.2",
"jest": "29.5.0",
"jssha": "^3.2.0",
"prettier": "^2.4.1",
"ts-jest": "^29.0.3",
Expand Down
Binary file modified tests_zemu/snapshots/s-mainmenu/00004.png
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_zemu/snapshots/s-mainmenu/00010.png
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_zemu/snapshots/sp-mainmenu/00004.png
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_zemu/snapshots/sp-mainmenu/00010.png
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_zemu/snapshots/x-mainmenu/00004.png
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_zemu/snapshots/x-mainmenu/00010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests_zemu/tests/zemu_blobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
******************************************************************************* */

export const txBalances_transfer =
'040000313233343536373839303132333435363738393031323334353637383930313233158139ae28a3dfaac5fe1560a5e9e05cd5038d2433158139ae28a3dfaac5fe1560a5e9e05cae24000014000000b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafeb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe'
'040000313233343536373839303132333435363738393031323334353637383930313233158139ae28a3dfaac5fe1560a5e9e05cd5038d2433158139ae28a3dfaac5fe1560a5e9e05caf24000014000000b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafeb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe'

export const txStaking_nominate =
'060510003132333435363738393031323334353637383930313233343536373839303132003132333435363738393031323334353637383930313233343536373839303133003132333435363738393031323334353637383930313233343536373839303134003132333435363738393031323334353637383930313233343536373839303135d5038d2433158139ae28a3dfaac5fe1560a5e9e05cae24000014000000b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafeb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe'
'060510003132333435363738393031323334353637383930313233343536373839303132003132333435363738393031323334353637383930313233343536373839303133003132333435363738393031323334353637383930313233343536373839303134003132333435363738393031323334353637383930313233343536373839303135d5038d2433158139ae28a3dfaac5fe1560a5e9e05caf24000014000000b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafeb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe'

export const txSession_setKeys =
'080031323334353637383930313233343536373839303132333435363738393031323132333435363738393031323334353637383930313233343536373839303132313233343536373839303132333435363738393031323334353637383930313231323334353637383930313233343536373839303132333435363738393031320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d5038d2433158139ae28a3dfaac5fe1560a5e9e05cae24000014000000b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafeb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe'
'080031323334353637383930313233343536373839303132333435363738393031323132333435363738393031323334353637383930313233343536373839303132313233343536373839303132333435363738393031323334353637383930313231323334353637383930313233343536373839303132333435363738393031320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d5038d2433158139ae28a3dfaac5fe1560a5e9e05caf24000014000000b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafeb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe'

export const txUtility_batch =
'18000800000834340000083838d5038d2433158139ae28a3dfaac5fe1560a5e9e05cae24000014000000b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafeb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe'
'18000800000834340000083838d5038d2433158139ae28a3dfaac5fe1560a5e9e05caf24000014000000b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafeb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe'

export const txProxy_proxy =
'1e000031323334353637383930313233343536373839303132333435363738393031320100040000313233343536373839303132333435363738393031323334353637383930313233158139ae28a3dfaac5fe1560a5e9e05cd5038d2433158139ae28a3dfaac5fe1560a5e9e05cae24000014000000b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafeb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe'
'1e000031323334353637383930313233343536373839303132333435363738393031320100040000313233343536373839303132333435363738393031323334353637383930313233158139ae28a3dfaac5fe1560a5e9e05cd5038d2433158139ae28a3dfaac5fe1560a5e9e05caf24000014000000b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafeb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe'

0 comments on commit 08d6c19

Please sign in to comment.