diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0486d98..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,57 +90,121 @@ jobs: name: snapshots-tmp path: tests_zemu/snapshots-tmp/ -# Comment out nanoS build, the device is not supported anymore. + 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_light, 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: -# 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 ] - -# 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 +# 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: @@ -202,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: @@ -238,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: @@ -272,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: diff --git a/.github/workflows/nanos.yml b/.github/workflows/nanos.yml deleted file mode 100644 index 0530a39..0000000 --- a/.github/workflows/nanos.yml +++ /dev/null @@ -1,140 +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: - 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' }} - 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 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)]) 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/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; diff --git a/tests_zemu/snapshots/fl-mainmenu/00004.png b/tests_zemu/snapshots/fl-mainmenu/00004.png index 6517dd6..d0dbf96 100644 Binary files a/tests_zemu/snapshots/fl-mainmenu/00004.png and b/tests_zemu/snapshots/fl-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/s-mainmenu/00004.png b/tests_zemu/snapshots/s-mainmenu/00004.png index fc84d48..f014ffe 100644 Binary files a/tests_zemu/snapshots/s-mainmenu/00004.png and b/tests_zemu/snapshots/s-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/s-mainmenu/00010.png b/tests_zemu/snapshots/s-mainmenu/00010.png index fc84d48..f014ffe 100644 Binary files a/tests_zemu/snapshots/s-mainmenu/00010.png and b/tests_zemu/snapshots/s-mainmenu/00010.png differ diff --git a/tests_zemu/snapshots/sp-mainmenu/00004.png b/tests_zemu/snapshots/sp-mainmenu/00004.png index 3b442b5..fffe4a3 100644 Binary files a/tests_zemu/snapshots/sp-mainmenu/00004.png and b/tests_zemu/snapshots/sp-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/sp-mainmenu/00010.png b/tests_zemu/snapshots/sp-mainmenu/00010.png index 3b442b5..fffe4a3 100644 Binary files a/tests_zemu/snapshots/sp-mainmenu/00010.png and b/tests_zemu/snapshots/sp-mainmenu/00010.png differ diff --git a/tests_zemu/snapshots/st-mainmenu/00004.png b/tests_zemu/snapshots/st-mainmenu/00004.png index e454d53..34ef2f6 100644 Binary files a/tests_zemu/snapshots/st-mainmenu/00004.png and b/tests_zemu/snapshots/st-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/x-mainmenu/00004.png b/tests_zemu/snapshots/x-mainmenu/00004.png index 3b442b5..fffe4a3 100644 Binary files a/tests_zemu/snapshots/x-mainmenu/00004.png and b/tests_zemu/snapshots/x-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/x-mainmenu/00010.png b/tests_zemu/snapshots/x-mainmenu/00010.png index 3b442b5..fffe4a3 100644 Binary files a/tests_zemu/snapshots/x-mainmenu/00010.png and b/tests_zemu/snapshots/x-mainmenu/00010.png differ diff --git a/tests_zemu/tests/standard.test.ts b/tests_zemu/tests/standard.test.ts index 13e6b3e..9a72fe9 100644 --- a/tests_zemu/tests/standard.test.ts +++ b/tests_zemu/tests/standard.test.ts @@ -71,7 +71,7 @@ describe('Standard', function () { expect(resp.major).toEqual(107) expect(resp.minor).toEqual(7000) - expect(resp.patch).toEqual(1) + expect(resp.patch).toEqual(2) } finally { await sim.close() }