From 8cdfe2874696838108624c8a498f3fe3d57293e4 Mon Sep 17 00:00:00 2001 From: 0xPxt Date: Tue, 29 Oct 2024 20:46:49 +0100 Subject: [PATCH 1/5] nanoS light version --- .github/workflows/main.yml | 75 +- .github/workflows/nanos.yml | 37 - app/src/substrate/substrate_dispatch_V7.c | 2321 +++++++++++---------- app/src/substrate/substrate_methods_V7.h | 363 ++-- 4 files changed, 1403 insertions(+), 1393 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0486d98..03c0af6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -116,7 +116,44 @@ jobs: name: snapshots-tmp path: tests_zemu/snapshots-tmp/ -# Comment out nanoS build, the device is not supported anymore. + build_package_nanos: + needs: [configure, build, build_ledger, test_zemu] + if: ${{ github.ref == 'refs/heads/main' }} + runs-on: ubuntu-latest + container: + image: zondax/ledger-app-builder:latest + options: --user ${{ needs.configure.outputs.uid_gid }} + env: + BOLOS_SDK: /opt/nanos-secure-sdk + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true + - name: Install deps + run: pip install ledgerblue + + - name: Build NanoS + shell: bash -l {0} + run: | + make SUBSTRATE_PARSER_FULL=0 PRODUCTION_BUILD=0 + mv ./app/pkg/installer_s.sh ./app/pkg/installer_nanos.sh + - name: Set tag + id: nanos_light + run: echo "tag_name=$(./app/pkg/installer_nanos.sh version)" >> $GITHUB_OUTPUT + - name: Create or Update Release (1) + id: create_release_0 + uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + files: ./app/pkg/installer_nanos.sh + tag_name: ${{ steps.nanos_light.outputs.tag_name }} + draft: false + prerelease: false + + +# Comment out nanoS XL build, the device is not supported anymore due to the size limit. # The github workflow for the latest supported version is running in nanos.yml # size_nano_s: @@ -129,42 +166,6 @@ jobs: # echo "LNS app size: ${{needs.build_ledger.outputs.size}} KiB" # [ ${{needs.build_ledger.outputs.size}} -le $NANOS_LIMIT_SIZE ] -# build_package_nanos: -# needs: [configure, build, build_ledger, test_zemu] -# if: ${{ github.ref == 'refs/heads/main' }} -# runs-on: ubuntu-latest -# container: -# image: zondax/ledger-app-builder:latest -# options: --user ${{ needs.configure.outputs.uid_gid }} -# env: -# BOLOS_SDK: /opt/nanos-secure-sdk -# steps: -# - name: Checkout -# uses: actions/checkout@v4 -# with: -# submodules: true -# - name: Install deps -# run: pip install ledgerblue -# -# - name: Build NanoS -# shell: bash -l {0} -# run: | -# make SUBSTRATE_PARSER_FULL=0 PRODUCTION_BUILD=0 -# mv ./app/pkg/installer_s.sh ./app/pkg/installer_nanos.sh -# - name: Set tag -# id: nanos_light -# run: echo "tag_name=$(./app/pkg/installer_nanos.sh version)" >> $GITHUB_OUTPUT -# - name: Create or Update Release (1) -# id: create_release_0 -# uses: softprops/action-gh-release@v1 -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token -# with: -# files: ./app/pkg/installer_nanos.sh -# tag_name: ${{ steps.nanos_light.outputs.tag_name }} -# draft: false -# prerelease: false - # build_package_nanos_xl: # needs: [configure, build, build_ledger, test_zemu] # if: ${{ github.ref == 'refs/heads/main' }} diff --git a/.github/workflows/nanos.yml b/.github/workflows/nanos.yml index 0530a39..c822e27 100644 --- a/.github/workflows/nanos.yml +++ b/.github/workflows/nanos.yml @@ -65,43 +65,6 @@ jobs: echo "LNS app size: ${{needs.build_ledger.outputs.size}} KiB" [ ${{needs.build_ledger.outputs.size}} -le $NANOS_LIMIT_SIZE ] - build_package_nanos: - needs: [configure, build, build_ledger] - if: ${{ github.ref == 'refs/heads/main' }} - runs-on: ubuntu-latest - container: - image: zondax/ledger-app-builder:latest - options: --user ${{ needs.configure.outputs.uid_gid }} - env: - BOLOS_SDK: /opt/nanos-secure-sdk - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: 'v104.63001.3' - submodules: true - - name: Install deps - run: pip install ledgerblue - - - name: Build NanoS - shell: bash -l {0} - run: | - make SUBSTRATE_PARSER_FULL=0 PRODUCTION_BUILD=0 - mv ./app/pkg/installer_s.sh ./app/pkg/installer_nanos.sh - - name: Set tag - id: nanos_light - run: echo "tag_name=$(./app/pkg/installer_nanos.sh version)" >> $GITHUB_OUTPUT - - name: Create or Update Release (1) - id: create_release_0 - uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - files: ./app/pkg/installer_nanos.sh - tag_name: ${{ steps.nanos_light.outputs.tag_name }} - draft: false - prerelease: false - build_package_nanos_xl: needs: [configure, build, build_ledger] if: ${{ github.ref == 'refs/heads/main' }} diff --git a/app/src/substrate/substrate_dispatch_V7.c b/app/src/substrate/substrate_dispatch_V7.c index 9c66e14..637559a 100644 --- a/app/src/substrate/substrate_dispatch_V7.c +++ b/app/src/substrate/substrate_dispatch_V7.c @@ -62,39 +62,6 @@ __Z_INLINE parser_error_t _readMethod_identity_leave_identity_as_key_V7( return parser_ok; } -__Z_INLINE parser_error_t _readMethod_identity_add_claim_V7( - parser_context_t* c, pd_identity_add_claim_V7_t* m) -{ - CHECK_ERROR(_readIdentityId(c, &m->target)) - CHECK_ERROR(_readClaim(c, &m->claim)) - CHECK_ERROR(_readOptionMoment(c, &m->expiry)) - return parser_ok; -} - -__Z_INLINE parser_error_t _readMethod_identity_revoke_claim_V7( - parser_context_t* c, pd_identity_revoke_claim_V7_t* m) -{ - CHECK_ERROR(_readIdentityId(c, &m->target)) - CHECK_ERROR(_readClaim(c, &m->claim)) - return parser_ok; -} - -__Z_INLINE parser_error_t _readMethod_identity_freeze_secondary_keys_V7( - parser_context_t* c, pd_identity_freeze_secondary_keys_V7_t* m) -{ - UNUSED(c); - UNUSED(m); - return parser_ok; -} - -__Z_INLINE parser_error_t _readMethod_identity_unfreeze_secondary_keys_V7( - parser_context_t* c, pd_identity_unfreeze_secondary_keys_V7_t* m) -{ - UNUSED(c); - UNUSED(m); - return parser_ok; -} - __Z_INLINE parser_error_t _readMethod_identity_add_authorization_V7( parser_context_t* c, pd_identity_add_authorization_V7_t* m) { @@ -113,21 +80,6 @@ __Z_INLINE parser_error_t _readMethod_identity_remove_authorization_V7( return parser_ok; } -__Z_INLINE parser_error_t _readMethod_identity_add_secondary_keys_with_authorization_V7( - parser_context_t* c, pd_identity_add_secondary_keys_with_authorization_V7_t* m) -{ - CHECK_ERROR(_readVecSecondaryKeyWithAuthAccountId(c, &m->additional_keys)) - CHECK_ERROR(_readMoment(c, &m->expires_at)) - return parser_ok; -} - -__Z_INLINE parser_error_t _readMethod_identity_remove_secondary_keys_V7( - parser_context_t* c, pd_identity_remove_secondary_keys_V7_t* m) -{ - CHECK_ERROR(_readVecAccountId(c, &m->keys_to_remove)) - return parser_ok; -} - __Z_INLINE parser_error_t _readMethod_multisig_create_multisig_V7( parser_context_t* c, pd_multisig_create_multisig_V7_t* m) { @@ -217,25 +169,6 @@ __Z_INLINE parser_error_t _readMethod_staking_rebond_V7( return parser_ok; } -__Z_INLINE parser_error_t _readMethod_pips_propose_V7( - parser_context_t* c, pd_pips_propose_V7_t* m) -{ - CHECK_ERROR(_readProposal(c, &m->proposal)) - CHECK_ERROR(_readBalance(c, &m->deposit)) - CHECK_ERROR(_readOptionUrl(c, &m->url)) - CHECK_ERROR(_readOptionPipDescription(c, &m->description)) - return parser_ok; -} - -__Z_INLINE parser_error_t _readMethod_pips_vote_V7( - parser_context_t* c, pd_pips_vote_V7_t* m) -{ - CHECK_ERROR(_readPipId(c, &m->id)) - CHECK_ERROR(_readbool(c, &m->aye_or_nay)) - CHECK_ERROR(_readBalance(c, &m->deposit)) - return parser_ok; -} - __Z_INLINE parser_error_t _readMethod_utility_batch_V7( parser_context_t* c, pd_utility_batch_V7_t* m) { @@ -245,32 +178,6 @@ __Z_INLINE parser_error_t _readMethod_utility_batch_V7( #ifdef SUBSTRATE_PARSER_FULL #ifndef TARGET_NANOS -__Z_INLINE parser_error_t _readMethod_sudo_sudo_V7( - parser_context_t* c, pd_sudo_sudo_V7_t* m) -{ - CHECK_ERROR(_readCall(c, &m->call)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_sudo_sudo_unchecked_weight_V7( - parser_context_t* c, pd_sudo_sudo_unchecked_weight_V7_t* m) -{ - CHECK_ERROR(_readCall(c, &m->call)) - CHECK_ERROR(_readWeight(c, &m->_weight)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_sudo_set_key_V7( - parser_context_t* c, pd_sudo_set_key_V7_t* m) -{ - CHECK_ERROR(_readLookupasStaticLookupSource(c, &m->new_)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_sudo_sudo_as_V7( - parser_context_t* c, pd_sudo_sudo_as_V7_t* m) -{ - CHECK_ERROR(_readLookupasStaticLookupSource(c, &m->who)) - CHECK_ERROR(_readCall(c, &m->call)) - return parser_ok; -} __Z_INLINE parser_error_t _readMethod_asset_add_mandatory_mediators_V7( parser_context_t* c, pd_asset_add_mandatory_mediators_V7_t* m) { @@ -401,100 +308,6 @@ __Z_INLINE parser_error_t _readMethod_corporateballot_remove_ballot_V7( CHECK_ERROR(_readCAId(c, &m->ca_id)) return parser_ok; } -__Z_INLINE parser_error_t _readMethod_pips_set_prune_historical_pips_V7( - parser_context_t* c, pd_pips_set_prune_historical_pips_V7_t* m) -{ - CHECK_ERROR(_readbool(c, &m->prune)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_set_min_proposal_deposit_V7( - parser_context_t* c, pd_pips_set_min_proposal_deposit_V7_t* m) -{ - CHECK_ERROR(_readBalance(c, &m->deposit)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_set_default_enactment_period_V7( - parser_context_t* c, pd_pips_set_default_enactment_period_V7_t* m) -{ - CHECK_ERROR(_readBlockNumber(c, &m->duration)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_set_pending_pip_expiry_V7( - parser_context_t* c, pd_pips_set_pending_pip_expiry_V7_t* m) -{ - CHECK_ERROR(_readMaybeBlockBlockNumber(c, &m->expiry)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_set_max_pip_skip_count_V7( - parser_context_t* c, pd_pips_set_max_pip_skip_count_V7_t* m) -{ - CHECK_ERROR(_readSkippedCount(c, &m->max)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_set_active_pip_limit_V7( - parser_context_t* c, pd_pips_set_active_pip_limit_V7_t* m) -{ - CHECK_ERROR(_readu32(c, &m->limit)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_approve_committee_proposal_V7( - parser_context_t* c, pd_pips_approve_committee_proposal_V7_t* m) -{ - CHECK_ERROR(_readPipId(c, &m->id)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_reject_proposal_V7( - parser_context_t* c, pd_pips_reject_proposal_V7_t* m) -{ - CHECK_ERROR(_readPipId(c, &m->id)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_prune_proposal_V7( - parser_context_t* c, pd_pips_prune_proposal_V7_t* m) -{ - CHECK_ERROR(_readPipId(c, &m->id)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_reschedule_execution_V7( - parser_context_t* c, pd_pips_reschedule_execution_V7_t* m) -{ - CHECK_ERROR(_readPipId(c, &m->id)) - CHECK_ERROR(_readOptionBlockNumber(c, &m->until)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_clear_snapshot_V7( - parser_context_t* c, pd_pips_clear_snapshot_V7_t* m) -{ - UNUSED(c); - UNUSED(m); - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_snapshot_V7( - parser_context_t* c, pd_pips_snapshot_V7_t* m) -{ - UNUSED(c); - UNUSED(m); - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_enact_snapshot_results_V7( - parser_context_t* c, pd_pips_enact_snapshot_results_V7_t* m) -{ - CHECK_ERROR(_readVecTuplePipIdSnapshotResult(c, &m->results)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_execute_scheduled_pip_V7( - parser_context_t* c, pd_pips_execute_scheduled_pip_V7_t* m) -{ - CHECK_ERROR(_readPipId(c, &m->id)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_pips_expire_scheduled_pip_V7( - parser_context_t* c, pd_pips_expire_scheduled_pip_V7_t* m) -{ - CHECK_ERROR(_readIdentityId(c, &m->did)) - CHECK_ERROR(_readPipId(c, &m->id)) - return parser_ok; -} __Z_INLINE parser_error_t _readMethod_portfolio_allow_identity_to_create_portfolios_V7( parser_context_t* c, pd_portfolio_allow_identity_to_create_portfolios_V7_t* m) { @@ -600,31 +413,6 @@ __Z_INLINE parser_error_t _readMethod_nft_controller_transfer_V7( CHECK_ERROR(_readPortfolioKind(c, &m->callers_portfolio_kind)) return parser_ok; } -__Z_INLINE parser_error_t _readMethod_electionprovidermultiphase_set_minimum_untrusted_score_V7( - parser_context_t* c, pd_electionprovidermultiphase_set_minimum_untrusted_score_V7_t* m) -{ - CHECK_ERROR(_readOptionElectionScore(c, &m->maybe_next_score)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_electionprovidermultiphase_set_emergency_election_result_V7( - parser_context_t* c, pd_electionprovidermultiphase_set_emergency_election_result_V7_t* m) -{ - CHECK_ERROR(_readSupportsAccountId(c, &m->supports)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_electionprovidermultiphase_submit_V7( - parser_context_t* c, pd_electionprovidermultiphase_submit_V7_t* m) -{ - CHECK_ERROR(_readBoxRawSolutionSolutionOfMinerConfig(c, &m->raw_solution)) - return parser_ok; -} -__Z_INLINE parser_error_t _readMethod_electionprovidermultiphase_governance_fallback_V7( - parser_context_t* c, pd_electionprovidermultiphase_governance_fallback_V7_t* m) -{ - CHECK_ERROR(_readOptionu32(c, &m->maybe_max_voters)) - CHECK_ERROR(_readOptionu32(c, &m->maybe_max_targets)) - return parser_ok; -} #endif __Z_INLINE parser_error_t _readMethod_system_remark_V7( parser_context_t* c, pd_system_remark_V7_t* m) @@ -762,6 +550,39 @@ __Z_INLINE parser_error_t _readMethod_identity_change_cdd_requirement_for_mk_rot return parser_ok; } +__Z_INLINE parser_error_t _readMethod_identity_add_claim_V7( + parser_context_t* c, pd_identity_add_claim_V7_t* m) +{ + CHECK_ERROR(_readIdentityId(c, &m->target)) + CHECK_ERROR(_readClaim(c, &m->claim)) + CHECK_ERROR(_readOptionMoment(c, &m->expiry)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_identity_revoke_claim_V7( + parser_context_t* c, pd_identity_revoke_claim_V7_t* m) +{ + CHECK_ERROR(_readIdentityId(c, &m->target)) + CHECK_ERROR(_readClaim(c, &m->claim)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_identity_freeze_secondary_keys_V7( + parser_context_t* c, pd_identity_freeze_secondary_keys_V7_t* m) +{ + UNUSED(c); + UNUSED(m); + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_identity_unfreeze_secondary_keys_V7( + parser_context_t* c, pd_identity_unfreeze_secondary_keys_V7_t* m) +{ + UNUSED(c); + UNUSED(m); + return parser_ok; +} + __Z_INLINE parser_error_t _readMethod_identity_gc_add_cdd_claim_V7( parser_context_t* c, pd_identity_gc_add_cdd_claim_V7_t* m) { @@ -793,6 +614,14 @@ __Z_INLINE parser_error_t _readMethod_identity_rotate_primary_key_to_secondary_V return parser_ok; } +__Z_INLINE parser_error_t _readMethod_identity_add_secondary_keys_with_authorization_V7( + parser_context_t* c, pd_identity_add_secondary_keys_with_authorization_V7_t* m) +{ + CHECK_ERROR(_readVecSecondaryKeyWithAuthAccountId(c, &m->additional_keys)) + CHECK_ERROR(_readMoment(c, &m->expires_at)) + return parser_ok; +} + __Z_INLINE parser_error_t _readMethod_identity_set_secondary_key_permissions_V7( parser_context_t* c, pd_identity_set_secondary_key_permissions_V7_t* m) { @@ -801,9 +630,16 @@ __Z_INLINE parser_error_t _readMethod_identity_set_secondary_key_permissions_V7( return parser_ok; } -__Z_INLINE parser_error_t _readMethod_identity_register_custom_claim_type_V7( - parser_context_t* c, pd_identity_register_custom_claim_type_V7_t* m) -{ +__Z_INLINE parser_error_t _readMethod_identity_remove_secondary_keys_V7( + parser_context_t* c, pd_identity_remove_secondary_keys_V7_t* m) +{ + CHECK_ERROR(_readVecAccountId(c, &m->keys_to_remove)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_identity_register_custom_claim_type_V7( + parser_context_t* c, pd_identity_register_custom_claim_type_V7_t* m) +{ CHECK_ERROR(_readVecu8(c, &m->ty)) return parser_ok; } @@ -1483,6 +1319,36 @@ __Z_INLINE parser_error_t _readMethod_session_purge_keys_V7( return parser_ok; } +__Z_INLINE parser_error_t _readMethod_sudo_sudo_V7( + parser_context_t* c, pd_sudo_sudo_V7_t* m) +{ + CHECK_ERROR(_readCall(c, &m->call)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_sudo_sudo_unchecked_weight_V7( + parser_context_t* c, pd_sudo_sudo_unchecked_weight_V7_t* m) +{ + CHECK_ERROR(_readCall(c, &m->call)) + CHECK_ERROR(_readWeight(c, &m->_weight)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_sudo_set_key_V7( + parser_context_t* c, pd_sudo_set_key_V7_t* m) +{ + CHECK_ERROR(_readLookupasStaticLookupSource(c, &m->new_)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_sudo_sudo_as_V7( + parser_context_t* c, pd_sudo_sudo_as_V7_t* m) +{ + CHECK_ERROR(_readLookupasStaticLookupSource(c, &m->who)) + CHECK_ERROR(_readCall(c, &m->call)) + return parser_ok; +} + __Z_INLINE parser_error_t _readMethod_asset_register_unique_ticker_V7( parser_context_t* c, pd_asset_register_unique_ticker_V7_t* m) { @@ -1878,6 +1744,134 @@ __Z_INLINE parser_error_t _readMethod_compliancemanager_change_compliance_requir return parser_ok; } +__Z_INLINE parser_error_t _readMethod_pips_set_prune_historical_pips_V7( + parser_context_t* c, pd_pips_set_prune_historical_pips_V7_t* m) +{ + CHECK_ERROR(_readbool(c, &m->prune)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_set_min_proposal_deposit_V7( + parser_context_t* c, pd_pips_set_min_proposal_deposit_V7_t* m) +{ + CHECK_ERROR(_readBalance(c, &m->deposit)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_set_default_enactment_period_V7( + parser_context_t* c, pd_pips_set_default_enactment_period_V7_t* m) +{ + CHECK_ERROR(_readBlockNumber(c, &m->duration)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_set_pending_pip_expiry_V7( + parser_context_t* c, pd_pips_set_pending_pip_expiry_V7_t* m) +{ + CHECK_ERROR(_readMaybeBlockBlockNumber(c, &m->expiry)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_set_max_pip_skip_count_V7( + parser_context_t* c, pd_pips_set_max_pip_skip_count_V7_t* m) +{ + CHECK_ERROR(_readSkippedCount(c, &m->max)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_set_active_pip_limit_V7( + parser_context_t* c, pd_pips_set_active_pip_limit_V7_t* m) +{ + CHECK_ERROR(_readu32(c, &m->limit)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_propose_V7( + parser_context_t* c, pd_pips_propose_V7_t* m) +{ + CHECK_ERROR(_readProposal(c, &m->proposal)) + CHECK_ERROR(_readBalance(c, &m->deposit)) + CHECK_ERROR(_readOptionUrl(c, &m->url)) + CHECK_ERROR(_readOptionPipDescription(c, &m->description)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_vote_V7( + parser_context_t* c, pd_pips_vote_V7_t* m) +{ + CHECK_ERROR(_readPipId(c, &m->id)) + CHECK_ERROR(_readbool(c, &m->aye_or_nay)) + CHECK_ERROR(_readBalance(c, &m->deposit)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_approve_committee_proposal_V7( + parser_context_t* c, pd_pips_approve_committee_proposal_V7_t* m) +{ + CHECK_ERROR(_readPipId(c, &m->id)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_reject_proposal_V7( + parser_context_t* c, pd_pips_reject_proposal_V7_t* m) +{ + CHECK_ERROR(_readPipId(c, &m->id)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_prune_proposal_V7( + parser_context_t* c, pd_pips_prune_proposal_V7_t* m) +{ + CHECK_ERROR(_readPipId(c, &m->id)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_reschedule_execution_V7( + parser_context_t* c, pd_pips_reschedule_execution_V7_t* m) +{ + CHECK_ERROR(_readPipId(c, &m->id)) + CHECK_ERROR(_readOptionBlockNumber(c, &m->until)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_clear_snapshot_V7( + parser_context_t* c, pd_pips_clear_snapshot_V7_t* m) +{ + UNUSED(c); + UNUSED(m); + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_snapshot_V7( + parser_context_t* c, pd_pips_snapshot_V7_t* m) +{ + UNUSED(c); + UNUSED(m); + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_enact_snapshot_results_V7( + parser_context_t* c, pd_pips_enact_snapshot_results_V7_t* m) +{ + CHECK_ERROR(_readVecTuplePipIdSnapshotResult(c, &m->results)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_execute_scheduled_pip_V7( + parser_context_t* c, pd_pips_execute_scheduled_pip_V7_t* m) +{ + CHECK_ERROR(_readPipId(c, &m->id)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_pips_expire_scheduled_pip_V7( + parser_context_t* c, pd_pips_expire_scheduled_pip_V7_t* m) +{ + CHECK_ERROR(_readIdentityId(c, &m->did)) + CHECK_ERROR(_readPipId(c, &m->id)) + return parser_ok; +} + __Z_INLINE parser_error_t _readMethod_portfolio_create_portfolio_V7( parser_context_t* c, pd_portfolio_create_portfolio_V7_t* m) { @@ -2543,6 +2537,35 @@ __Z_INLINE parser_error_t _readMethod_electionprovidermultiphase_submit_unsigned return parser_ok; } +__Z_INLINE parser_error_t _readMethod_electionprovidermultiphase_set_minimum_untrusted_score_V7( + parser_context_t* c, pd_electionprovidermultiphase_set_minimum_untrusted_score_V7_t* m) +{ + CHECK_ERROR(_readOptionElectionScore(c, &m->maybe_next_score)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_electionprovidermultiphase_set_emergency_election_result_V7( + parser_context_t* c, pd_electionprovidermultiphase_set_emergency_election_result_V7_t* m) +{ + CHECK_ERROR(_readSupportsAccountId(c, &m->supports)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_electionprovidermultiphase_submit_V7( + parser_context_t* c, pd_electionprovidermultiphase_submit_V7_t* m) +{ + CHECK_ERROR(_readBoxRawSolutionSolutionOfMinerConfig(c, &m->raw_solution)) + return parser_ok; +} + +__Z_INLINE parser_error_t _readMethod_electionprovidermultiphase_governance_fallback_V7( + parser_context_t* c, pd_electionprovidermultiphase_governance_fallback_V7_t* m) +{ + CHECK_ERROR(_readOptionu32(c, &m->maybe_max_voters)) + CHECK_ERROR(_readOptionu32(c, &m->maybe_max_targets)) + return parser_ok; +} + #endif parser_error_t _readMethod_V7( @@ -2570,30 +2593,12 @@ parser_error_t _readMethod_V7( case 1797: /* module 7 call 5 */ CHECK_ERROR(_readMethod_identity_leave_identity_as_key_V7(c, &method->nested.identity_leave_identity_as_key_V7)) break; - case 1798: /* module 7 call 6 */ - CHECK_ERROR(_readMethod_identity_add_claim_V7(c, &method->nested.identity_add_claim_V7)) - break; - case 1799: /* module 7 call 7 */ - CHECK_ERROR(_readMethod_identity_revoke_claim_V7(c, &method->nested.identity_revoke_claim_V7)) - break; - case 1800: /* module 7 call 8 */ - CHECK_ERROR(_readMethod_identity_freeze_secondary_keys_V7(c, &method->nested.identity_freeze_secondary_keys_V7)) - break; - case 1801: /* module 7 call 9 */ - CHECK_ERROR(_readMethod_identity_unfreeze_secondary_keys_V7(c, &method->nested.identity_unfreeze_secondary_keys_V7)) - break; case 1802: /* module 7 call 10 */ CHECK_ERROR(_readMethod_identity_add_authorization_V7(c, &method->nested.identity_add_authorization_V7)) break; case 1803: /* module 7 call 11 */ CHECK_ERROR(_readMethod_identity_remove_authorization_V7(c, &method->nested.identity_remove_authorization_V7)) break; - case 1808: /* module 7 call 16 */ - CHECK_ERROR(_readMethod_identity_add_secondary_keys_with_authorization_V7(c, &method->nested.identity_add_secondary_keys_with_authorization_V7)) - break; - case 1810: /* module 7 call 18 */ - CHECK_ERROR(_readMethod_identity_remove_secondary_keys_V7(c, &method->nested.identity_remove_secondary_keys_V7)) - break; case 3840: /* module 15 call 0 */ CHECK_ERROR(_readMethod_multisig_create_multisig_V7(c, &method->nested.multisig_create_multisig_V7)) break; @@ -2630,30 +2635,12 @@ parser_error_t _readMethod_V7( case 4371: /* module 17 call 19 */ CHECK_ERROR(_readMethod_staking_rebond_V7(c, &method->nested.staking_rebond_V7)) break; - case 8454: /* module 33 call 6 */ - CHECK_ERROR(_readMethod_pips_propose_V7(c, &method->nested.pips_propose_V7)) - break; - case 8455: /* module 33 call 7 */ - CHECK_ERROR(_readMethod_pips_vote_V7(c, &method->nested.pips_vote_V7)) - break; case 10496: /* module 41 call 0 */ CHECK_ERROR(_readMethod_utility_batch_V7(c, &method->nested.utility_batch_V7)) break; #ifdef SUBSTRATE_PARSER_FULL #ifndef TARGET_NANOS - case 6400: /* module 25 call 0 */ - CHECK_ERROR(_readMethod_sudo_sudo_V7(c, &method->basic.sudo_sudo_V7)) - break; - case 6401: /* module 25 call 1 */ - CHECK_ERROR(_readMethod_sudo_sudo_unchecked_weight_V7(c, &method->basic.sudo_sudo_unchecked_weight_V7)) - break; - case 6402: /* module 25 call 2 */ - CHECK_ERROR(_readMethod_sudo_set_key_V7(c, &method->basic.sudo_set_key_V7)) - break; - case 6403: /* module 25 call 3 */ - CHECK_ERROR(_readMethod_sudo_sudo_as_V7(c, &method->basic.sudo_sudo_as_V7)) - break; case 6685: /* module 26 call 29 */ CHECK_ERROR(_readMethod_asset_add_mandatory_mediators_V7(c, &method->basic.asset_add_mandatory_mediators_V7)) break; @@ -2705,65 +2692,20 @@ parser_error_t _readMethod_V7( case 7941: /* module 31 call 5 */ CHECK_ERROR(_readMethod_corporateballot_remove_ballot_V7(c, &method->nested.corporateballot_remove_ballot_V7)) break; - case 8448: /* module 33 call 0 */ - CHECK_ERROR(_readMethod_pips_set_prune_historical_pips_V7(c, &method->nested.pips_set_prune_historical_pips_V7)) - break; - case 8449: /* module 33 call 1 */ - CHECK_ERROR(_readMethod_pips_set_min_proposal_deposit_V7(c, &method->nested.pips_set_min_proposal_deposit_V7)) + case 8712: /* module 34 call 8 */ + CHECK_ERROR(_readMethod_portfolio_allow_identity_to_create_portfolios_V7(c, &method->basic.portfolio_allow_identity_to_create_portfolios_V7)) break; - case 8450: /* module 33 call 2 */ - CHECK_ERROR(_readMethod_pips_set_default_enactment_period_V7(c, &method->nested.pips_set_default_enactment_period_V7)) + case 8713: /* module 34 call 9 */ + CHECK_ERROR(_readMethod_portfolio_revoke_create_portfolios_permission_V7(c, &method->basic.portfolio_revoke_create_portfolios_permission_V7)) break; - case 8451: /* module 33 call 3 */ - CHECK_ERROR(_readMethod_pips_set_pending_pip_expiry_V7(c, &method->nested.pips_set_pending_pip_expiry_V7)) + case 8714: /* module 34 call 10 */ + CHECK_ERROR(_readMethod_portfolio_create_custody_portfolio_V7(c, &method->basic.portfolio_create_custody_portfolio_V7)) break; - case 8452: /* module 33 call 4 */ - CHECK_ERROR(_readMethod_pips_set_max_pip_skip_count_V7(c, &method->nested.pips_set_max_pip_skip_count_V7)) + case 9487: /* module 37 call 15 */ + CHECK_ERROR(_readMethod_settlement_affirm_with_receipts_with_count_V7(c, &method->basic.settlement_affirm_with_receipts_with_count_V7)) break; - case 8453: /* module 33 call 5 */ - CHECK_ERROR(_readMethod_pips_set_active_pip_limit_V7(c, &method->nested.pips_set_active_pip_limit_V7)) - break; - case 8456: /* module 33 call 8 */ - CHECK_ERROR(_readMethod_pips_approve_committee_proposal_V7(c, &method->nested.pips_approve_committee_proposal_V7)) - break; - case 8457: /* module 33 call 9 */ - CHECK_ERROR(_readMethod_pips_reject_proposal_V7(c, &method->nested.pips_reject_proposal_V7)) - break; - case 8458: /* module 33 call 10 */ - CHECK_ERROR(_readMethod_pips_prune_proposal_V7(c, &method->nested.pips_prune_proposal_V7)) - break; - case 8459: /* module 33 call 11 */ - CHECK_ERROR(_readMethod_pips_reschedule_execution_V7(c, &method->nested.pips_reschedule_execution_V7)) - break; - case 8460: /* module 33 call 12 */ - CHECK_ERROR(_readMethod_pips_clear_snapshot_V7(c, &method->nested.pips_clear_snapshot_V7)) - break; - case 8461: /* module 33 call 13 */ - CHECK_ERROR(_readMethod_pips_snapshot_V7(c, &method->nested.pips_snapshot_V7)) - break; - case 8462: /* module 33 call 14 */ - CHECK_ERROR(_readMethod_pips_enact_snapshot_results_V7(c, &method->nested.pips_enact_snapshot_results_V7)) - break; - case 8463: /* module 33 call 15 */ - CHECK_ERROR(_readMethod_pips_execute_scheduled_pip_V7(c, &method->nested.pips_execute_scheduled_pip_V7)) - break; - case 8464: /* module 33 call 16 */ - CHECK_ERROR(_readMethod_pips_expire_scheduled_pip_V7(c, &method->nested.pips_expire_scheduled_pip_V7)) - break; - case 8712: /* module 34 call 8 */ - CHECK_ERROR(_readMethod_portfolio_allow_identity_to_create_portfolios_V7(c, &method->basic.portfolio_allow_identity_to_create_portfolios_V7)) - break; - case 8713: /* module 34 call 9 */ - CHECK_ERROR(_readMethod_portfolio_revoke_create_portfolios_permission_V7(c, &method->basic.portfolio_revoke_create_portfolios_permission_V7)) - break; - case 8714: /* module 34 call 10 */ - CHECK_ERROR(_readMethod_portfolio_create_custody_portfolio_V7(c, &method->basic.portfolio_create_custody_portfolio_V7)) - break; - case 9487: /* module 37 call 15 */ - CHECK_ERROR(_readMethod_settlement_affirm_with_receipts_with_count_V7(c, &method->basic.settlement_affirm_with_receipts_with_count_V7)) - break; - case 9488: /* module 37 call 16 */ - CHECK_ERROR(_readMethod_settlement_affirm_instruction_with_count_V7(c, &method->basic.settlement_affirm_instruction_with_count_V7)) + case 9488: /* module 37 call 16 */ + CHECK_ERROR(_readMethod_settlement_affirm_instruction_with_count_V7(c, &method->basic.settlement_affirm_instruction_with_count_V7)) break; case 9489: /* module 37 call 17 */ CHECK_ERROR(_readMethod_settlement_reject_instruction_with_count_V7(c, &method->basic.settlement_reject_instruction_with_count_V7)) @@ -2789,18 +2731,6 @@ parser_error_t _readMethod_V7( case 12547: /* module 49 call 3 */ CHECK_ERROR(_readMethod_nft_controller_transfer_V7(c, &method->basic.nft_controller_transfer_V7)) break; - case 12801: /* module 50 call 1 */ - CHECK_ERROR(_readMethod_electionprovidermultiphase_set_minimum_untrusted_score_V7(c, &method->basic.electionprovidermultiphase_set_minimum_untrusted_score_V7)) - break; - case 12802: /* module 50 call 2 */ - CHECK_ERROR(_readMethod_electionprovidermultiphase_set_emergency_election_result_V7(c, &method->basic.electionprovidermultiphase_set_emergency_election_result_V7)) - break; - case 12803: /* module 50 call 3 */ - CHECK_ERROR(_readMethod_electionprovidermultiphase_submit_V7(c, &method->basic.electionprovidermultiphase_submit_V7)) - break; - case 12804: /* module 50 call 4 */ - CHECK_ERROR(_readMethod_electionprovidermultiphase_governance_fallback_V7(c, &method->basic.electionprovidermultiphase_governance_fallback_V7)) - break; #endif case 0: /* module 0 call 0 */ CHECK_ERROR(_readMethod_system_remark_V7(c, &method->nested.system_remark_V7)) @@ -2856,6 +2786,18 @@ parser_error_t _readMethod_V7( case 1795: /* module 7 call 3 */ CHECK_ERROR(_readMethod_identity_change_cdd_requirement_for_mk_rotation_V7(c, &method->nested.identity_change_cdd_requirement_for_mk_rotation_V7)) break; + case 1798: /* module 7 call 6 */ + CHECK_ERROR(_readMethod_identity_add_claim_V7(c, &method->nested.identity_add_claim_V7)) + break; + case 1799: /* module 7 call 7 */ + CHECK_ERROR(_readMethod_identity_revoke_claim_V7(c, &method->nested.identity_revoke_claim_V7)) + break; + case 1800: /* module 7 call 8 */ + CHECK_ERROR(_readMethod_identity_freeze_secondary_keys_V7(c, &method->nested.identity_freeze_secondary_keys_V7)) + break; + case 1801: /* module 7 call 9 */ + CHECK_ERROR(_readMethod_identity_unfreeze_secondary_keys_V7(c, &method->nested.identity_unfreeze_secondary_keys_V7)) + break; case 1804: /* module 7 call 12 */ CHECK_ERROR(_readMethod_identity_gc_add_cdd_claim_V7(c, &method->nested.identity_gc_add_cdd_claim_V7)) break; @@ -2868,9 +2810,15 @@ parser_error_t _readMethod_V7( case 1807: /* module 7 call 15 */ CHECK_ERROR(_readMethod_identity_rotate_primary_key_to_secondary_V7(c, &method->nested.identity_rotate_primary_key_to_secondary_V7)) break; + case 1808: /* module 7 call 16 */ + CHECK_ERROR(_readMethod_identity_add_secondary_keys_with_authorization_V7(c, &method->nested.identity_add_secondary_keys_with_authorization_V7)) + break; case 1809: /* module 7 call 17 */ CHECK_ERROR(_readMethod_identity_set_secondary_key_permissions_V7(c, &method->nested.identity_set_secondary_key_permissions_V7)) break; + case 1810: /* module 7 call 18 */ + CHECK_ERROR(_readMethod_identity_remove_secondary_keys_V7(c, &method->nested.identity_remove_secondary_keys_V7)) + break; case 1811: /* module 7 call 19 */ CHECK_ERROR(_readMethod_identity_register_custom_claim_type_V7(c, &method->nested.identity_register_custom_claim_type_V7)) break; @@ -3138,6 +3086,18 @@ parser_error_t _readMethod_V7( case 4865: /* module 19 call 1 */ CHECK_ERROR(_readMethod_session_purge_keys_V7(c, &method->nested.session_purge_keys_V7)) break; + case 6400: /* module 25 call 0 */ + CHECK_ERROR(_readMethod_sudo_sudo_V7(c, &method->basic.sudo_sudo_V7)) + break; + case 6401: /* module 25 call 1 */ + CHECK_ERROR(_readMethod_sudo_sudo_unchecked_weight_V7(c, &method->basic.sudo_sudo_unchecked_weight_V7)) + break; + case 6402: /* module 25 call 2 */ + CHECK_ERROR(_readMethod_sudo_set_key_V7(c, &method->basic.sudo_set_key_V7)) + break; + case 6403: /* module 25 call 3 */ + CHECK_ERROR(_readMethod_sudo_sudo_as_V7(c, &method->basic.sudo_sudo_as_V7)) + break; case 6656: /* module 26 call 0 */ CHECK_ERROR(_readMethod_asset_register_unique_ticker_V7(c, &method->basic.asset_register_unique_ticker_V7)) break; @@ -3285,6 +3245,57 @@ parser_error_t _readMethod_V7( case 7432: /* module 29 call 8 */ CHECK_ERROR(_readMethod_compliancemanager_change_compliance_requirement_V7(c, &method->nested.compliancemanager_change_compliance_requirement_V7)) break; + case 8448: /* module 33 call 0 */ + CHECK_ERROR(_readMethod_pips_set_prune_historical_pips_V7(c, &method->nested.pips_set_prune_historical_pips_V7)) + break; + case 8449: /* module 33 call 1 */ + CHECK_ERROR(_readMethod_pips_set_min_proposal_deposit_V7(c, &method->nested.pips_set_min_proposal_deposit_V7)) + break; + case 8450: /* module 33 call 2 */ + CHECK_ERROR(_readMethod_pips_set_default_enactment_period_V7(c, &method->nested.pips_set_default_enactment_period_V7)) + break; + case 8451: /* module 33 call 3 */ + CHECK_ERROR(_readMethod_pips_set_pending_pip_expiry_V7(c, &method->nested.pips_set_pending_pip_expiry_V7)) + break; + case 8452: /* module 33 call 4 */ + CHECK_ERROR(_readMethod_pips_set_max_pip_skip_count_V7(c, &method->nested.pips_set_max_pip_skip_count_V7)) + break; + case 8453: /* module 33 call 5 */ + CHECK_ERROR(_readMethod_pips_set_active_pip_limit_V7(c, &method->nested.pips_set_active_pip_limit_V7)) + break; + case 8454: /* module 33 call 6 */ + CHECK_ERROR(_readMethod_pips_propose_V7(c, &method->nested.pips_propose_V7)) + break; + case 8455: /* module 33 call 7 */ + CHECK_ERROR(_readMethod_pips_vote_V7(c, &method->nested.pips_vote_V7)) + break; + case 8456: /* module 33 call 8 */ + CHECK_ERROR(_readMethod_pips_approve_committee_proposal_V7(c, &method->nested.pips_approve_committee_proposal_V7)) + break; + case 8457: /* module 33 call 9 */ + CHECK_ERROR(_readMethod_pips_reject_proposal_V7(c, &method->nested.pips_reject_proposal_V7)) + break; + case 8458: /* module 33 call 10 */ + CHECK_ERROR(_readMethod_pips_prune_proposal_V7(c, &method->nested.pips_prune_proposal_V7)) + break; + case 8459: /* module 33 call 11 */ + CHECK_ERROR(_readMethod_pips_reschedule_execution_V7(c, &method->nested.pips_reschedule_execution_V7)) + break; + case 8460: /* module 33 call 12 */ + CHECK_ERROR(_readMethod_pips_clear_snapshot_V7(c, &method->nested.pips_clear_snapshot_V7)) + break; + case 8461: /* module 33 call 13 */ + CHECK_ERROR(_readMethod_pips_snapshot_V7(c, &method->nested.pips_snapshot_V7)) + break; + case 8462: /* module 33 call 14 */ + CHECK_ERROR(_readMethod_pips_enact_snapshot_results_V7(c, &method->nested.pips_enact_snapshot_results_V7)) + break; + case 8463: /* module 33 call 15 */ + CHECK_ERROR(_readMethod_pips_execute_scheduled_pip_V7(c, &method->nested.pips_execute_scheduled_pip_V7)) + break; + case 8464: /* module 33 call 16 */ + CHECK_ERROR(_readMethod_pips_expire_scheduled_pip_V7(c, &method->nested.pips_expire_scheduled_pip_V7)) + break; case 8704: /* module 34 call 0 */ CHECK_ERROR(_readMethod_portfolio_create_portfolio_V7(c, &method->nested.portfolio_create_portfolio_V7)) break; @@ -3510,6 +3521,18 @@ parser_error_t _readMethod_V7( case 12800: /* module 50 call 0 */ CHECK_ERROR(_readMethod_electionprovidermultiphase_submit_unsigned_V7(c, &method->basic.electionprovidermultiphase_submit_unsigned_V7)) break; + case 12801: /* module 50 call 1 */ + CHECK_ERROR(_readMethod_electionprovidermultiphase_set_minimum_untrusted_score_V7(c, &method->basic.electionprovidermultiphase_set_minimum_untrusted_score_V7)) + break; + case 12802: /* module 50 call 2 */ + CHECK_ERROR(_readMethod_electionprovidermultiphase_set_emergency_election_result_V7(c, &method->basic.electionprovidermultiphase_set_emergency_election_result_V7)) + break; + case 12803: /* module 50 call 3 */ + CHECK_ERROR(_readMethod_electionprovidermultiphase_submit_V7(c, &method->basic.electionprovidermultiphase_submit_V7)) + break; + case 12804: /* module 50 call 4 */ + CHECK_ERROR(_readMethod_electionprovidermultiphase_governance_fallback_V7(c, &method->basic.electionprovidermultiphase_governance_fallback_V7)) + break; #endif default: return parser_unexpected_callIndex; @@ -3534,14 +3557,10 @@ const char* _getMethod_ModuleName_V7(uint8_t moduleIdx) return STR_MO_MULTISIG; case 17: return STR_MO_STAKING; - case 33: - return STR_MO_PIPS; case 41: return STR_MO_UTILITY; #ifdef SUBSTRATE_PARSER_FULL #ifndef TARGET_NANOS - case 25: - return STR_MO_SUDO; case 30: return STR_MO_CORPORATEACTION; case 31: @@ -3569,6 +3588,8 @@ const char* _getMethod_ModuleName_V7(uint8_t moduleIdx) return STR_MO_UPGRADECOMMITTEEMEMBERSHIP; case 19: return STR_MO_SESSION; + case 25: + return STR_MO_SUDO; case 26: return STR_MO_ASSET; case 27: @@ -3577,6 +3598,8 @@ const char* _getMethod_ModuleName_V7(uint8_t moduleIdx) return STR_MO_CHECKPOINT; case 29: return STR_MO_COMPLIANCEMANAGER; + case 33: + return STR_MO_PIPS; case 34: return STR_MO_PORTFOLIO; case 35: @@ -3624,22 +3647,10 @@ const char* _getMethod_Name_V7(uint8_t moduleIdx, uint8_t callIdx) return STR_ME_JOIN_IDENTITY_AS_KEY; case 1797: /* module 7 call 5 */ return STR_ME_LEAVE_IDENTITY_AS_KEY; - case 1798: /* module 7 call 6 */ - return STR_ME_ADD_CLAIM; - case 1799: /* module 7 call 7 */ - return STR_ME_REVOKE_CLAIM; - case 1800: /* module 7 call 8 */ - return STR_ME_FREEZE_SECONDARY_KEYS; - case 1801: /* module 7 call 9 */ - return STR_ME_UNFREEZE_SECONDARY_KEYS; case 1802: /* module 7 call 10 */ return STR_ME_ADD_AUTHORIZATION; case 1803: /* module 7 call 11 */ return STR_ME_REMOVE_AUTHORIZATION; - case 1808: /* module 7 call 16 */ - return STR_ME_ADD_SECONDARY_KEYS_WITH_AUTHORIZATION; - case 1810: /* module 7 call 18 */ - return STR_ME_REMOVE_SECONDARY_KEYS; case 3840: /* module 15 call 0 */ return STR_ME_CREATE_MULTISIG; case 3849: /* module 15 call 9 */ @@ -3664,10 +3675,6 @@ const char* _getMethod_Name_V7(uint8_t moduleIdx, uint8_t callIdx) return STR_ME_SET_CONTROLLER; case 4371: /* module 17 call 19 */ return STR_ME_REBOND; - case 8454: /* module 33 call 6 */ - return STR_ME_PROPOSE; - case 8455: /* module 33 call 7 */ - return STR_ME_VOTE; case 10496: /* module 41 call 0 */ return STR_ME_BATCH; default: @@ -3682,14 +3689,6 @@ const char* _getMethod_Name_V7_ParserFull(uint16_t callPrivIdx) switch (callPrivIdx) { #ifdef SUBSTRATE_PARSER_FULL #ifndef TARGET_NANOS - case 6400: /* module 25 call 0 */ - return STR_ME_SUDO; - case 6401: /* module 25 call 1 */ - return STR_ME_SUDO_UNCHECKED_WEIGHT; - case 6402: /* module 25 call 2 */ - return STR_ME_SET_KEY; - case 6403: /* module 25 call 3 */ - return STR_ME_SUDO_AS; case 6685: /* module 26 call 29 */ return STR_ME_ADD_MANDATORY_MEDIATORS; case 6686: /* module 26 call 30 */ @@ -3724,36 +3723,6 @@ const char* _getMethod_Name_V7_ParserFull(uint16_t callPrivIdx) return STR_ME_CHANGE_RCV; case 7941: /* module 31 call 5 */ return STR_ME_REMOVE_BALLOT; - case 8448: /* module 33 call 0 */ - return STR_ME_SET_PRUNE_HISTORICAL_PIPS; - case 8449: /* module 33 call 1 */ - return STR_ME_SET_MIN_PROPOSAL_DEPOSIT; - case 8450: /* module 33 call 2 */ - return STR_ME_SET_DEFAULT_ENACTMENT_PERIOD; - case 8451: /* module 33 call 3 */ - return STR_ME_SET_PENDING_PIP_EXPIRY; - case 8452: /* module 33 call 4 */ - return STR_ME_SET_MAX_PIP_SKIP_COUNT; - case 8453: /* module 33 call 5 */ - return STR_ME_SET_ACTIVE_PIP_LIMIT; - case 8456: /* module 33 call 8 */ - return STR_ME_APPROVE_COMMITTEE_PROPOSAL; - case 8457: /* module 33 call 9 */ - return STR_ME_REJECT_PROPOSAL; - case 8458: /* module 33 call 10 */ - return STR_ME_PRUNE_PROPOSAL; - case 8459: /* module 33 call 11 */ - return STR_ME_RESCHEDULE_EXECUTION; - case 8460: /* module 33 call 12 */ - return STR_ME_CLEAR_SNAPSHOT; - case 8461: /* module 33 call 13 */ - return STR_ME_SNAPSHOT; - case 8462: /* module 33 call 14 */ - return STR_ME_ENACT_SNAPSHOT_RESULTS; - case 8463: /* module 33 call 15 */ - return STR_ME_EXECUTE_SCHEDULED_PIP; - case 8464: /* module 33 call 16 */ - return STR_ME_EXPIRE_SCHEDULED_PIP; case 8712: /* module 34 call 8 */ return STR_ME_ALLOW_IDENTITY_TO_CREATE_PORTFOLIOS; case 8713: /* module 34 call 9 */ @@ -3780,14 +3749,6 @@ const char* _getMethod_Name_V7_ParserFull(uint16_t callPrivIdx) return STR_ME_REJECT_INSTRUCTION_AS_MEDIATOR; case 12547: /* module 49 call 3 */ return STR_ME_CONTROLLER_TRANSFER; - case 12801: /* module 50 call 1 */ - return STR_ME_SET_MINIMUM_UNTRUSTED_SCORE; - case 12802: /* module 50 call 2 */ - return STR_ME_SET_EMERGENCY_ELECTION_RESULT; - case 12803: /* module 50 call 3 */ - return STR_ME_SUBMIT; - case 12804: /* module 50 call 4 */ - return STR_ME_GOVERNANCE_FALLBACK; #endif case 0: /* module 0 call 0 */ return STR_ME_REMARK; @@ -3825,6 +3786,14 @@ const char* _getMethod_Name_V7_ParserFull(uint16_t callPrivIdx) return STR_ME_INVALIDATE_CDD_CLAIMS; case 1795: /* module 7 call 3 */ return STR_ME_CHANGE_CDD_REQUIREMENT_FOR_MK_ROTATION; + case 1798: /* module 7 call 6 */ + return STR_ME_ADD_CLAIM; + case 1799: /* module 7 call 7 */ + return STR_ME_REVOKE_CLAIM; + case 1800: /* module 7 call 8 */ + return STR_ME_FREEZE_SECONDARY_KEYS; + case 1801: /* module 7 call 9 */ + return STR_ME_UNFREEZE_SECONDARY_KEYS; case 1804: /* module 7 call 12 */ return STR_ME_GC_ADD_CDD_CLAIM; case 1805: /* module 7 call 13 */ @@ -3833,8 +3802,12 @@ const char* _getMethod_Name_V7_ParserFull(uint16_t callPrivIdx) return STR_ME_REVOKE_CLAIM_BY_INDEX; case 1807: /* module 7 call 15 */ return STR_ME_ROTATE_PRIMARY_KEY_TO_SECONDARY; + case 1808: /* module 7 call 16 */ + return STR_ME_ADD_SECONDARY_KEYS_WITH_AUTHORIZATION; case 1809: /* module 7 call 17 */ return STR_ME_SET_SECONDARY_KEY_PERMISSIONS; + case 1810: /* module 7 call 18 */ + return STR_ME_REMOVE_SECONDARY_KEYS; case 1811: /* module 7 call 19 */ return STR_ME_REGISTER_CUSTOM_CLAIM_TYPE; case 1812: /* module 7 call 20 */ @@ -4013,6 +3986,14 @@ const char* _getMethod_Name_V7_ParserFull(uint16_t callPrivIdx) return STR_ME_SET_KEYS; case 4865: /* module 19 call 1 */ return STR_ME_PURGE_KEYS; + case 6400: /* module 25 call 0 */ + return STR_ME_SUDO; + case 6401: /* module 25 call 1 */ + return STR_ME_SUDO_UNCHECKED_WEIGHT; + case 6402: /* module 25 call 2 */ + return STR_ME_SET_KEY; + case 6403: /* module 25 call 3 */ + return STR_ME_SUDO_AS; case 6656: /* module 26 call 0 */ return STR_ME_REGISTER_UNIQUE_TICKER; case 6657: /* module 26 call 1 */ @@ -4111,25 +4092,59 @@ const char* _getMethod_Name_V7_ParserFull(uint16_t callPrivIdx) return STR_ME_REMOVE_DEFAULT_TRUSTED_CLAIM_ISSUER; case 7432: /* module 29 call 8 */ return STR_ME_CHANGE_COMPLIANCE_REQUIREMENT; - case 8704: /* module 34 call 0 */ - return STR_ME_CREATE_PORTFOLIO; - case 8705: /* module 34 call 1 */ - return STR_ME_DELETE_PORTFOLIO; - case 8706: /* module 34 call 2 */ - return STR_ME_RENAME_PORTFOLIO; - case 8707: /* module 34 call 3 */ - return STR_ME_QUIT_PORTFOLIO_CUSTODY; - case 8708: /* module 34 call 4 */ - return STR_ME_ACCEPT_PORTFOLIO_CUSTODY; - case 8709: /* module 34 call 5 */ - return STR_ME_MOVE_PORTFOLIO_FUNDS; - case 8710: /* module 34 call 6 */ - return STR_ME_PRE_APPROVE_PORTFOLIO; - case 8711: /* module 34 call 7 */ - return STR_ME_REMOVE_PORTFOLIO_PRE_APPROVAL; - case 8960: /* module 35 call 0 */ - return STR_ME_CHANGE_COEFFICIENT; - case 9472: /* module 37 call 0 */ + case 8448: /* module 33 call 0 */ + return STR_ME_SET_PRUNE_HISTORICAL_PIPS; + case 8449: /* module 33 call 1 */ + return STR_ME_SET_MIN_PROPOSAL_DEPOSIT; + case 8450: /* module 33 call 2 */ + return STR_ME_SET_DEFAULT_ENACTMENT_PERIOD; + case 8451: /* module 33 call 3 */ + return STR_ME_SET_PENDING_PIP_EXPIRY; + case 8452: /* module 33 call 4 */ + return STR_ME_SET_MAX_PIP_SKIP_COUNT; + case 8453: /* module 33 call 5 */ + return STR_ME_SET_ACTIVE_PIP_LIMIT; + case 8454: /* module 33 call 6 */ + return STR_ME_PROPOSE; + case 8455: /* module 33 call 7 */ + return STR_ME_VOTE; + case 8456: /* module 33 call 8 */ + return STR_ME_APPROVE_COMMITTEE_PROPOSAL; + case 8457: /* module 33 call 9 */ + return STR_ME_REJECT_PROPOSAL; + case 8458: /* module 33 call 10 */ + return STR_ME_PRUNE_PROPOSAL; + case 8459: /* module 33 call 11 */ + return STR_ME_RESCHEDULE_EXECUTION; + case 8460: /* module 33 call 12 */ + return STR_ME_CLEAR_SNAPSHOT; + case 8461: /* module 33 call 13 */ + return STR_ME_SNAPSHOT; + case 8462: /* module 33 call 14 */ + return STR_ME_ENACT_SNAPSHOT_RESULTS; + case 8463: /* module 33 call 15 */ + return STR_ME_EXECUTE_SCHEDULED_PIP; + case 8464: /* module 33 call 16 */ + return STR_ME_EXPIRE_SCHEDULED_PIP; + case 8704: /* module 34 call 0 */ + return STR_ME_CREATE_PORTFOLIO; + case 8705: /* module 34 call 1 */ + return STR_ME_DELETE_PORTFOLIO; + case 8706: /* module 34 call 2 */ + return STR_ME_RENAME_PORTFOLIO; + case 8707: /* module 34 call 3 */ + return STR_ME_QUIT_PORTFOLIO_CUSTODY; + case 8708: /* module 34 call 4 */ + return STR_ME_ACCEPT_PORTFOLIO_CUSTODY; + case 8709: /* module 34 call 5 */ + return STR_ME_MOVE_PORTFOLIO_FUNDS; + case 8710: /* module 34 call 6 */ + return STR_ME_PRE_APPROVE_PORTFOLIO; + case 8711: /* module 34 call 7 */ + return STR_ME_REMOVE_PORTFOLIO_PRE_APPROVAL; + case 8960: /* module 35 call 0 */ + return STR_ME_CHANGE_COEFFICIENT; + case 9472: /* module 37 call 0 */ return STR_ME_CREATE_VENUE; case 9473: /* module 37 call 1 */ return STR_ME_UPDATE_VENUE_DETAILS; @@ -4261,6 +4276,14 @@ const char* _getMethod_Name_V7_ParserFull(uint16_t callPrivIdx) return STR_ME_REDEEM_NFT; case 12800: /* module 50 call 0 */ return STR_ME_SUBMIT_UNSIGNED; + case 12801: /* module 50 call 1 */ + return STR_ME_SET_MINIMUM_UNTRUSTED_SCORE; + case 12802: /* module 50 call 2 */ + return STR_ME_SET_EMERGENCY_ELECTION_RESULT; + case 12803: /* module 50 call 3 */ + return STR_ME_SUBMIT; + case 12804: /* module 50 call 4 */ + return STR_ME_GOVERNANCE_FALLBACK; #endif default: return NULL; @@ -4284,22 +4307,10 @@ uint8_t _getMethod_NumItems_V7(uint8_t moduleIdx, uint8_t callIdx) return 1; case 1797: /* module 7 call 5 */ return 0; - case 1798: /* module 7 call 6 */ - return 3; - case 1799: /* module 7 call 7 */ - return 2; - case 1800: /* module 7 call 8 */ - return 0; - case 1801: /* module 7 call 9 */ - return 0; case 1802: /* module 7 call 10 */ return 3; case 1803: /* module 7 call 11 */ return 3; - case 1808: /* module 7 call 16 */ - return 2; - case 1810: /* module 7 call 18 */ - return 1; case 3840: /* module 15 call 0 */ return 3; case 3849: /* module 15 call 9 */ @@ -4324,22 +4335,10 @@ uint8_t _getMethod_NumItems_V7(uint8_t moduleIdx, uint8_t callIdx) return 1; case 4371: /* module 17 call 19 */ return 1; - case 8454: /* module 33 call 6 */ - return 4; - case 8455: /* module 33 call 7 */ - return 3; case 10496: /* module 41 call 0 */ return 1; #ifdef SUBSTRATE_PARSER_FULL #ifndef TARGET_NANOS - case 6400: /* module 25 call 0 */ - return 1; - case 6401: /* module 25 call 1 */ - return 2; - case 6402: /* module 25 call 2 */ - return 1; - case 6403: /* module 25 call 3 */ - return 2; case 6685: /* module 26 call 29 */ return 2; case 6686: /* module 26 call 30 */ @@ -4374,36 +4373,6 @@ uint8_t _getMethod_NumItems_V7(uint8_t moduleIdx, uint8_t callIdx) return 2; case 7941: /* module 31 call 5 */ return 1; - case 8448: /* module 33 call 0 */ - return 1; - case 8449: /* module 33 call 1 */ - return 1; - case 8450: /* module 33 call 2 */ - return 1; - case 8451: /* module 33 call 3 */ - return 1; - case 8452: /* module 33 call 4 */ - return 1; - case 8453: /* module 33 call 5 */ - return 1; - case 8456: /* module 33 call 8 */ - return 1; - case 8457: /* module 33 call 9 */ - return 1; - case 8458: /* module 33 call 10 */ - return 1; - case 8459: /* module 33 call 11 */ - return 2; - case 8460: /* module 33 call 12 */ - return 0; - case 8461: /* module 33 call 13 */ - return 0; - case 8462: /* module 33 call 14 */ - return 1; - case 8463: /* module 33 call 15 */ - return 1; - case 8464: /* module 33 call 16 */ - return 2; case 8712: /* module 34 call 8 */ return 1; case 8713: /* module 34 call 9 */ @@ -4430,14 +4399,6 @@ uint8_t _getMethod_NumItems_V7(uint8_t moduleIdx, uint8_t callIdx) return 2; case 12547: /* module 49 call 3 */ return 3; - case 12801: /* module 50 call 1 */ - return 1; - case 12802: /* module 50 call 2 */ - return 1; - case 12803: /* module 50 call 3 */ - return 1; - case 12804: /* module 50 call 4 */ - return 2; #endif case 0: /* module 0 call 0 */ return 1; @@ -4475,6 +4436,14 @@ uint8_t _getMethod_NumItems_V7(uint8_t moduleIdx, uint8_t callIdx) return 3; case 1795: /* module 7 call 3 */ return 1; + case 1798: /* module 7 call 6 */ + return 3; + case 1799: /* module 7 call 7 */ + return 2; + case 1800: /* module 7 call 8 */ + return 0; + case 1801: /* module 7 call 9 */ + return 0; case 1804: /* module 7 call 12 */ return 1; case 1805: /* module 7 call 13 */ @@ -4483,8 +4452,12 @@ uint8_t _getMethod_NumItems_V7(uint8_t moduleIdx, uint8_t callIdx) return 3; case 1807: /* module 7 call 15 */ return 2; + case 1808: /* module 7 call 16 */ + return 2; case 1809: /* module 7 call 17 */ return 2; + case 1810: /* module 7 call 18 */ + return 1; case 1811: /* module 7 call 19 */ return 1; case 1812: /* module 7 call 20 */ @@ -4663,6 +4636,14 @@ uint8_t _getMethod_NumItems_V7(uint8_t moduleIdx, uint8_t callIdx) return 2; case 4865: /* module 19 call 1 */ return 0; + case 6400: /* module 25 call 0 */ + return 1; + case 6401: /* module 25 call 1 */ + return 2; + case 6402: /* module 25 call 2 */ + return 1; + case 6403: /* module 25 call 3 */ + return 2; case 6656: /* module 26 call 0 */ return 1; case 6657: /* module 26 call 1 */ @@ -4761,6 +4742,40 @@ uint8_t _getMethod_NumItems_V7(uint8_t moduleIdx, uint8_t callIdx) return 2; case 7432: /* module 29 call 8 */ return 2; + case 8448: /* module 33 call 0 */ + return 1; + case 8449: /* module 33 call 1 */ + return 1; + case 8450: /* module 33 call 2 */ + return 1; + case 8451: /* module 33 call 3 */ + return 1; + case 8452: /* module 33 call 4 */ + return 1; + case 8453: /* module 33 call 5 */ + return 1; + case 8454: /* module 33 call 6 */ + return 4; + case 8455: /* module 33 call 7 */ + return 3; + case 8456: /* module 33 call 8 */ + return 1; + case 8457: /* module 33 call 9 */ + return 1; + case 8458: /* module 33 call 10 */ + return 1; + case 8459: /* module 33 call 11 */ + return 2; + case 8460: /* module 33 call 12 */ + return 0; + case 8461: /* module 33 call 13 */ + return 0; + case 8462: /* module 33 call 14 */ + return 1; + case 8463: /* module 33 call 15 */ + return 1; + case 8464: /* module 33 call 16 */ + return 2; case 8704: /* module 34 call 0 */ return 1; case 8705: /* module 34 call 1 */ @@ -4911,6 +4926,14 @@ uint8_t _getMethod_NumItems_V7(uint8_t moduleIdx, uint8_t callIdx) return 4; case 12800: /* module 50 call 0 */ return 2; + case 12801: /* module 50 call 1 */ + return 1; + case 12802: /* module 50 call 2 */ + return 1; + case 12803: /* module 50 call 3 */ + return 1; + case 12804: /* module 50 call 4 */ + return 2; #endif default: return 0; @@ -4965,36 +4988,6 @@ const char* _getMethod_ItemName_V7(uint8_t moduleIdx, uint8_t callIdx, uint8_t i default: return NULL; } - case 1798: /* module 7 call 6 */ - switch (itemIdx) { - case 0: - return STR_IT_target; - case 1: - return STR_IT_claim; - case 2: - return STR_IT_expiry; - default: - return NULL; - } - case 1799: /* module 7 call 7 */ - switch (itemIdx) { - case 0: - return STR_IT_target; - case 1: - return STR_IT_claim; - default: - return NULL; - } - case 1800: /* module 7 call 8 */ - switch (itemIdx) { - default: - return NULL; - } - case 1801: /* module 7 call 9 */ - switch (itemIdx) { - default: - return NULL; - } case 1802: /* module 7 call 10 */ switch (itemIdx) { case 0: @@ -5017,22 +5010,6 @@ const char* _getMethod_ItemName_V7(uint8_t moduleIdx, uint8_t callIdx, uint8_t i default: return NULL; } - case 1808: /* module 7 call 16 */ - switch (itemIdx) { - case 0: - return STR_IT_additional_keys; - case 1: - return STR_IT_expires_at; - default: - return NULL; - } - case 1810: /* module 7 call 18 */ - switch (itemIdx) { - case 0: - return STR_IT_keys_to_remove; - default: - return NULL; - } case 3840: /* module 15 call 0 */ switch (itemIdx) { case 0: @@ -5123,81 +5100,25 @@ const char* _getMethod_ItemName_V7(uint8_t moduleIdx, uint8_t callIdx, uint8_t i default: return NULL; } - case 8454: /* module 33 call 6 */ + case 10496: /* module 41 call 0 */ switch (itemIdx) { case 0: - return STR_IT_proposal; - case 1: - return STR_IT_deposit; - case 2: - return STR_IT_url; - case 3: - return STR_IT_description; + return STR_IT_calls; default: return NULL; } - case 8455: /* module 33 call 7 */ +#ifdef SUBSTRATE_PARSER_FULL +#ifndef TARGET_NANOS + case 6685: /* module 26 call 29 */ switch (itemIdx) { case 0: - return STR_IT_id; + return STR_IT_asset_id; case 1: - return STR_IT_aye_or_nay; - case 2: - return STR_IT_deposit; + return STR_IT_mediators; default: return NULL; } - case 10496: /* module 41 call 0 */ - switch (itemIdx) { - case 0: - return STR_IT_calls; - default: - return NULL; - } -#ifdef SUBSTRATE_PARSER_FULL -#ifndef TARGET_NANOS - case 6400: /* module 25 call 0 */ - switch (itemIdx) { - case 0: - return STR_IT_call; - default: - return NULL; - } - case 6401: /* module 25 call 1 */ - switch (itemIdx) { - case 0: - return STR_IT_call; - case 1: - return STR_IT__weight; - default: - return NULL; - } - case 6402: /* module 25 call 2 */ - switch (itemIdx) { - case 0: - return STR_IT_new_; - default: - return NULL; - } - case 6403: /* module 25 call 3 */ - switch (itemIdx) { - case 0: - return STR_IT_who; - case 1: - return STR_IT_call; - default: - return NULL; - } - case 6685: /* module 26 call 29 */ - switch (itemIdx) { - case 0: - return STR_IT_asset_id; - case 1: - return STR_IT_mediators; - default: - return NULL; - } - case 6686: /* module 26 call 30 */ + case 6686: /* module 26 call 30 */ switch (itemIdx) { case 0: return STR_IT_asset_id; @@ -5363,111 +5284,6 @@ const char* _getMethod_ItemName_V7(uint8_t moduleIdx, uint8_t callIdx, uint8_t i default: return NULL; } - case 8448: /* module 33 call 0 */ - switch (itemIdx) { - case 0: - return STR_IT_prune; - default: - return NULL; - } - case 8449: /* module 33 call 1 */ - switch (itemIdx) { - case 0: - return STR_IT_deposit; - default: - return NULL; - } - case 8450: /* module 33 call 2 */ - switch (itemIdx) { - case 0: - return STR_IT_duration; - default: - return NULL; - } - case 8451: /* module 33 call 3 */ - switch (itemIdx) { - case 0: - return STR_IT_expiry; - default: - return NULL; - } - case 8452: /* module 33 call 4 */ - switch (itemIdx) { - case 0: - return STR_IT_max; - default: - return NULL; - } - case 8453: /* module 33 call 5 */ - switch (itemIdx) { - case 0: - return STR_IT_limit; - default: - return NULL; - } - case 8456: /* module 33 call 8 */ - switch (itemIdx) { - case 0: - return STR_IT_id; - default: - return NULL; - } - case 8457: /* module 33 call 9 */ - switch (itemIdx) { - case 0: - return STR_IT_id; - default: - return NULL; - } - case 8458: /* module 33 call 10 */ - switch (itemIdx) { - case 0: - return STR_IT_id; - default: - return NULL; - } - case 8459: /* module 33 call 11 */ - switch (itemIdx) { - case 0: - return STR_IT_id; - case 1: - return STR_IT_until; - default: - return NULL; - } - case 8460: /* module 33 call 12 */ - switch (itemIdx) { - default: - return NULL; - } - case 8461: /* module 33 call 13 */ - switch (itemIdx) { - default: - return NULL; - } - case 8462: /* module 33 call 14 */ - switch (itemIdx) { - case 0: - return STR_IT_results; - default: - return NULL; - } - case 8463: /* module 33 call 15 */ - switch (itemIdx) { - case 0: - return STR_IT_id; - default: - return NULL; - } - case 8464: /* module 33 call 16 */ - switch (itemIdx) { - case 0: - return STR_IT_did; - case 1: - return STR_IT_id; - default: - return NULL; - } case 8712: /* module 34 call 8 */ switch (itemIdx) { case 0: @@ -5613,36 +5429,6 @@ const char* _getMethod_ItemName_V7(uint8_t moduleIdx, uint8_t callIdx, uint8_t i default: return NULL; } - case 12801: /* module 50 call 1 */ - switch (itemIdx) { - case 0: - return STR_IT_maybe_next_score; - default: - return NULL; - } - case 12802: /* module 50 call 2 */ - switch (itemIdx) { - case 0: - return STR_IT_supports; - default: - return NULL; - } - case 12803: /* module 50 call 3 */ - switch (itemIdx) { - case 0: - return STR_IT_raw_solution; - default: - return NULL; - } - case 12804: /* module 50 call 4 */ - switch (itemIdx) { - case 0: - return STR_IT_maybe_max_voters; - case 1: - return STR_IT_maybe_max_targets; - default: - return NULL; - } #endif case 0: /* module 0 call 0 */ switch (itemIdx) { @@ -5790,6 +5576,36 @@ const char* _getMethod_ItemName_V7(uint8_t moduleIdx, uint8_t callIdx, uint8_t i default: return NULL; } + case 1798: /* module 7 call 6 */ + switch (itemIdx) { + case 0: + return STR_IT_target; + case 1: + return STR_IT_claim; + case 2: + return STR_IT_expiry; + default: + return NULL; + } + case 1799: /* module 7 call 7 */ + switch (itemIdx) { + case 0: + return STR_IT_target; + case 1: + return STR_IT_claim; + default: + return NULL; + } + case 1800: /* module 7 call 8 */ + switch (itemIdx) { + default: + return NULL; + } + case 1801: /* module 7 call 9 */ + switch (itemIdx) { + default: + return NULL; + } case 1804: /* module 7 call 12 */ switch (itemIdx) { case 0: @@ -5824,6 +5640,15 @@ const char* _getMethod_ItemName_V7(uint8_t moduleIdx, uint8_t callIdx, uint8_t i default: return NULL; } + case 1808: /* module 7 call 16 */ + switch (itemIdx) { + case 0: + return STR_IT_additional_keys; + case 1: + return STR_IT_expires_at; + default: + return NULL; + } case 1809: /* module 7 call 17 */ switch (itemIdx) { case 0: @@ -5833,6 +5658,13 @@ const char* _getMethod_ItemName_V7(uint8_t moduleIdx, uint8_t callIdx, uint8_t i default: return NULL; } + case 1810: /* module 7 call 18 */ + switch (itemIdx) { + case 0: + return STR_IT_keys_to_remove; + default: + return NULL; + } case 1811: /* module 7 call 19 */ switch (itemIdx) { case 0: @@ -6538,43 +6370,75 @@ const char* _getMethod_ItemName_V7(uint8_t moduleIdx, uint8_t callIdx, uint8_t i default: return NULL; } - case 6656: /* module 26 call 0 */ + case 6400: /* module 25 call 0 */ switch (itemIdx) { case 0: - return STR_IT_ticker; + return STR_IT_call; default: return NULL; } - case 6657: /* module 26 call 1 */ + case 6401: /* module 25 call 1 */ switch (itemIdx) { case 0: - return STR_IT_auth_id; + return STR_IT_call; + case 1: + return STR_IT__weight; default: return NULL; } - case 6658: /* module 26 call 2 */ + case 6402: /* module 25 call 2 */ switch (itemIdx) { case 0: - return STR_IT_auth_id; + return STR_IT_new_; default: return NULL; } - case 6659: /* module 26 call 3 */ + case 6403: /* module 25 call 3 */ switch (itemIdx) { case 0: - return STR_IT_asset_name; + return STR_IT_who; case 1: - return STR_IT_divisible; - case 2: - return STR_IT_asset_type; - case 3: - return STR_IT_asset_identifiers; - case 4: - return STR_IT_funding_round_name; + return STR_IT_call; default: return NULL; } - case 6660: /* module 26 call 4 */ + case 6656: /* module 26 call 0 */ + switch (itemIdx) { + case 0: + return STR_IT_ticker; + default: + return NULL; + } + case 6657: /* module 26 call 1 */ + switch (itemIdx) { + case 0: + return STR_IT_auth_id; + default: + return NULL; + } + case 6658: /* module 26 call 2 */ + switch (itemIdx) { + case 0: + return STR_IT_auth_id; + default: + return NULL; + } + case 6659: /* module 26 call 3 */ + switch (itemIdx) { + case 0: + return STR_IT_asset_name; + case 1: + return STR_IT_divisible; + case 2: + return STR_IT_asset_type; + case 3: + return STR_IT_asset_identifiers; + case 4: + return STR_IT_funding_round_name; + default: + return NULL; + } + case 6660: /* module 26 call 4 */ switch (itemIdx) { case 0: return STR_IT_asset_id; @@ -6985,6 +6849,135 @@ const char* _getMethod_ItemName_V7(uint8_t moduleIdx, uint8_t callIdx, uint8_t i default: return NULL; } + case 8448: /* module 33 call 0 */ + switch (itemIdx) { + case 0: + return STR_IT_prune; + default: + return NULL; + } + case 8449: /* module 33 call 1 */ + switch (itemIdx) { + case 0: + return STR_IT_deposit; + default: + return NULL; + } + case 8450: /* module 33 call 2 */ + switch (itemIdx) { + case 0: + return STR_IT_duration; + default: + return NULL; + } + case 8451: /* module 33 call 3 */ + switch (itemIdx) { + case 0: + return STR_IT_expiry; + default: + return NULL; + } + case 8452: /* module 33 call 4 */ + switch (itemIdx) { + case 0: + return STR_IT_max; + default: + return NULL; + } + case 8453: /* module 33 call 5 */ + switch (itemIdx) { + case 0: + return STR_IT_limit; + default: + return NULL; + } + case 8454: /* module 33 call 6 */ + switch (itemIdx) { + case 0: + return STR_IT_proposal; + case 1: + return STR_IT_deposit; + case 2: + return STR_IT_url; + case 3: + return STR_IT_description; + default: + return NULL; + } + case 8455: /* module 33 call 7 */ + switch (itemIdx) { + case 0: + return STR_IT_id; + case 1: + return STR_IT_aye_or_nay; + case 2: + return STR_IT_deposit; + default: + return NULL; + } + case 8456: /* module 33 call 8 */ + switch (itemIdx) { + case 0: + return STR_IT_id; + default: + return NULL; + } + case 8457: /* module 33 call 9 */ + switch (itemIdx) { + case 0: + return STR_IT_id; + default: + return NULL; + } + case 8458: /* module 33 call 10 */ + switch (itemIdx) { + case 0: + return STR_IT_id; + default: + return NULL; + } + case 8459: /* module 33 call 11 */ + switch (itemIdx) { + case 0: + return STR_IT_id; + case 1: + return STR_IT_until; + default: + return NULL; + } + case 8460: /* module 33 call 12 */ + switch (itemIdx) { + default: + return NULL; + } + case 8461: /* module 33 call 13 */ + switch (itemIdx) { + default: + return NULL; + } + case 8462: /* module 33 call 14 */ + switch (itemIdx) { + case 0: + return STR_IT_results; + default: + return NULL; + } + case 8463: /* module 33 call 15 */ + switch (itemIdx) { + case 0: + return STR_IT_id; + default: + return NULL; + } + case 8464: /* module 33 call 16 */ + switch (itemIdx) { + case 0: + return STR_IT_did; + case 1: + return STR_IT_id; + default: + return NULL; + } case 8704: /* module 34 call 0 */ switch (itemIdx) { case 0: @@ -7790,6 +7783,36 @@ const char* _getMethod_ItemName_V7(uint8_t moduleIdx, uint8_t callIdx, uint8_t i default: return NULL; } + case 12801: /* module 50 call 1 */ + switch (itemIdx) { + case 0: + return STR_IT_maybe_next_score; + default: + return NULL; + } + case 12802: /* module 50 call 2 */ + switch (itemIdx) { + case 0: + return STR_IT_supports; + default: + return NULL; + } + case 12803: /* module 50 call 3 */ + switch (itemIdx) { + case 0: + return STR_IT_raw_solution; + default: + return NULL; + } + case 12804: /* module 50 call 4 */ + switch (itemIdx) { + case 0: + return STR_IT_maybe_max_voters; + case 1: + return STR_IT_maybe_max_targets; + default: + return NULL; + } #endif default: return NULL; @@ -7872,51 +7895,6 @@ parser_error_t _getMethod_ItemValue_V7( default: return parser_no_data; } - case 1798: /* module 7 call 6 */ - switch (itemIdx) { - case 0: /* identity_add_claim_V7 - target */; - return _toStringIdentityId( - &m->nested.identity_add_claim_V7.target, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* identity_add_claim_V7 - claim */; - return _toStringClaim( - &m->nested.identity_add_claim_V7.claim, - outValue, outValueLen, - pageIdx, pageCount); - case 2: /* identity_add_claim_V7 - expiry */; - return _toStringOptionMoment( - &m->nested.identity_add_claim_V7.expiry, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 1799: /* module 7 call 7 */ - switch (itemIdx) { - case 0: /* identity_revoke_claim_V7 - target */; - return _toStringIdentityId( - &m->nested.identity_revoke_claim_V7.target, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* identity_revoke_claim_V7 - claim */; - return _toStringClaim( - &m->nested.identity_revoke_claim_V7.claim, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 1800: /* module 7 call 8 */ - switch (itemIdx) { - default: - return parser_no_data; - } - case 1801: /* module 7 call 9 */ - switch (itemIdx) { - default: - return parser_no_data; - } case 1802: /* module 7 call 10 */ switch (itemIdx) { case 0: /* identity_add_authorization_V7 - target */; @@ -7957,41 +7935,16 @@ parser_error_t _getMethod_ItemValue_V7( default: return parser_no_data; } - case 1808: /* module 7 call 16 */ + case 3840: /* module 15 call 0 */ switch (itemIdx) { - case 0: /* identity_add_secondary_keys_with_authorization_V7 - additional_keys */; - return _toStringVecSecondaryKeyWithAuthAccountId( - &m->nested.identity_add_secondary_keys_with_authorization_V7.additional_keys, + case 0: /* multisig_create_multisig_V7 - signers */; + return _toStringBoundedVecAccountIdMaxSigners( + &m->nested.multisig_create_multisig_V7.signers, outValue, outValueLen, pageIdx, pageCount); - case 1: /* identity_add_secondary_keys_with_authorization_V7 - expires_at */; - return _toStringMoment( - &m->nested.identity_add_secondary_keys_with_authorization_V7.expires_at, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 1810: /* module 7 call 18 */ - switch (itemIdx) { - case 0: /* identity_remove_secondary_keys_V7 - keys_to_remove */; - return _toStringVecAccountId( - &m->nested.identity_remove_secondary_keys_V7.keys_to_remove, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 3840: /* module 15 call 0 */ - switch (itemIdx) { - case 0: /* multisig_create_multisig_V7 - signers */; - return _toStringBoundedVecAccountIdMaxSigners( - &m->nested.multisig_create_multisig_V7.signers, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* multisig_create_multisig_V7 - sigs_required */; - return _toStringu64( - &m->nested.multisig_create_multisig_V7.sigs_required, + case 1: /* multisig_create_multisig_V7 - sigs_required */; + return _toStringu64( + &m->nested.multisig_create_multisig_V7.sigs_required, outValue, outValueLen, pageIdx, pageCount); case 2: /* multisig_create_multisig_V7 - permissions */; @@ -8117,51 +8070,6 @@ parser_error_t _getMethod_ItemValue_V7( default: return parser_no_data; } - case 8454: /* module 33 call 6 */ - switch (itemIdx) { - case 0: /* pips_propose_V7 - proposal */; - return _toStringProposal( - &m->nested.pips_propose_V7.proposal, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* pips_propose_V7 - deposit */; - return _toStringBalance( - &m->nested.pips_propose_V7.deposit, - outValue, outValueLen, - pageIdx, pageCount); - case 2: /* pips_propose_V7 - url */; - return _toStringOptionUrl( - &m->nested.pips_propose_V7.url, - outValue, outValueLen, - pageIdx, pageCount); - case 3: /* pips_propose_V7 - description */; - return _toStringOptionPipDescription( - &m->nested.pips_propose_V7.description, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 8455: /* module 33 call 7 */ - switch (itemIdx) { - case 0: /* pips_vote_V7 - id */; - return _toStringPipId( - &m->nested.pips_vote_V7.id, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* pips_vote_V7 - aye_or_nay */; - return _toStringbool( - &m->nested.pips_vote_V7.aye_or_nay, - outValue, outValueLen, - pageIdx, pageCount); - case 2: /* pips_vote_V7 - deposit */; - return _toStringBalance( - &m->nested.pips_vote_V7.deposit, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } case 10496: /* module 41 call 0 */ switch (itemIdx) { case 0: /* utility_batch_V7 - calls */; @@ -8174,56 +8082,6 @@ parser_error_t _getMethod_ItemValue_V7( } #ifdef SUBSTRATE_PARSER_FULL #ifndef TARGET_NANOS - case 6400: /* module 25 call 0 */ - switch (itemIdx) { - case 0: /* sudo_sudo_V7 - call */; - return _toStringCall( - &m->basic.sudo_sudo_V7.call, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 6401: /* module 25 call 1 */ - switch (itemIdx) { - case 0: /* sudo_sudo_unchecked_weight_V7 - call */; - return _toStringCall( - &m->basic.sudo_sudo_unchecked_weight_V7.call, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* sudo_sudo_unchecked_weight_V7 - _weight */; - return _toStringWeight( - &m->basic.sudo_sudo_unchecked_weight_V7._weight, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 6402: /* module 25 call 2 */ - switch (itemIdx) { - case 0: /* sudo_set_key_V7 - new_ */; - return _toStringLookupasStaticLookupSource( - &m->basic.sudo_set_key_V7.new_, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 6403: /* module 25 call 3 */ - switch (itemIdx) { - case 0: /* sudo_sudo_as_V7 - who */; - return _toStringLookupasStaticLookupSource( - &m->basic.sudo_sudo_as_V7.who, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* sudo_sudo_as_V7 - call */; - return _toStringCall( - &m->basic.sudo_sudo_as_V7.call, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } case 6685: /* module 26 call 29 */ switch (itemIdx) { case 0: /* asset_add_mandatory_mediators_V7 - asset_id */; @@ -8439,246 +8297,96 @@ parser_error_t _getMethod_ItemValue_V7( default: return parser_no_data; } - case 7936: /* module 31 call 0 */ - switch (itemIdx) { - case 0: /* corporateballot_attach_ballot_V7 - ca_id */; - return _toStringCAId( - &m->nested.corporateballot_attach_ballot_V7.ca_id, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* corporateballot_attach_ballot_V7 - range */; - return _toStringBallotTimeRange( - &m->nested.corporateballot_attach_ballot_V7.range, - outValue, outValueLen, - pageIdx, pageCount); - case 2: /* corporateballot_attach_ballot_V7 - meta */; - return _toStringBallotMeta( - &m->nested.corporateballot_attach_ballot_V7.meta, - outValue, outValueLen, - pageIdx, pageCount); - case 3: /* corporateballot_attach_ballot_V7 - rcv */; - return _toStringbool( - &m->nested.corporateballot_attach_ballot_V7.rcv, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 7937: /* module 31 call 1 */ - switch (itemIdx) { - case 0: /* corporateballot_vote_V7 - ca_id */; - return _toStringCAId( - &m->nested.corporateballot_vote_V7.ca_id, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* corporateballot_vote_V7 - votes */; - return _toStringVecBallotVote( - &m->nested.corporateballot_vote_V7.votes, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 7938: /* module 31 call 2 */ - switch (itemIdx) { - case 0: /* corporateballot_change_end_V7 - ca_id */; - return _toStringCAId( - &m->nested.corporateballot_change_end_V7.ca_id, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* corporateballot_change_end_V7 - end */; - return _toStringMoment( - &m->nested.corporateballot_change_end_V7.end, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 7939: /* module 31 call 3 */ - switch (itemIdx) { - case 0: /* corporateballot_change_meta_V7 - ca_id */; - return _toStringCAId( - &m->nested.corporateballot_change_meta_V7.ca_id, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* corporateballot_change_meta_V7 - meta */; - return _toStringBallotMeta( - &m->nested.corporateballot_change_meta_V7.meta, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 7940: /* module 31 call 4 */ - switch (itemIdx) { - case 0: /* corporateballot_change_rcv_V7 - ca_id */; - return _toStringCAId( - &m->nested.corporateballot_change_rcv_V7.ca_id, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* corporateballot_change_rcv_V7 - rcv */; - return _toStringbool( - &m->nested.corporateballot_change_rcv_V7.rcv, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 7941: /* module 31 call 5 */ - switch (itemIdx) { - case 0: /* corporateballot_remove_ballot_V7 - ca_id */; - return _toStringCAId( - &m->nested.corporateballot_remove_ballot_V7.ca_id, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 8448: /* module 33 call 0 */ - switch (itemIdx) { - case 0: /* pips_set_prune_historical_pips_V7 - prune */; - return _toStringbool( - &m->nested.pips_set_prune_historical_pips_V7.prune, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 8449: /* module 33 call 1 */ - switch (itemIdx) { - case 0: /* pips_set_min_proposal_deposit_V7 - deposit */; - return _toStringBalance( - &m->nested.pips_set_min_proposal_deposit_V7.deposit, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 8450: /* module 33 call 2 */ - switch (itemIdx) { - case 0: /* pips_set_default_enactment_period_V7 - duration */; - return _toStringBlockNumber( - &m->nested.pips_set_default_enactment_period_V7.duration, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 8451: /* module 33 call 3 */ - switch (itemIdx) { - case 0: /* pips_set_pending_pip_expiry_V7 - expiry */; - return _toStringMaybeBlockBlockNumber( - &m->nested.pips_set_pending_pip_expiry_V7.expiry, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 8452: /* module 33 call 4 */ - switch (itemIdx) { - case 0: /* pips_set_max_pip_skip_count_V7 - max */; - return _toStringSkippedCount( - &m->nested.pips_set_max_pip_skip_count_V7.max, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 8453: /* module 33 call 5 */ - switch (itemIdx) { - case 0: /* pips_set_active_pip_limit_V7 - limit */; - return _toStringu32( - &m->nested.pips_set_active_pip_limit_V7.limit, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 8456: /* module 33 call 8 */ + case 7936: /* module 31 call 0 */ switch (itemIdx) { - case 0: /* pips_approve_committee_proposal_V7 - id */; - return _toStringPipId( - &m->nested.pips_approve_committee_proposal_V7.id, + case 0: /* corporateballot_attach_ballot_V7 - ca_id */; + return _toStringCAId( + &m->nested.corporateballot_attach_ballot_V7.ca_id, outValue, outValueLen, pageIdx, pageCount); - default: - return parser_no_data; - } - case 8457: /* module 33 call 9 */ - switch (itemIdx) { - case 0: /* pips_reject_proposal_V7 - id */; - return _toStringPipId( - &m->nested.pips_reject_proposal_V7.id, + case 1: /* corporateballot_attach_ballot_V7 - range */; + return _toStringBallotTimeRange( + &m->nested.corporateballot_attach_ballot_V7.range, outValue, outValueLen, pageIdx, pageCount); - default: - return parser_no_data; - } - case 8458: /* module 33 call 10 */ - switch (itemIdx) { - case 0: /* pips_prune_proposal_V7 - id */; - return _toStringPipId( - &m->nested.pips_prune_proposal_V7.id, + case 2: /* corporateballot_attach_ballot_V7 - meta */; + return _toStringBallotMeta( + &m->nested.corporateballot_attach_ballot_V7.meta, + outValue, outValueLen, + pageIdx, pageCount); + case 3: /* corporateballot_attach_ballot_V7 - rcv */; + return _toStringbool( + &m->nested.corporateballot_attach_ballot_V7.rcv, outValue, outValueLen, pageIdx, pageCount); default: return parser_no_data; } - case 8459: /* module 33 call 11 */ + case 7937: /* module 31 call 1 */ switch (itemIdx) { - case 0: /* pips_reschedule_execution_V7 - id */; - return _toStringPipId( - &m->nested.pips_reschedule_execution_V7.id, + case 0: /* corporateballot_vote_V7 - ca_id */; + return _toStringCAId( + &m->nested.corporateballot_vote_V7.ca_id, outValue, outValueLen, pageIdx, pageCount); - case 1: /* pips_reschedule_execution_V7 - until */; - return _toStringOptionBlockNumber( - &m->nested.pips_reschedule_execution_V7.until, + case 1: /* corporateballot_vote_V7 - votes */; + return _toStringVecBallotVote( + &m->nested.corporateballot_vote_V7.votes, outValue, outValueLen, pageIdx, pageCount); default: return parser_no_data; } - case 8460: /* module 33 call 12 */ - switch (itemIdx) { - default: - return parser_no_data; - } - case 8461: /* module 33 call 13 */ + case 7938: /* module 31 call 2 */ switch (itemIdx) { + case 0: /* corporateballot_change_end_V7 - ca_id */; + return _toStringCAId( + &m->nested.corporateballot_change_end_V7.ca_id, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* corporateballot_change_end_V7 - end */; + return _toStringMoment( + &m->nested.corporateballot_change_end_V7.end, + outValue, outValueLen, + pageIdx, pageCount); default: return parser_no_data; } - case 8462: /* module 33 call 14 */ + case 7939: /* module 31 call 3 */ switch (itemIdx) { - case 0: /* pips_enact_snapshot_results_V7 - results */; - return _toStringVecTuplePipIdSnapshotResult( - &m->nested.pips_enact_snapshot_results_V7.results, + case 0: /* corporateballot_change_meta_V7 - ca_id */; + return _toStringCAId( + &m->nested.corporateballot_change_meta_V7.ca_id, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* corporateballot_change_meta_V7 - meta */; + return _toStringBallotMeta( + &m->nested.corporateballot_change_meta_V7.meta, outValue, outValueLen, pageIdx, pageCount); default: return parser_no_data; } - case 8463: /* module 33 call 15 */ + case 7940: /* module 31 call 4 */ switch (itemIdx) { - case 0: /* pips_execute_scheduled_pip_V7 - id */; - return _toStringPipId( - &m->nested.pips_execute_scheduled_pip_V7.id, + case 0: /* corporateballot_change_rcv_V7 - ca_id */; + return _toStringCAId( + &m->nested.corporateballot_change_rcv_V7.ca_id, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* corporateballot_change_rcv_V7 - rcv */; + return _toStringbool( + &m->nested.corporateballot_change_rcv_V7.rcv, outValue, outValueLen, pageIdx, pageCount); default: return parser_no_data; } - case 8464: /* module 33 call 16 */ + case 7941: /* module 31 call 5 */ switch (itemIdx) { - case 0: /* pips_expire_scheduled_pip_V7 - did */; - return _toStringIdentityId( - &m->nested.pips_expire_scheduled_pip_V7.did, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* pips_expire_scheduled_pip_V7 - id */; - return _toStringPipId( - &m->nested.pips_expire_scheduled_pip_V7.id, + case 0: /* corporateballot_remove_ballot_V7 - ca_id */; + return _toStringCAId( + &m->nested.corporateballot_remove_ballot_V7.ca_id, outValue, outValueLen, pageIdx, pageCount); default: @@ -8949,51 +8657,6 @@ parser_error_t _getMethod_ItemValue_V7( default: return parser_no_data; } - case 12801: /* module 50 call 1 */ - switch (itemIdx) { - case 0: /* electionprovidermultiphase_set_minimum_untrusted_score_V7 - maybe_next_score */; - return _toStringOptionElectionScore( - &m->basic.electionprovidermultiphase_set_minimum_untrusted_score_V7.maybe_next_score, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 12802: /* module 50 call 2 */ - switch (itemIdx) { - case 0: /* electionprovidermultiphase_set_emergency_election_result_V7 - supports */; - return _toStringSupportsAccountId( - &m->basic.electionprovidermultiphase_set_emergency_election_result_V7.supports, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 12803: /* module 50 call 3 */ - switch (itemIdx) { - case 0: /* electionprovidermultiphase_submit_V7 - raw_solution */; - return _toStringBoxRawSolutionSolutionOfMinerConfig( - &m->basic.electionprovidermultiphase_submit_V7.raw_solution, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } - case 12804: /* module 50 call 4 */ - switch (itemIdx) { - case 0: /* electionprovidermultiphase_governance_fallback_V7 - maybe_max_voters */; - return _toStringOptionu32( - &m->basic.electionprovidermultiphase_governance_fallback_V7.maybe_max_voters, - outValue, outValueLen, - pageIdx, pageCount); - case 1: /* electionprovidermultiphase_governance_fallback_V7 - maybe_max_targets */; - return _toStringOptionu32( - &m->basic.electionprovidermultiphase_governance_fallback_V7.maybe_max_targets, - outValue, outValueLen, - pageIdx, pageCount); - default: - return parser_no_data; - } #endif case 0: /* module 0 call 0 */ switch (itemIdx) { @@ -9225,6 +8888,51 @@ parser_error_t _getMethod_ItemValue_V7( default: return parser_no_data; } + case 1798: /* module 7 call 6 */ + switch (itemIdx) { + case 0: /* identity_add_claim_V7 - target */; + return _toStringIdentityId( + &m->nested.identity_add_claim_V7.target, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* identity_add_claim_V7 - claim */; + return _toStringClaim( + &m->nested.identity_add_claim_V7.claim, + outValue, outValueLen, + pageIdx, pageCount); + case 2: /* identity_add_claim_V7 - expiry */; + return _toStringOptionMoment( + &m->nested.identity_add_claim_V7.expiry, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 1799: /* module 7 call 7 */ + switch (itemIdx) { + case 0: /* identity_revoke_claim_V7 - target */; + return _toStringIdentityId( + &m->nested.identity_revoke_claim_V7.target, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* identity_revoke_claim_V7 - claim */; + return _toStringClaim( + &m->nested.identity_revoke_claim_V7.claim, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 1800: /* module 7 call 8 */ + switch (itemIdx) { + default: + return parser_no_data; + } + case 1801: /* module 7 call 9 */ + switch (itemIdx) { + default: + return parser_no_data; + } case 1804: /* module 7 call 12 */ switch (itemIdx) { case 0: /* identity_gc_add_cdd_claim_V7 - target */; @@ -9280,6 +8988,21 @@ parser_error_t _getMethod_ItemValue_V7( default: return parser_no_data; } + case 1808: /* module 7 call 16 */ + switch (itemIdx) { + case 0: /* identity_add_secondary_keys_with_authorization_V7 - additional_keys */; + return _toStringVecSecondaryKeyWithAuthAccountId( + &m->nested.identity_add_secondary_keys_with_authorization_V7.additional_keys, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* identity_add_secondary_keys_with_authorization_V7 - expires_at */; + return _toStringMoment( + &m->nested.identity_add_secondary_keys_with_authorization_V7.expires_at, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } case 1809: /* module 7 call 17 */ switch (itemIdx) { case 0: /* identity_set_secondary_key_permissions_V7 - key */; @@ -9295,6 +9018,16 @@ parser_error_t _getMethod_ItemValue_V7( default: return parser_no_data; } + case 1810: /* module 7 call 18 */ + switch (itemIdx) { + case 0: /* identity_remove_secondary_keys_V7 - keys_to_remove */; + return _toStringVecAccountId( + &m->nested.identity_remove_secondary_keys_V7.keys_to_remove, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } case 1811: /* module 7 call 19 */ switch (itemIdx) { case 0: /* identity_register_custom_claim_type_V7 - ty */; @@ -10385,8 +10118,58 @@ parser_error_t _getMethod_ItemValue_V7( default: return parser_no_data; } - case 4865: /* module 19 call 1 */ + case 4865: /* module 19 call 1 */ + switch (itemIdx) { + default: + return parser_no_data; + } + case 6400: /* module 25 call 0 */ + switch (itemIdx) { + case 0: /* sudo_sudo_V7 - call */; + return _toStringCall( + &m->basic.sudo_sudo_V7.call, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 6401: /* module 25 call 1 */ + switch (itemIdx) { + case 0: /* sudo_sudo_unchecked_weight_V7 - call */; + return _toStringCall( + &m->basic.sudo_sudo_unchecked_weight_V7.call, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* sudo_sudo_unchecked_weight_V7 - _weight */; + return _toStringWeight( + &m->basic.sudo_sudo_unchecked_weight_V7._weight, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 6402: /* module 25 call 2 */ + switch (itemIdx) { + case 0: /* sudo_set_key_V7 - new_ */; + return _toStringLookupasStaticLookupSource( + &m->basic.sudo_set_key_V7.new_, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 6403: /* module 25 call 3 */ switch (itemIdx) { + case 0: /* sudo_sudo_as_V7 - who */; + return _toStringLookupasStaticLookupSource( + &m->basic.sudo_sudo_as_V7.who, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* sudo_sudo_as_V7 - call */; + return _toStringCall( + &m->basic.sudo_sudo_as_V7.call, + outValue, outValueLen, + pageIdx, pageCount); default: return parser_no_data; } @@ -11140,6 +10923,201 @@ parser_error_t _getMethod_ItemValue_V7( default: return parser_no_data; } + case 8448: /* module 33 call 0 */ + switch (itemIdx) { + case 0: /* pips_set_prune_historical_pips_V7 - prune */; + return _toStringbool( + &m->nested.pips_set_prune_historical_pips_V7.prune, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8449: /* module 33 call 1 */ + switch (itemIdx) { + case 0: /* pips_set_min_proposal_deposit_V7 - deposit */; + return _toStringBalance( + &m->nested.pips_set_min_proposal_deposit_V7.deposit, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8450: /* module 33 call 2 */ + switch (itemIdx) { + case 0: /* pips_set_default_enactment_period_V7 - duration */; + return _toStringBlockNumber( + &m->nested.pips_set_default_enactment_period_V7.duration, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8451: /* module 33 call 3 */ + switch (itemIdx) { + case 0: /* pips_set_pending_pip_expiry_V7 - expiry */; + return _toStringMaybeBlockBlockNumber( + &m->nested.pips_set_pending_pip_expiry_V7.expiry, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8452: /* module 33 call 4 */ + switch (itemIdx) { + case 0: /* pips_set_max_pip_skip_count_V7 - max */; + return _toStringSkippedCount( + &m->nested.pips_set_max_pip_skip_count_V7.max, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8453: /* module 33 call 5 */ + switch (itemIdx) { + case 0: /* pips_set_active_pip_limit_V7 - limit */; + return _toStringu32( + &m->nested.pips_set_active_pip_limit_V7.limit, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8454: /* module 33 call 6 */ + switch (itemIdx) { + case 0: /* pips_propose_V7 - proposal */; + return _toStringProposal( + &m->nested.pips_propose_V7.proposal, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* pips_propose_V7 - deposit */; + return _toStringBalance( + &m->nested.pips_propose_V7.deposit, + outValue, outValueLen, + pageIdx, pageCount); + case 2: /* pips_propose_V7 - url */; + return _toStringOptionUrl( + &m->nested.pips_propose_V7.url, + outValue, outValueLen, + pageIdx, pageCount); + case 3: /* pips_propose_V7 - description */; + return _toStringOptionPipDescription( + &m->nested.pips_propose_V7.description, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8455: /* module 33 call 7 */ + switch (itemIdx) { + case 0: /* pips_vote_V7 - id */; + return _toStringPipId( + &m->nested.pips_vote_V7.id, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* pips_vote_V7 - aye_or_nay */; + return _toStringbool( + &m->nested.pips_vote_V7.aye_or_nay, + outValue, outValueLen, + pageIdx, pageCount); + case 2: /* pips_vote_V7 - deposit */; + return _toStringBalance( + &m->nested.pips_vote_V7.deposit, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8456: /* module 33 call 8 */ + switch (itemIdx) { + case 0: /* pips_approve_committee_proposal_V7 - id */; + return _toStringPipId( + &m->nested.pips_approve_committee_proposal_V7.id, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8457: /* module 33 call 9 */ + switch (itemIdx) { + case 0: /* pips_reject_proposal_V7 - id */; + return _toStringPipId( + &m->nested.pips_reject_proposal_V7.id, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8458: /* module 33 call 10 */ + switch (itemIdx) { + case 0: /* pips_prune_proposal_V7 - id */; + return _toStringPipId( + &m->nested.pips_prune_proposal_V7.id, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8459: /* module 33 call 11 */ + switch (itemIdx) { + case 0: /* pips_reschedule_execution_V7 - id */; + return _toStringPipId( + &m->nested.pips_reschedule_execution_V7.id, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* pips_reschedule_execution_V7 - until */; + return _toStringOptionBlockNumber( + &m->nested.pips_reschedule_execution_V7.until, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8460: /* module 33 call 12 */ + switch (itemIdx) { + default: + return parser_no_data; + } + case 8461: /* module 33 call 13 */ + switch (itemIdx) { + default: + return parser_no_data; + } + case 8462: /* module 33 call 14 */ + switch (itemIdx) { + case 0: /* pips_enact_snapshot_results_V7 - results */; + return _toStringVecTuplePipIdSnapshotResult( + &m->nested.pips_enact_snapshot_results_V7.results, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8463: /* module 33 call 15 */ + switch (itemIdx) { + case 0: /* pips_execute_scheduled_pip_V7 - id */; + return _toStringPipId( + &m->nested.pips_execute_scheduled_pip_V7.id, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 8464: /* module 33 call 16 */ + switch (itemIdx) { + case 0: /* pips_expire_scheduled_pip_V7 - did */; + return _toStringIdentityId( + &m->nested.pips_expire_scheduled_pip_V7.did, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* pips_expire_scheduled_pip_V7 - id */; + return _toStringPipId( + &m->nested.pips_expire_scheduled_pip_V7.id, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } case 8704: /* module 34 call 0 */ switch (itemIdx) { case 0: /* portfolio_create_portfolio_V7 - name */; @@ -12590,6 +12568,51 @@ parser_error_t _getMethod_ItemValue_V7( default: return parser_no_data; } + case 12801: /* module 50 call 1 */ + switch (itemIdx) { + case 0: /* electionprovidermultiphase_set_minimum_untrusted_score_V7 - maybe_next_score */; + return _toStringOptionElectionScore( + &m->basic.electionprovidermultiphase_set_minimum_untrusted_score_V7.maybe_next_score, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 12802: /* module 50 call 2 */ + switch (itemIdx) { + case 0: /* electionprovidermultiphase_set_emergency_election_result_V7 - supports */; + return _toStringSupportsAccountId( + &m->basic.electionprovidermultiphase_set_emergency_election_result_V7.supports, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 12803: /* module 50 call 3 */ + switch (itemIdx) { + case 0: /* electionprovidermultiphase_submit_V7 - raw_solution */; + return _toStringBoxRawSolutionSolutionOfMinerConfig( + &m->basic.electionprovidermultiphase_submit_V7.raw_solution, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } + case 12804: /* module 50 call 4 */ + switch (itemIdx) { + case 0: /* electionprovidermultiphase_governance_fallback_V7 - maybe_max_voters */; + return _toStringOptionu32( + &m->basic.electionprovidermultiphase_governance_fallback_V7.maybe_max_voters, + outValue, outValueLen, + pageIdx, pageCount); + case 1: /* electionprovidermultiphase_governance_fallback_V7 - maybe_max_targets */; + return _toStringOptionu32( + &m->basic.electionprovidermultiphase_governance_fallback_V7.maybe_max_targets, + outValue, outValueLen, + pageIdx, pageCount); + default: + return parser_no_data; + } #endif default: return parser_ok; diff --git a/app/src/substrate/substrate_methods_V7.h b/app/src/substrate/substrate_methods_V7.h index 6f9d26e..627c2a8 100644 --- a/app/src/substrate/substrate_methods_V7.h +++ b/app/src/substrate/substrate_methods_V7.h @@ -69,24 +69,6 @@ extern "C" { #ifdef SUBSTRATE_PARSER_FULL #ifndef TARGET_NANOS -#define PD_CALL_SUDO_SUDO_V7 0 -typedef struct { - pd_Call_t call; -} pd_sudo_sudo_V7_t; -#define PD_CALL_SUDO_SUDO_UNCHECKED_WEIGHT_V7 1 -typedef struct { - pd_Call_t call; - pd_Weight_t _weight; -} pd_sudo_sudo_unchecked_weight_V7_t; -#define PD_CALL_SUDO_SET_KEY_V7 2 -typedef struct { - pd_LookupasStaticLookupSource_t new_; -} pd_sudo_set_key_V7_t; -#define PD_CALL_SUDO_SUDO_AS_V7 3 -typedef struct { - pd_LookupasStaticLookupSource_t who; - pd_Call_t call; -} pd_sudo_sudo_as_V7_t; #define PD_CALL_ASSET_ADD_MANDATORY_MEDIATORS_V7 29 typedef struct { pd_AssetId_t asset_id; @@ -176,24 +158,29 @@ typedef struct { pd_PortfolioId_t source_portfolio; pd_PortfolioKind_t callers_portfolio_kind; } pd_nft_controller_transfer_V7_t; -#define PD_CALL_ELECTIONPROVIDERMULTIPHASE_SET_MINIMUM_UNTRUSTED_SCORE_V7 1 +#endif + +#define PD_CALL_SUDO_SUDO_V7 0 typedef struct { - pd_OptionElectionScore_t maybe_next_score; -} pd_electionprovidermultiphase_set_minimum_untrusted_score_V7_t; -#define PD_CALL_ELECTIONPROVIDERMULTIPHASE_SET_EMERGENCY_ELECTION_RESULT_V7 2 + pd_Call_t call; +} pd_sudo_sudo_V7_t; + +#define PD_CALL_SUDO_SUDO_UNCHECKED_WEIGHT_V7 1 typedef struct { - pd_SupportsAccountId_t supports; -} pd_electionprovidermultiphase_set_emergency_election_result_V7_t; -#define PD_CALL_ELECTIONPROVIDERMULTIPHASE_SUBMIT_V7 3 + pd_Call_t call; + pd_Weight_t _weight; +} pd_sudo_sudo_unchecked_weight_V7_t; + +#define PD_CALL_SUDO_SET_KEY_V7 2 typedef struct { - pd_BoxRawSolutionSolutionOfMinerConfig_t raw_solution; -} pd_electionprovidermultiphase_submit_V7_t; -#define PD_CALL_ELECTIONPROVIDERMULTIPHASE_GOVERNANCE_FALLBACK_V7 4 + pd_LookupasStaticLookupSource_t new_; +} pd_sudo_set_key_V7_t; + +#define PD_CALL_SUDO_SUDO_AS_V7 3 typedef struct { - pd_Optionu32_t maybe_max_voters; - pd_Optionu32_t maybe_max_targets; -} pd_electionprovidermultiphase_governance_fallback_V7_t; -#endif + pd_LookupasStaticLookupSource_t who; + pd_Call_t call; +} pd_sudo_sudo_as_V7_t; #define PD_CALL_ASSET_REGISTER_UNIQUE_TICKER_V7 0 typedef struct { @@ -660,15 +647,32 @@ typedef struct { pd_SolutionOrSnapshotSize_t witness; } pd_electionprovidermultiphase_submit_unsigned_V7_t; +#define PD_CALL_ELECTIONPROVIDERMULTIPHASE_SET_MINIMUM_UNTRUSTED_SCORE_V7 1 +typedef struct { + pd_OptionElectionScore_t maybe_next_score; +} pd_electionprovidermultiphase_set_minimum_untrusted_score_V7_t; + +#define PD_CALL_ELECTIONPROVIDERMULTIPHASE_SET_EMERGENCY_ELECTION_RESULT_V7 2 +typedef struct { + pd_SupportsAccountId_t supports; +} pd_electionprovidermultiphase_set_emergency_election_result_V7_t; + +#define PD_CALL_ELECTIONPROVIDERMULTIPHASE_SUBMIT_V7 3 +typedef struct { + pd_BoxRawSolutionSolutionOfMinerConfig_t raw_solution; +} pd_electionprovidermultiphase_submit_V7_t; + +#define PD_CALL_ELECTIONPROVIDERMULTIPHASE_GOVERNANCE_FALLBACK_V7 4 +typedef struct { + pd_Optionu32_t maybe_max_voters; + pd_Optionu32_t maybe_max_targets; +} pd_electionprovidermultiphase_governance_fallback_V7_t; + #endif typedef union { #ifdef SUBSTRATE_PARSER_FULL #ifndef TARGET_NANOS - pd_sudo_sudo_V7_t sudo_sudo_V7; - pd_sudo_sudo_unchecked_weight_V7_t sudo_sudo_unchecked_weight_V7; - pd_sudo_set_key_V7_t sudo_set_key_V7; - pd_sudo_sudo_as_V7_t sudo_sudo_as_V7; pd_asset_add_mandatory_mediators_V7_t asset_add_mandatory_mediators_V7; pd_asset_remove_mandatory_mediators_V7_t asset_remove_mandatory_mediators_V7; pd_portfolio_allow_identity_to_create_portfolios_V7_t portfolio_allow_identity_to_create_portfolios_V7; @@ -684,11 +688,11 @@ typedef union { pd_settlement_withdraw_affirmation_as_mediator_V7_t settlement_withdraw_affirmation_as_mediator_V7; pd_settlement_reject_instruction_as_mediator_V7_t settlement_reject_instruction_as_mediator_V7; pd_nft_controller_transfer_V7_t nft_controller_transfer_V7; - pd_electionprovidermultiphase_set_minimum_untrusted_score_V7_t electionprovidermultiphase_set_minimum_untrusted_score_V7; - pd_electionprovidermultiphase_set_emergency_election_result_V7_t electionprovidermultiphase_set_emergency_election_result_V7; - pd_electionprovidermultiphase_submit_V7_t electionprovidermultiphase_submit_V7; - pd_electionprovidermultiphase_governance_fallback_V7_t electionprovidermultiphase_governance_fallback_V7; #endif + pd_sudo_sudo_V7_t sudo_sudo_V7; + pd_sudo_sudo_unchecked_weight_V7_t sudo_sudo_unchecked_weight_V7; + pd_sudo_set_key_V7_t sudo_set_key_V7; + pd_sudo_sudo_as_V7_t sudo_sudo_as_V7; pd_asset_register_unique_ticker_V7_t asset_register_unique_ticker_V7; pd_asset_controller_transfer_V7_t asset_controller_transfer_V7; pd_asset_register_custom_asset_type_V7_t asset_register_custom_asset_type_V7; @@ -757,6 +761,10 @@ typedef union { pd_nft_issue_nft_V7_t nft_issue_nft_V7; pd_nft_redeem_nft_V7_t nft_redeem_nft_V7; pd_electionprovidermultiphase_submit_unsigned_V7_t electionprovidermultiphase_submit_unsigned_V7; + pd_electionprovidermultiphase_set_minimum_untrusted_score_V7_t electionprovidermultiphase_set_minimum_untrusted_score_V7; + pd_electionprovidermultiphase_set_emergency_election_result_V7_t electionprovidermultiphase_set_emergency_election_result_V7; + pd_electionprovidermultiphase_submit_V7_t electionprovidermultiphase_submit_V7; + pd_electionprovidermultiphase_governance_fallback_V7_t electionprovidermultiphase_governance_fallback_V7; #endif } pd_MethodBasic_V7_t; @@ -788,27 +796,6 @@ typedef struct { typedef struct { } pd_identity_leave_identity_as_key_V7_t; -#define PD_CALL_IDENTITY_ADD_CLAIM_V7 6 -typedef struct { - pd_IdentityId_t target; - pd_Claim_t claim; - pd_OptionMoment_t expiry; -} pd_identity_add_claim_V7_t; - -#define PD_CALL_IDENTITY_REVOKE_CLAIM_V7 7 -typedef struct { - pd_IdentityId_t target; - pd_Claim_t claim; -} pd_identity_revoke_claim_V7_t; - -#define PD_CALL_IDENTITY_FREEZE_SECONDARY_KEYS_V7 8 -typedef struct { -} pd_identity_freeze_secondary_keys_V7_t; - -#define PD_CALL_IDENTITY_UNFREEZE_SECONDARY_KEYS_V7 9 -typedef struct { -} pd_identity_unfreeze_secondary_keys_V7_t; - #define PD_CALL_IDENTITY_ADD_AUTHORIZATION_V7 10 typedef struct { pd_SignatoryAccountId_t target; @@ -823,17 +810,6 @@ typedef struct { pd_bool_t _auth_issuer_pays; } pd_identity_remove_authorization_V7_t; -#define PD_CALL_IDENTITY_ADD_SECONDARY_KEYS_WITH_AUTHORIZATION_V7 16 -typedef struct { - pd_VecSecondaryKeyWithAuthAccountId_t additional_keys; - pd_Moment_t expires_at; -} pd_identity_add_secondary_keys_with_authorization_V7_t; - -#define PD_CALL_IDENTITY_REMOVE_SECONDARY_KEYS_V7 18 -typedef struct { - pd_VecAccountId_t keys_to_remove; -} pd_identity_remove_secondary_keys_V7_t; - #define PD_CALL_MULTISIG_CREATE_MULTISIG_V7 0 typedef struct { pd_BoundedVecAccountIdMaxSigners_t signers; @@ -897,21 +873,6 @@ typedef struct { pd_CompactBalance_t amount; } pd_staking_rebond_V7_t; -#define PD_CALL_PIPS_PROPOSE_V7 6 -typedef struct { - pd_Proposal_t proposal; - pd_Balance_t deposit; - pd_OptionUrl_t url; - pd_OptionPipDescription_t description; -} pd_pips_propose_V7_t; - -#define PD_CALL_PIPS_VOTE_V7 7 -typedef struct { - pd_PipId_t id; - pd_bool_t aye_or_nay; - pd_Balance_t deposit; -} pd_pips_vote_V7_t; - #define PD_CALL_UTILITY_BATCH_V7 0 typedef struct { pd_VecCall_t calls; @@ -1005,66 +966,6 @@ typedef struct { typedef struct { pd_CAId_t ca_id; } pd_corporateballot_remove_ballot_V7_t; -#define PD_CALL_PIPS_SET_PRUNE_HISTORICAL_PIPS_V7 0 -typedef struct { - pd_bool_t prune; -} pd_pips_set_prune_historical_pips_V7_t; -#define PD_CALL_PIPS_SET_MIN_PROPOSAL_DEPOSIT_V7 1 -typedef struct { - pd_Balance_t deposit; -} pd_pips_set_min_proposal_deposit_V7_t; -#define PD_CALL_PIPS_SET_DEFAULT_ENACTMENT_PERIOD_V7 2 -typedef struct { - pd_BlockNumber_t duration; -} pd_pips_set_default_enactment_period_V7_t; -#define PD_CALL_PIPS_SET_PENDING_PIP_EXPIRY_V7 3 -typedef struct { - pd_MaybeBlockBlockNumber_t expiry; -} pd_pips_set_pending_pip_expiry_V7_t; -#define PD_CALL_PIPS_SET_MAX_PIP_SKIP_COUNT_V7 4 -typedef struct { - pd_SkippedCount_t max; -} pd_pips_set_max_pip_skip_count_V7_t; -#define PD_CALL_PIPS_SET_ACTIVE_PIP_LIMIT_V7 5 -typedef struct { - pd_u32_t limit; -} pd_pips_set_active_pip_limit_V7_t; -#define PD_CALL_PIPS_APPROVE_COMMITTEE_PROPOSAL_V7 8 -typedef struct { - pd_PipId_t id; -} pd_pips_approve_committee_proposal_V7_t; -#define PD_CALL_PIPS_REJECT_PROPOSAL_V7 9 -typedef struct { - pd_PipId_t id; -} pd_pips_reject_proposal_V7_t; -#define PD_CALL_PIPS_PRUNE_PROPOSAL_V7 10 -typedef struct { - pd_PipId_t id; -} pd_pips_prune_proposal_V7_t; -#define PD_CALL_PIPS_RESCHEDULE_EXECUTION_V7 11 -typedef struct { - pd_PipId_t id; - pd_OptionBlockNumber_t until; -} pd_pips_reschedule_execution_V7_t; -#define PD_CALL_PIPS_CLEAR_SNAPSHOT_V7 12 -typedef struct { -} pd_pips_clear_snapshot_V7_t; -#define PD_CALL_PIPS_SNAPSHOT_V7 13 -typedef struct { -} pd_pips_snapshot_V7_t; -#define PD_CALL_PIPS_ENACT_SNAPSHOT_RESULTS_V7 14 -typedef struct { - pd_VecTuplePipIdSnapshotResult_t results; -} pd_pips_enact_snapshot_results_V7_t; -#define PD_CALL_PIPS_EXECUTE_SCHEDULED_PIP_V7 15 -typedef struct { - pd_PipId_t id; -} pd_pips_execute_scheduled_pip_V7_t; -#define PD_CALL_PIPS_EXPIRE_SCHEDULED_PIP_V7 16 -typedef struct { - pd_IdentityId_t did; - pd_PipId_t id; -} pd_pips_expire_scheduled_pip_V7_t; #endif #define PD_CALL_SYSTEM_REMARK_V7 0 typedef struct { @@ -1166,6 +1067,27 @@ typedef struct { pd_bool_t auth_required; } pd_identity_change_cdd_requirement_for_mk_rotation_V7_t; +#define PD_CALL_IDENTITY_ADD_CLAIM_V7 6 +typedef struct { + pd_IdentityId_t target; + pd_Claim_t claim; + pd_OptionMoment_t expiry; +} pd_identity_add_claim_V7_t; + +#define PD_CALL_IDENTITY_REVOKE_CLAIM_V7 7 +typedef struct { + pd_IdentityId_t target; + pd_Claim_t claim; +} pd_identity_revoke_claim_V7_t; + +#define PD_CALL_IDENTITY_FREEZE_SECONDARY_KEYS_V7 8 +typedef struct { +} pd_identity_freeze_secondary_keys_V7_t; + +#define PD_CALL_IDENTITY_UNFREEZE_SECONDARY_KEYS_V7 9 +typedef struct { +} pd_identity_unfreeze_secondary_keys_V7_t; + #define PD_CALL_IDENTITY_GC_ADD_CDD_CLAIM_V7 12 typedef struct { pd_IdentityId_t target; @@ -1189,12 +1111,23 @@ typedef struct { pd_Optionu64_t optional_cdd_auth_id; } pd_identity_rotate_primary_key_to_secondary_V7_t; +#define PD_CALL_IDENTITY_ADD_SECONDARY_KEYS_WITH_AUTHORIZATION_V7 16 +typedef struct { + pd_VecSecondaryKeyWithAuthAccountId_t additional_keys; + pd_Moment_t expires_at; +} pd_identity_add_secondary_keys_with_authorization_V7_t; + #define PD_CALL_IDENTITY_SET_SECONDARY_KEY_PERMISSIONS_V7 17 typedef struct { pd_AccountId_t key; pd_Permissions_t perms; } pd_identity_set_secondary_key_permissions_V7_t; +#define PD_CALL_IDENTITY_REMOVE_SECONDARY_KEYS_V7 18 +typedef struct { + pd_VecAccountId_t keys_to_remove; +} pd_identity_remove_secondary_keys_V7_t; + #define PD_CALL_IDENTITY_REGISTER_CUSTOM_CLAIM_TYPE_V7 19 typedef struct { pd_Vecu8_t ty; @@ -1865,6 +1798,96 @@ typedef struct { pd_ComplianceRequirement_t new_req; } pd_compliancemanager_change_compliance_requirement_V7_t; +#define PD_CALL_PIPS_SET_PRUNE_HISTORICAL_PIPS_V7 0 +typedef struct { + pd_bool_t prune; +} pd_pips_set_prune_historical_pips_V7_t; + +#define PD_CALL_PIPS_SET_MIN_PROPOSAL_DEPOSIT_V7 1 +typedef struct { + pd_Balance_t deposit; +} pd_pips_set_min_proposal_deposit_V7_t; + +#define PD_CALL_PIPS_SET_DEFAULT_ENACTMENT_PERIOD_V7 2 +typedef struct { + pd_BlockNumber_t duration; +} pd_pips_set_default_enactment_period_V7_t; + +#define PD_CALL_PIPS_SET_PENDING_PIP_EXPIRY_V7 3 +typedef struct { + pd_MaybeBlockBlockNumber_t expiry; +} pd_pips_set_pending_pip_expiry_V7_t; + +#define PD_CALL_PIPS_SET_MAX_PIP_SKIP_COUNT_V7 4 +typedef struct { + pd_SkippedCount_t max; +} pd_pips_set_max_pip_skip_count_V7_t; + +#define PD_CALL_PIPS_SET_ACTIVE_PIP_LIMIT_V7 5 +typedef struct { + pd_u32_t limit; +} pd_pips_set_active_pip_limit_V7_t; + +#define PD_CALL_PIPS_PROPOSE_V7 6 +typedef struct { + pd_Proposal_t proposal; + pd_Balance_t deposit; + pd_OptionUrl_t url; + pd_OptionPipDescription_t description; +} pd_pips_propose_V7_t; + +#define PD_CALL_PIPS_VOTE_V7 7 +typedef struct { + pd_PipId_t id; + pd_bool_t aye_or_nay; + pd_Balance_t deposit; +} pd_pips_vote_V7_t; + +#define PD_CALL_PIPS_APPROVE_COMMITTEE_PROPOSAL_V7 8 +typedef struct { + pd_PipId_t id; +} pd_pips_approve_committee_proposal_V7_t; + +#define PD_CALL_PIPS_REJECT_PROPOSAL_V7 9 +typedef struct { + pd_PipId_t id; +} pd_pips_reject_proposal_V7_t; + +#define PD_CALL_PIPS_PRUNE_PROPOSAL_V7 10 +typedef struct { + pd_PipId_t id; +} pd_pips_prune_proposal_V7_t; + +#define PD_CALL_PIPS_RESCHEDULE_EXECUTION_V7 11 +typedef struct { + pd_PipId_t id; + pd_OptionBlockNumber_t until; +} pd_pips_reschedule_execution_V7_t; + +#define PD_CALL_PIPS_CLEAR_SNAPSHOT_V7 12 +typedef struct { +} pd_pips_clear_snapshot_V7_t; + +#define PD_CALL_PIPS_SNAPSHOT_V7 13 +typedef struct { +} pd_pips_snapshot_V7_t; + +#define PD_CALL_PIPS_ENACT_SNAPSHOT_RESULTS_V7 14 +typedef struct { + pd_VecTuplePipIdSnapshotResult_t results; +} pd_pips_enact_snapshot_results_V7_t; + +#define PD_CALL_PIPS_EXECUTE_SCHEDULED_PIP_V7 15 +typedef struct { + pd_PipId_t id; +} pd_pips_execute_scheduled_pip_V7_t; + +#define PD_CALL_PIPS_EXPIRE_SCHEDULED_PIP_V7 16 +typedef struct { + pd_IdentityId_t did; + pd_PipId_t id; +} pd_pips_expire_scheduled_pip_V7_t; + #define PD_CALL_PORTFOLIO_CREATE_PORTFOLIO_V7 0 typedef struct { pd_PortfolioName_t name; @@ -2036,14 +2059,8 @@ typedef union { pd_identity_accept_primary_key_V7_t identity_accept_primary_key_V7; pd_identity_join_identity_as_key_V7_t identity_join_identity_as_key_V7; pd_identity_leave_identity_as_key_V7_t identity_leave_identity_as_key_V7; - pd_identity_add_claim_V7_t identity_add_claim_V7; - pd_identity_revoke_claim_V7_t identity_revoke_claim_V7; - pd_identity_freeze_secondary_keys_V7_t identity_freeze_secondary_keys_V7; - pd_identity_unfreeze_secondary_keys_V7_t identity_unfreeze_secondary_keys_V7; pd_identity_add_authorization_V7_t identity_add_authorization_V7; pd_identity_remove_authorization_V7_t identity_remove_authorization_V7; - pd_identity_add_secondary_keys_with_authorization_V7_t identity_add_secondary_keys_with_authorization_V7; - pd_identity_remove_secondary_keys_V7_t identity_remove_secondary_keys_V7; pd_multisig_create_multisig_V7_t multisig_create_multisig_V7; pd_multisig_change_sigs_required_V7_t multisig_change_sigs_required_V7; pd_staking_bond_V7_t staking_bond_V7; @@ -2056,8 +2073,6 @@ typedef union { pd_staking_set_payee_V7_t staking_set_payee_V7; pd_staking_set_controller_V7_t staking_set_controller_V7; pd_staking_rebond_V7_t staking_rebond_V7; - pd_pips_propose_V7_t pips_propose_V7; - pd_pips_vote_V7_t pips_vote_V7; pd_utility_batch_V7_t utility_batch_V7; #ifdef SUBSTRATE_PARSER_FULL #ifndef TARGET_NANOS @@ -2076,21 +2091,6 @@ typedef union { pd_corporateballot_change_meta_V7_t corporateballot_change_meta_V7; pd_corporateballot_change_rcv_V7_t corporateballot_change_rcv_V7; pd_corporateballot_remove_ballot_V7_t corporateballot_remove_ballot_V7; - pd_pips_set_prune_historical_pips_V7_t pips_set_prune_historical_pips_V7; - pd_pips_set_min_proposal_deposit_V7_t pips_set_min_proposal_deposit_V7; - pd_pips_set_default_enactment_period_V7_t pips_set_default_enactment_period_V7; - pd_pips_set_pending_pip_expiry_V7_t pips_set_pending_pip_expiry_V7; - pd_pips_set_max_pip_skip_count_V7_t pips_set_max_pip_skip_count_V7; - pd_pips_set_active_pip_limit_V7_t pips_set_active_pip_limit_V7; - pd_pips_approve_committee_proposal_V7_t pips_approve_committee_proposal_V7; - pd_pips_reject_proposal_V7_t pips_reject_proposal_V7; - pd_pips_prune_proposal_V7_t pips_prune_proposal_V7; - pd_pips_reschedule_execution_V7_t pips_reschedule_execution_V7; - pd_pips_clear_snapshot_V7_t pips_clear_snapshot_V7; - pd_pips_snapshot_V7_t pips_snapshot_V7; - pd_pips_enact_snapshot_results_V7_t pips_enact_snapshot_results_V7; - pd_pips_execute_scheduled_pip_V7_t pips_execute_scheduled_pip_V7; - pd_pips_expire_scheduled_pip_V7_t pips_expire_scheduled_pip_V7; #endif pd_system_remark_V7_t system_remark_V7; pd_system_set_heap_pages_V7_t system_set_heap_pages_V7; @@ -2110,11 +2110,17 @@ typedef union { pd_identity_cdd_register_did_V7_t identity_cdd_register_did_V7; pd_identity_invalidate_cdd_claims_V7_t identity_invalidate_cdd_claims_V7; pd_identity_change_cdd_requirement_for_mk_rotation_V7_t identity_change_cdd_requirement_for_mk_rotation_V7; + pd_identity_add_claim_V7_t identity_add_claim_V7; + pd_identity_revoke_claim_V7_t identity_revoke_claim_V7; + pd_identity_freeze_secondary_keys_V7_t identity_freeze_secondary_keys_V7; + pd_identity_unfreeze_secondary_keys_V7_t identity_unfreeze_secondary_keys_V7; pd_identity_gc_add_cdd_claim_V7_t identity_gc_add_cdd_claim_V7; pd_identity_gc_revoke_cdd_claim_V7_t identity_gc_revoke_cdd_claim_V7; pd_identity_revoke_claim_by_index_V7_t identity_revoke_claim_by_index_V7; pd_identity_rotate_primary_key_to_secondary_V7_t identity_rotate_primary_key_to_secondary_V7; + pd_identity_add_secondary_keys_with_authorization_V7_t identity_add_secondary_keys_with_authorization_V7; pd_identity_set_secondary_key_permissions_V7_t identity_set_secondary_key_permissions_V7; + pd_identity_remove_secondary_keys_V7_t identity_remove_secondary_keys_V7; pd_identity_register_custom_claim_type_V7_t identity_register_custom_claim_type_V7; pd_identity_cdd_register_did_with_cdd_V7_t identity_cdd_register_did_with_cdd_V7; pd_identity_create_child_identity_V7_t identity_create_child_identity_V7; @@ -2235,6 +2241,23 @@ typedef union { pd_compliancemanager_add_default_trusted_claim_issuer_V7_t compliancemanager_add_default_trusted_claim_issuer_V7; pd_compliancemanager_remove_default_trusted_claim_issuer_V7_t compliancemanager_remove_default_trusted_claim_issuer_V7; pd_compliancemanager_change_compliance_requirement_V7_t compliancemanager_change_compliance_requirement_V7; + pd_pips_set_prune_historical_pips_V7_t pips_set_prune_historical_pips_V7; + pd_pips_set_min_proposal_deposit_V7_t pips_set_min_proposal_deposit_V7; + pd_pips_set_default_enactment_period_V7_t pips_set_default_enactment_period_V7; + pd_pips_set_pending_pip_expiry_V7_t pips_set_pending_pip_expiry_V7; + pd_pips_set_max_pip_skip_count_V7_t pips_set_max_pip_skip_count_V7; + pd_pips_set_active_pip_limit_V7_t pips_set_active_pip_limit_V7; + pd_pips_propose_V7_t pips_propose_V7; + pd_pips_vote_V7_t pips_vote_V7; + pd_pips_approve_committee_proposal_V7_t pips_approve_committee_proposal_V7; + pd_pips_reject_proposal_V7_t pips_reject_proposal_V7; + pd_pips_prune_proposal_V7_t pips_prune_proposal_V7; + pd_pips_reschedule_execution_V7_t pips_reschedule_execution_V7; + pd_pips_clear_snapshot_V7_t pips_clear_snapshot_V7; + pd_pips_snapshot_V7_t pips_snapshot_V7; + pd_pips_enact_snapshot_results_V7_t pips_enact_snapshot_results_V7; + pd_pips_execute_scheduled_pip_V7_t pips_execute_scheduled_pip_V7; + pd_pips_expire_scheduled_pip_V7_t pips_expire_scheduled_pip_V7; pd_portfolio_create_portfolio_V7_t portfolio_create_portfolio_V7; pd_portfolio_delete_portfolio_V7_t portfolio_delete_portfolio_V7; pd_portfolio_rename_portfolio_V7_t portfolio_rename_portfolio_V7; From 3ee1643fd90e6c1c417af0670d1fe6acc575f8fd Mon Sep 17 00:00:00 2001 From: 0xPxt Date: Tue, 29 Oct 2024 21:10:13 +0100 Subject: [PATCH 2/5] bump version --- app/Makefile.version | 2 +- tests_zemu/snapshots/fl-mainmenu/00004.png | Bin 9360 -> 9525 bytes tests_zemu/snapshots/s-mainmenu/00004.png | Bin 442 -> 456 bytes tests_zemu/snapshots/s-mainmenu/00010.png | Bin 442 -> 456 bytes tests_zemu/snapshots/sp-mainmenu/00004.png | Bin 413 -> 425 bytes tests_zemu/snapshots/sp-mainmenu/00010.png | Bin 413 -> 425 bytes tests_zemu/snapshots/st-mainmenu/00004.png | Bin 11207 -> 11358 bytes tests_zemu/snapshots/x-mainmenu/00004.png | Bin 413 -> 425 bytes tests_zemu/snapshots/x-mainmenu/00010.png | Bin 413 -> 425 bytes tests_zemu/tests/standard.test.ts | 2 +- 10 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Makefile.version b/app/Makefile.version index 42414f7..af724e3 100644 --- a/app/Makefile.version +++ b/app/Makefile.version @@ -3,4 +3,4 @@ APPVERSION_M=107 # This is the `spec_version` field of `Runtime` APPVERSION_N=7000 # This is the patch version of this release -APPVERSION_P=1 +APPVERSION_P=2 diff --git a/tests_zemu/snapshots/fl-mainmenu/00004.png b/tests_zemu/snapshots/fl-mainmenu/00004.png index 6517dd616eaf4b8f1bdf7bc816ba4d9bcd06f29b..d0dbf96a735b1ecacda49cb4bfe822697229b841 100644 GIT binary patch literal 9525 zcmeHtX*|^5+y7XK%9aKx+qZlzkz~ofB?;NGl!O+>Qph%93{p~v$dVbmjF2VEs2PJ& zRG1m-WSNn~*k&e;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*(x>CEiK_yZF04`^!0spE# z?%&o|{{Qv-Uwixy;q7Ua(gay%pm__=_e#8L>?;6lJ5K@s^a+XoT^T_(688Hf z#NV|?ohLA(2n@Kx0;=BBNaxR#Rn^R%l6rL}<+T#G{~nu=yJKl{-IjnQ_3~8_sW7p( z$DAj&lK#&LihhX%P!ganrFJ?q2yCCL_wB88BmG(cH~V0czsIVIX3q!b#YyBoNxh*# zS+Z2jh+u{ZF7BuOnGo>s9nF6M4^9oRd`H{5@W(QEM>FZq>Ic^mbaNh6pz_-#c0wZ;;P>@Jn9_Q=b%Uq36uMM`ikO$SK?&e>sd~9R{8>0u1zxua#YS5cxmk C)8Y64 diff --git a/tests_zemu/snapshots/s-mainmenu/00004.png b/tests_zemu/snapshots/s-mainmenu/00004.png index fc84d480a568300623e281809ee9971a02c209cf..f014ffe3aeb6d4fa55be1278bfa4168f1d8cfe04 100644 GIT binary patch delta 430 zcmV;f0a5dvGBX5HD4SkQv-JBuL?L-~Qk5NHpMV zi-UY5ySf#&89=}$CN+wTb7#OTu^mW?rYFJ+WTdSFusOKJ`F}{W{(Y16pI@RkWhJQg zy;G4@8*#Y8oOuDPhbPTc=9M6Bg_K>&I~GNT*Pk_*x(Ua??AsAyogudgFF@HjpjQcM zV3~$}5Um*?Hgirr(jHJ^(3s}&GcG*u5&mkw#~grp*Y)$$w5rH*Srv8>S}8SRM{?duX&Fq=Nz+3P!;;I;F^D>UCIH| z8BjB=9Du7(ukf+C-{-4zO){%LI4cK%L3X|9@~FIuC9L1x2xn+TmogN!5VE zO(g`!aUADYc^TV*6F{x2xoI3+%iS1xz()48U0vT!R0BjC!aeqG2EdM;x^6#tYO@f|zp)5wc>P&}sfTb3%)U25EHji2;RUFB2lOgI z4J>nEA4F>gBrkK0p41soW6+r9@o!vsJ|q0a`yO)ue&$SP)ss^PvF9~puMU8@b$sv) zz@DsNphGzMs(+N9sjy6#b%0d4ZoLJ`DWY;fvgbqO$j#K;Y_SDYIWFw>HdA{+f!QwC z$%!Mv1Dnt0L}|x`-S)u50i+27pL-oMV|Lr>0M%}Cea*ctIb(J^y9B9_>+hbAhOHd% zM64Wut5B~XwdwB<)>79CGRx~^FEgU8KRHp_amR5S#~E=PX8>R0yx1EClA~k*0000< KMNUMnLSTZK#mH6w diff --git a/tests_zemu/snapshots/s-mainmenu/00010.png b/tests_zemu/snapshots/s-mainmenu/00010.png index fc84d480a568300623e281809ee9971a02c209cf..f014ffe3aeb6d4fa55be1278bfa4168f1d8cfe04 100644 GIT binary patch delta 430 zcmV;f0a5dvGBX5HD4SkQv-JBuL?L-~Qk5NHpMV zi-UY5ySf#&89=}$CN+wTb7#OTu^mW?rYFJ+WTdSFusOKJ`F}{W{(Y16pI@RkWhJQg zy;G4@8*#Y8oOuDPhbPTc=9M6Bg_K>&I~GNT*Pk_*x(Ua??AsAyogudgFF@HjpjQcM zV3~$}5Um*?Hgirr(jHJ^(3s}&GcG*u5&mkw#~grp*Y)$$w5rH*Srv8>S}8SRM{?duX&Fq=Nz+3P!;;I;F^D>UCIH| z8BjB=9Du7(ukf+C-{-4zO){%LI4cK%L3X|9@~FIuC9L1x2xn+TmogN!5VE zO(g`!aUADYc^TV*6F{x2xoI3+%iS1xz()48U0vT!R0BjC!aeqG2EdM;x^6#tYO@f|zp)5wc>P&}sfTb3%)U25EHji2;RUFB2lOgI z4J>nEA4F>gBrkK0p41soW6+r9@o!vsJ|q0a`yO)ue&$SP)ss^PvF9~puMU8@b$sv) zz@DsNphGzMs(+N9sjy6#b%0d4ZoLJ`DWY;fvgbqO$j#K;Y_SDYIWFw>HdA{+f!QwC z$%!Mv1Dnt0L}|x`-S)u50i+27pL-oMV|Lr>0M%}Cea*ctIb(J^y9B9_>+hbAhOHd% zM64Wut5B~XwdwB<)>79CGRx~^FEgU8KRHp_amR5S#~E=PX8>R0yx1EClA~k*0000< KMNUMnLSTZK#mH6w diff --git a/tests_zemu/snapshots/sp-mainmenu/00004.png b/tests_zemu/snapshots/sp-mainmenu/00004.png index 3b442b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fd7cd7 100644 GIT binary patch delta 399 zcmV;A0dW4E1E~X$B!6&8L_t(|obB0Ba)clZfMMF{O}zh+xJw_Lp_v3xi-y4d-$SRe z3QHncmrV%(0000000000006w=%YVq6vpn3kt$k+Wga_Zx+oK%$9x`egH{oc0M!$hS zWo6jhsGGDL=A8GxY_gmN9V^TEN_&!?UyD z9k3fJ*~h`^wtvsAy3?RuI_&u;Pg#cO=;{F zd?-!{=-h#6ToPeFr$>mrpirDMIza+FZ-4*wD%PDHLkV1m%5x)T5Z delta 386 zcmZ39^;<>c;6c6>Y18PLyq|d^)e+?;uN$ zK~|SD0}|-}k!hdO6DYPl_j9xrZ{D8y%iT3AOC?Re%>IyZZ*TsC@LQ5)xmTQLbr~M} zo36D=?n&Nl?cB2uU-ZA)#w;S4G<9*v-q@a!(E6i#ThFw`nf}`)qH;JDHUnp3DY_gmN9V^TEN_&!?UyD z9k3fJ*~h`^wtvsAy3?RuI_&u;Pg#cO=;{F zd?-!{=-h#6ToPeFr$>mrpirDMIza+FZ-4*wD%PDHLkV1m%5x)T5Z delta 386 zcmZ39^;<>c;6c6>Y18PLyq|d^)e+?;uN$ zK~|SD0}|-}k!hdO6DYPl_j9xrZ{D8y%iT3AOC?Re%>IyZZ*TsC@LQ5)xmTQLbr~M} zo36D=?n&Nl?cB2uU-ZA)#w;S4G<9*v-q@a!(E6i#ThFw`nf}`)qH;JDHUnp3D Date: Tue, 29 Oct 2024 21:17:55 +0100 Subject: [PATCH 3/5] Remove nanoXL from CI --- .github/workflows/nanos.yml | 103 ------------------------------------ 1 file changed, 103 deletions(-) delete mode 100644 .github/workflows/nanos.yml diff --git a/.github/workflows/nanos.yml b/.github/workflows/nanos.yml deleted file mode 100644 index c822e27..0000000 --- a/.github/workflows/nanos.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Build_NanoS -on: - workflow_dispatch: - push: - pull_request: - branches: - - main - - develop - - master # for safety reasons - - dev # for safety reasons - -jobs: - configure: - runs-on: ubuntu-latest - outputs: - uid_gid: ${{ steps.get-user.outputs.uid_gid }} - steps: - - id: get-user - run: echo "uid_gid=$(id -u):$(id -g)" >> $GITHUB_OUTPUT - - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: 'v104.63001.3' - submodules: true - - name: Install deps - run: | - python -m venv venv - source venv/bin/activate - make deps - - build_ledger: - needs: configure - runs-on: ubuntu-latest - container: - image: zondax/ledger-app-builder:latest - options: --user ${{ needs.configure.outputs.uid_gid }} - env: - BOLOS_SDK: /opt/nanos-secure-sdk - outputs: - size: ${{steps.build.outputs.size}} - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: 'v104.63001.3' - submodules: true - - name: Build Standard app - id: build - shell: bash -l {0} - run: | - SUBSTRATE_PARSER_FULL=1 make - echo "size=$(python3 deps/ledger-zxlib/scripts/getSize.py s)" >> $GITHUB_OUTPUT - - size_nano_s: - needs: build_ledger - runs-on: ubuntu-latest - env: - NANOS_LIMIT_SIZE: 136 - steps: - - run: | - echo "LNS app size: ${{needs.build_ledger.outputs.size}} KiB" - [ ${{needs.build_ledger.outputs.size}} -le $NANOS_LIMIT_SIZE ] - - build_package_nanos_xl: - needs: [configure, build, build_ledger] - if: ${{ github.ref == 'refs/heads/main' }} - runs-on: ubuntu-latest - container: - image: zondax/ledger-app-builder:latest - options: --user ${{ needs.configure.outputs.uid_gid }} - env: - BOLOS_SDK: /opt/nanos-secure-sdk - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: 'v104.63001.3' - submodules: true - - name: Install deps - run: pip install ledgerblue - - - name: Build NanoS XL - shell: bash -l {0} - run: | - make SUBSTRATE_PARSER_FULL=1 PRODUCTION_BUILD=0 - mv ./app/pkg/installer_s.sh ./app/pkg/installer_nanos_xl.sh - - name: Set tag - id: nanos_xl - run: echo "tag_name=$(./app/pkg/installer_nanos_xl.sh version)" >> $GITHUB_OUTPUT - - name: Update Release - id: update_release_1 - uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - files: ./app/pkg/installer_nanos_xl.sh - tag_name: ${{ steps.nanos_xl.outputs.tag_name }} - draft: false - prerelease: false From 2f171824f1acd23b058fc9b6974826d8c39ab1d1 Mon Sep 17 00:00:00 2001 From: emmanuelm41 Date: Tue, 29 Oct 2024 20:35:12 -0300 Subject: [PATCH 4/5] fix: reorganize ci --- .github/workflows/main.yml | 107 +++++++++++++++++++++++++------------ 1 file changed, 72 insertions(+), 35 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 03c0af6..be80a18 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,32 +58,6 @@ jobs: cd ./app/rust cargo test - build_ledger: - needs: configure - runs-on: ubuntu-latest - container: - image: zondax/ledger-app-builder:latest - options: --user ${{ needs.configure.outputs.uid_gid }} - env: - BOLOS_SDK: /opt/nanos-secure-sdk - outputs: - size: ${{steps.build.outputs.size}} - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: true - - name: Build Standard app - id: build - shell: bash -l {0} - run: | - SUBSTRATE_PARSER_FULL=1 make - echo "size=$(python3 deps/ledger-zxlib/scripts/getSize.py s)" >> $GITHUB_OUTPUT - - name: Build SR25519 app - shell: bash -l {0} - run: | - SUBSTRATE_PARSER_FULL=1 SUPPORT_SR25519=1 make - test_zemu: runs-on: ubuntu-latest steps: @@ -116,8 +90,44 @@ jobs: name: snapshots-tmp path: tests_zemu/snapshots-tmp/ + build_ledger_light: + needs: configure + runs-on: ubuntu-latest + container: + image: zondax/ledger-app-builder:latest + options: --user ${{ needs.configure.outputs.uid_gid }} + env: + BOLOS_SDK: /opt/nanos-secure-sdk + outputs: + size: ${{steps.build.outputs.size}} + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true + - name: Build Light app + id: build + shell: bash -l {0} + run: | + SUBSTRATE_PARSER_FULL=0 make + echo "size=$(python3 deps/ledger-zxlib/scripts/getSize.py s)" >> $GITHUB_OUTPUT + - name: Build SR25519 app + shell: bash -l {0} + run: | + SUBSTRATE_PARSER_FULL=0 SUPPORT_SR25519=1 make + + size_nano_s: + needs: build_ledger_light + runs-on: ubuntu-latest + env: + NANOS_LIMIT_SIZE: 136 + steps: + - run: | + echo "LNS app size: ${{needs.build_ledger_light.outputs.size}} KiB" + [ ${{needs.build_ledger_light.outputs.size}} -le $NANOS_LIMIT_SIZE ] + build_package_nanos: - needs: [configure, build, build_ledger, test_zemu] + needs: [configure, build, build_ledger_light, test_zemu] if: ${{ github.ref == 'refs/heads/main' }} runs-on: ubuntu-latest container: @@ -156,18 +166,45 @@ jobs: # Comment out nanoS XL build, the device is not supported anymore due to the size limit. # The github workflow for the latest supported version is running in nanos.yml -# size_nano_s: -# needs: build_ledger +# build_ledger_xl: +# needs: configure +# runs-on: ubuntu-latest +# container: +# image: zondax/ledger-app-builder:latest +# options: --user ${{ needs.configure.outputs.uid_gid }} +# env: +# BOLOS_SDK: /opt/nanos-secure-sdk +# outputs: +# size: ${{steps.build.outputs.size}} +# steps: +# - name: Checkout +# uses: actions/checkout@v4 +# with: +# submodules: true +# - name: Build XL app +# id: build +# shell: bash -l {0} +# run: | +# SUBSTRATE_PARSER_FULL=1 make +# echo "size=$(python3 deps/ledger-zxlib/scripts/getSize.py s)" >> $GITHUB_OUTPUT +# - name: Build SR25519 app +# shell: bash -l {0} +# run: | +# SUBSTRATE_PARSER_FULL=1 SUPPORT_SR25519=1 make +# +# +# size_nano_s_xl: +# needs: build_ledger_xl # runs-on: ubuntu-latest # env: # NANOS_LIMIT_SIZE: 136 # steps: # - run: | -# echo "LNS app size: ${{needs.build_ledger.outputs.size}} KiB" -# [ ${{needs.build_ledger.outputs.size}} -le $NANOS_LIMIT_SIZE ] +# echo "LNS app size: ${{needs.build_ledger_xl.outputs.size}} KiB" +# [ ${{needs.build_ledger_xl.outputs.size}} -le $NANOS_LIMIT_SIZE ] # build_package_nanos_xl: -# needs: [configure, build, build_ledger, test_zemu] +# needs: [configure, build, build_ledger_xl, test_zemu, size_nano_s_xl] # if: ${{ github.ref == 'refs/heads/main' }} # runs-on: ubuntu-latest # container: @@ -203,7 +240,7 @@ jobs: # prerelease: false build_package_nanosp: - needs: [configure, build, build_ledger, test_zemu] + needs: [configure, build, build_ledger_light, test_zemu] if: ${{ github.ref == 'refs/heads/main' }} runs-on: ubuntu-latest container: @@ -239,7 +276,7 @@ jobs: prerelease: false build_package_stax: - needs: [configure, build, build_ledger, test_zemu] + needs: [configure, build, build_ledger_light, test_zemu] if: ${{ github.ref == 'refs/heads/main' }} runs-on: ubuntu-latest container: @@ -273,7 +310,7 @@ jobs: prerelease: false build_package_flex: - needs: [configure, build, build_ledger, test_zemu] + needs: [configure, build, build_ledger_light, test_zemu] if: ${{ github.ref == 'refs/heads/main' }} runs-on: ubuntu-latest container: From 9bc7b312ab5a702ec96ba977cefd8f858f258eb1 Mon Sep 17 00:00:00 2001 From: emmanuelm41 Date: Tue, 29 Oct 2024 20:36:43 -0300 Subject: [PATCH 5/5] fix: set production_build flag to 1 by default --- Makefile | 1 - app/Makefile | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f4e4d03..741b732 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,6 @@ ifeq ($(BOLOS_SDK),) # In this case, there is not predefined SDK and we run dockerized # When not using the SDK, we override and build the XL complete app -ZXLIB_COMPILE_STAX ?= 1 SUBSTRATE_PARSER_FULL ?= 1 PRODUCTION_BUILD ?= 1 include $(CURDIR)/deps/ledger-zxlib/dockerized_build.mk diff --git a/app/Makefile b/app/Makefile index d3676d2..92eeb89 100755 --- a/app/Makefile +++ b/app/Makefile @@ -26,8 +26,8 @@ include $(CURDIR)/../deps/ledger-zxlib/makefiles/Makefile.installer_script include $(BOLOS_SDK)/Makefile.defines -# Set the default value for PRODUCTION_BUILD to 0 if not already defined -PRODUCTION_BUILD ?= 0 +# Set the default value for PRODUCTION_BUILD to 1 if not already defined +PRODUCTION_BUILD ?= 1 $(info ************ TARGET_NAME = [$(TARGET_NAME)])