Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multisig. Can't set call data for xcm operation #3090

Closed
stepanLav opened this issue Jan 31, 2025 · 0 comments · Fixed by #3092
Closed

Multisig. Can't set call data for xcm operation #3090

stepanLav opened this issue Jan 31, 2025 · 0 comments · Fixed by #3092
Assignees
Labels
Bug Issues & PRs that addressing a bug

Comments

@stepanLav
Copy link
Member

Description

User can't set call data to XCM operation, error:

Start parsing call data for section polkadotXcm and method limitedTeleportAssets
multisigTxService.ts:224 Error during update callData:  TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at Object.parseXcmPalletExtrinsic (xcmService.ts:245:34)
    at polkadotxcm_limited_teleport_assets (callDataDecoder.ts:228:37)
    at getDecodedTransaction (callDataDecoder.ts:170:12)
    at parseSingle (callDataDecoder.ts:127:12)
    at decodeCallData (callDataDecoder.ts:66:12)
    at updateCallData (multisigTxService.ts:220:27)
    at setupCallData (OperationFullInfo.tsx:66:5)
    at submitHandler (CallDataModal.tsx:46:5)
    at react-hook-form.js?v=f13ddb07:1671:15

Test data

spektr-database.json

Steps to Reproduce

  1. Import test data
  2. Go to Operations
  3. Try to set call data:
    0x1f0904010100a10f04000101007a28037947ecebe0dd86dc0e910911cb33185fd0714b37b75943f67dcf9b6e7c04040000001300307ebabe0472020000000000

Expected Behavior

Success parsed

Actual Behavior

Failed

Environment

1d87175

@stepanLav stepanLav added the Bug Issues & PRs that addressing a bug label Jan 31, 2025
@sokolova-an sokolova-an self-assigned this Jan 31, 2025
@sokolova-an sokolova-an moved this from Todo to In Review in Nova Spektr development Jan 31, 2025
@sokolova-an sokolova-an linked a pull request Jan 31, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues & PRs that addressing a bug
Projects
Status: In Review
Development

Successfully merging a pull request may close this issue.

3 participants