polkascan / py-substrate-interface

Python Substrate Interface
https://polkascan.github.io/py-substrate-interface/
Apache License 2.0
239 stars 110 forks source link

KSM Proxy Extrinsic not working #394

Open ybstaked opened 2 weeks ago

ybstaked commented 2 weeks ago

Hey, using python substrate-interface==1.7.9 and getting this error for the proxy extrinsic. Anyone have any suggestions or seen it before?

Failed to send extrinsic: {'code': 1002, 'message': 'Verification Error: Runtime error: Execution failed: Execution aborted due to trap: wasm trap: wasm `unreachable` instruction executed\nWASM backtrace:\nerror while executing at wasm backtrace:\n    0: 0x6616 - <unknown>!rust_begin_unwind\n    1: 0x312a - <unknown>!core::panicking::panic_fmt::hbb5a6b42001bdfec\n    2: 0x5ad90a - <unknown>!TaggedTransactionQueue_validate_transaction', 'data': 'RuntimeApi("Execution failed: Execution aborted due to trap: wasm trap: wasm `unreachable` instruction executed\\nWASM backtrace:\\nerror while executing at wasm backtrace:\\n    0: 0x6616 - <unknown>!rust_begin_unwind\\n    1: 0x312a - <unknown>!core::panicking::panic_fmt::hbb5a6b42001bdfec\\n    2: 0x5ad90a - <unknown>!TaggedTransactionQueue_validate_transaction")'}
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/manager/docker/nomination-manager/nomination_manager/__main__.py", line 462, in <module>
    main()
  File "/home/manager/docker/nomination-manager/nomination_manager/__main__.py", line 457, in main
    run_nomination_manager(args, chain, config)
  File "/home/manager/docker/nomination-manager/nomination_manager/__main__.py", line 296, in run_nomination_manager
    if receipt.is_success:
AttributeError: 'NoneType' object has no attribute 'is_success'
malingzhao commented 2 weeks ago

substrateinterface.exceptions.SubstrateRequestException: {'code': 1002, 'message': 'Verification Error: Runtime error: Execution failed: Execution aborted due to trap: wasm trap: wasm unreachable instruction executed\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x6616 - !rust_begin_unwind\n 1: 0x312a - !core::panicking::panic_fmt::hbb5a6b42001bdfec\n 2: 0x5ad90a - !TaggedTransactionQueue_validate_transaction', 'data': 'RuntimeApi("Execution failed: Execution aborted due to trap: wasm trap: wasm unreachable instruction executed\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x6616 - !rust_begin_unwind\n 1: 0x312a - !core::panicking::panic_fmt::hbb5a6b42001bdfec\n 2: 0x5ad90a - !TaggedTransactionQueue_validate_transaction")'} I has the err too