Skip to content

Commit

Permalink
Merge pull request #153 from Zondax/update-9270
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosala authored Aug 8, 2022
2 parents 1c0c741 + ea19bef commit 974b873
Show file tree
Hide file tree
Showing 41 changed files with 22,428 additions and 32,849 deletions.
4 changes: 2 additions & 2 deletions 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**
# Polkadot 13.9250.x
# Polkadot 13.9270.x

## System

Expand Down Expand Up @@ -217,7 +217,7 @@ Please:
|Remove voter | | :heavy_check_mark: | | |
|Submit candidacy | | :heavy_check_mark: | | `Compactu32` candidate_count <br/> |
|Renounce candidacy | | | | `Renouncing` renouncing <br/> |
|Remove member | | :heavy_check_mark: | | `LookupasStaticLookupSource` who <br/>`bool` has_replacement <br/> |
|Remove member | | :heavy_check_mark: | | `LookupasStaticLookupSource` who <br/>`bool` slash_bond <br/>`bool` rerun_election <br/> |
|Clean defunct voters | | :heavy_check_mark: | | `u32` num_voters <br/>`u32` num_defunct <br/> |

## TechnicalMembership
Expand Down
2 changes: 1 addition & 1 deletion app/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#*******************************************************************************
# Ledger App
# (c) 2019 - 2022 Zondax GmbH
# (c) 2019 - 2022 Zondax AG
# (c) 2017 Ledger
#
# Licensed under the Apache License, Version 2.0 (the "License");
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=13
# This is the `spec_version` field of `Runtime`
APPVERSION_N=9250
APPVERSION_N=9270
# This is the patch version of this release
APPVERSION_P=0
26 changes: 13 additions & 13 deletions app/rust/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 app/src/common/parser_common.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* (c) 2019 - 2022 Zondax GmbH
* (c) 2019 - 2022 Zondax AG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion app/src/parser_impl.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* (c) 2019 - 2022 Zondax GmbH
* (c) 2019 - 2022 Zondax AG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion app/src/parser_impl_common.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* (c) 2019 - 2022 Zondax GmbH
* (c) 2019 - 2022 Zondax AG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion app/src/substrate/substrate_coin.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* (c) 2019 - 2022 Zondax GmbH
* (c) 2019 - 2022 Zondax AG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
19 changes: 1 addition & 18 deletions app/src/substrate/substrate_dispatch.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* (c) 2019 - 2022 Zondax GmbH
* (c) 2019 - 2022 Zondax AG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -28,8 +28,6 @@ parser_error_t _readMethod(
switch (c->tx_obj->transactionVersion) {
case 13:
return _readMethod_V13(c, moduleIdx, callIdx, &method->V13);
case 12:
return _readMethod_V12(c, moduleIdx, callIdx, &method->V12);
default:
return parser_tx_version_not_supported;
}
Expand All @@ -40,8 +38,6 @@ uint8_t _getMethod_NumItems(uint32_t transactionVersion, uint8_t moduleIdx, uint
switch (transactionVersion) {
case 13:
return _getMethod_NumItems_V13(moduleIdx, callIdx);
case 12:
return _getMethod_NumItems_V12(moduleIdx, callIdx);
default:
return parser_tx_version_not_supported;
}
Expand All @@ -52,8 +48,6 @@ const char* _getMethod_ModuleName(uint32_t transactionVersion, uint8_t moduleIdx
switch (transactionVersion) {
case 13:
return _getMethod_ModuleName_V13(moduleIdx);
case 12:
return _getMethod_ModuleName_V12(moduleIdx);
default:
return NULL;
}
Expand All @@ -64,8 +58,6 @@ const char* _getMethod_Name(uint32_t transactionVersion, uint8_t moduleIdx, uint
switch (transactionVersion) {
case 13:
return _getMethod_Name_V13(moduleIdx, callIdx);
case 12:
return _getMethod_Name_V12(moduleIdx, callIdx);
default:
return 0;
}
Expand All @@ -76,8 +68,6 @@ const char* _getMethod_ItemName(uint32_t transactionVersion, uint8_t moduleIdx,
switch (transactionVersion) {
case 13:
return _getMethod_ItemName_V13(moduleIdx, callIdx, itemIdx);
case 12:
return _getMethod_ItemName_V12(moduleIdx, callIdx, itemIdx);
default:
return NULL;
}
Expand All @@ -91,9 +81,6 @@ parser_error_t _getMethod_ItemValue(uint32_t transactionVersion, pd_Method_t* m,
case 13:
return _getMethod_ItemValue_V13(&m->V13, moduleIdx, callIdx, itemIdx, outValue,
outValueLen, pageIdx, pageCount);
case 12:
return _getMethod_ItemValue_V12(&m->V12, moduleIdx, callIdx, itemIdx, outValue,
outValueLen, pageIdx, pageCount);
default:
return parser_tx_version_not_supported;
}
Expand All @@ -104,8 +91,6 @@ bool _getMethod_ItemIsExpert(uint32_t transactionVersion, uint8_t moduleIdx, uin
switch (transactionVersion) {
case 13:
return _getMethod_ItemIsExpert_V13(moduleIdx, callIdx, itemIdx);
case 12:
return _getMethod_ItemIsExpert_V12(moduleIdx, callIdx, itemIdx);
default:
return false;
}
Expand All @@ -116,8 +101,6 @@ bool _getMethod_IsNestingSupported(uint32_t transactionVersion, uint8_t moduleId
switch (transactionVersion) {
case 13:
return _getMethod_IsNestingSupported_V13(moduleIdx, callIdx);
case 12:
return _getMethod_IsNestingSupported_V12(moduleIdx, callIdx);
default:
return false;
}
Expand Down
6 changes: 1 addition & 5 deletions app/src/substrate/substrate_dispatch.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* (c) 2019 - 2022 Zondax GmbH
* (c) 2019 - 2022 Zondax AG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -21,7 +21,6 @@ extern "C" {

#include "parser_common.h"
#include "stdbool.h"
#include "substrate_dispatch_V12.h"
#include "substrate_dispatch_V13.h"
#include <stddef.h>
#include <stdint.h>
Expand All @@ -36,9 +35,6 @@ extern "C" {
case 13: \
return PD_CALL_##CALL##_V13; \
\
case 12: \
return PD_CALL_##CALL##_V12; \
\
default: \
return 0; \
} \
Expand Down
Loading

0 comments on commit 974b873

Please sign in to comment.