Closed dmitry-vsl closed 3 years ago
Function substrate.submit_extrinsic(extrinsic, wait_for_inclusion=True) fails with the following traceback
substrate.submit_extrinsic(extrinsic, wait_for_inclusion=True)
Traceback (most recent call last): File "setkeys.py", line 70, in <module> receipt = substrate.submit_extrinsic(extrinsic, wait_for_inclusion=True) File "/home/vagrant/.local/lib/python3.8/site-packages/substrateinterface/base.py", line 1766, in submit_extrinsic response = self.rpc_request( File "/home/vagrant/.local/lib/python3.8/site-packages/substrateinterface/base.py", line 540, in rpc_request callback_result = result_handler(message, update_nr) TypeError: result_handler() missing 1 required positional argument: 'subscription_id'
Thanks for pointing this out, this was a crucial miss
Fixed in release https://github.com/polkascan/py-substrate-interface/releases/tag/v0.12.3
Function
substrate.submit_extrinsic(extrinsic, wait_for_inclusion=True)
fails with the following traceback