Skip to main content

Questions tagged [extrinsic]

Questions about runtime calls that can be submitted to the blockchain. a.k.a. Transaction, Dispatchable

18 questions from the last 365 days
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Debugging transaction Fails with `Status: Invalid`

I'm working with a function to send a transaction and wait for finalization using Polkadot.js. The function is intended to handle different statuses and errors, yet I randomly encounter "Invalid&...
ALeSD's user avatar
  • 501
1 vote
1 answer
19 views

Ensuring Accurate Extrinsic IDs for Asset Transfers on AssetHub

I'm submitting asset transfer transactions on AssetHub using the submit and watch method. Immediately after submitting a transaction, I retrieve the block hash in which it was supposedly included. I ...
George's user avatar
  • 13
1 vote
0 answers
28 views

How to solve this invalid block issue after sending a Transaction?

I'm experiencing a strange issue: occasionally, I get an invalid block error after trying to submit an extrinsic in my node. I created a script that runs 300 transfer transactions sequentially, ...
rirotho's user avatar
  • 123
1 vote
1 answer
21 views

How to write test cases to validate if fees is paid?

I'm working on writing test cases for an extrinsic that conditionally bypasses transaction fees based on specific conditions. I need to verify whether the fees are paid or not for a given call. My ...
Deepak Chaudhary's user avatar
0 votes
1 answer
35 views

XCM Transactions - Polkadot to Asset Hub (Statemint)

I understood how to create a message to send some DOT from polkadot to asset hub. My main question is, how to track the whole flow of the transactions to be sure it succeeded? To contextualise, I have ...
Hugo Maitre's user avatar
1 vote
0 answers
49 views

Invalid transaction & Transaction has a bad signature

I'm trying to adjust my implementation to the recent runtime changes CheckMetadataHash. I added the mode in the transaction and both the metadatahash and the mode parameter in the payload that is sign ...
Dami's user avatar
  • 11
2 votes
1 answer
44 views

how to decode extrinsic data inside a pallet | Frontier

i have a pallet that prints extrinsic data (bytes and hex) of every extrinsic inside every block, how can i print it like an human readable object ("from", "to" ecc..)? that's my ...
Jacopo Mosconi's user avatar
0 votes
1 answer
22 views

How to Funnel All Runtime Calls Through a Custom Pallet in Substrate?

I’m developing a Substrate-based blockchain and I want to create a pallet that intercepts all runtime calls. I have created a pallet that accepts a runtime call as a parameter, but it doesn’t ...
Superluminal's user avatar
1 vote
1 answer
59 views

OnDemandAssignmentProvider/OnDemandOrderPlaced event was removed [closed]

I am the developer of subscan. When dealing with coretime related functions, it was found that this event has been removed in the new version (the event also exists in the document https://github.com/...
Lark's user avatar
  • 11
0 votes
0 answers
17 views

Polkadot.js never connects to local instance of Chopsticks

I'm trying to test extrinsics on HydraDX chain. Chopsticks UI never returns for the types of errors I'm running into, so I'm trying to use command line. You can run a local fork with Chopsticks and ...
spazcoin's user avatar
0 votes
0 answers
20 views

Dry-running extrinsic using Chopsticks on command line "length less than remainder, expected at least 133, found 91"

I'm trying to test XCM governance proposals using Chopsticks but running into issues. I've cloned and compiled Chopsticks within GitBash on Windows. However, when I try to dry run it with an extrinsic ...
spazcoin's user avatar
2 votes
1 answer
92 views

pending extrinsics jammed. How to ensure re-broadcast?

We observe a strange phenomenon: We send many lightweight extrinsics (~2 per block) signed by the same account to one full node (node1) which is peered up with two authority collators (auth1 and auth2)...
brenzi's user avatar
  • 563
0 votes
1 answer
49 views

execute_block, initialize_block, apply_extrinsic, finalize_block, offchain_worker exists for struct `Executive` but its trait bound were not satisfied

I developed substrate parachain with custom pallets. Actually I wanna add OCW functionality to one of my pallets. After I updated runtime code and added CreateSignedTransaction implementation I tried ...
Artem Levchuk's user avatar
1 vote
0 answers
47 views

Template Module Pallet call

I'm trying to call the do_something function in template_pallet runtime. I'm running locally the node substrate version : 4.0.0-dev-2ad9b78c7b5 I'm trying to send an extrinsics from Rust code using ...
X6Entrepreneur's user avatar
0 votes
2 answers
75 views

Is there a way to replace or cancel an extrinsic from the mempool?

Just like cancelling and speed up transactions on Ethereum context, is there a mechanism to replace or manipulate extrinsics from the mempool? thanks!
metricaez's user avatar
1 vote
0 answers
40 views

TXs in pendingExtrinsics() not always being picked up and then added in the block

When adding many batchAll TXs containing mint() and freeze() assets to AssetHub Rococo chain, there are times when TXs in rpc -> author -> pendingExtrinsics() just sit there and don't get ...
Ramsey - Decentration's user avatar
2 votes
1 answer
45 views

Rate-limiting to prevent extrinsic spamming

Is there any rate-limiting defense system in Substrate, that would prevent an attacker with sufficient funds to spam extrinsics on a given parachain ? Is there any maximum amount of extrinsics per ...
clst's user avatar
  • 31
0 votes
0 answers
25 views

Uncaught runtime errors: [u8;16]:: Expected input with 16 bytes (128 bits), found 21 bytes

I created a value id by this: let encoded_payload = (owner.clone(), task_description.clone()).encode(); let id = frame_support::Hashable::blake2_128(&encoded_payload);// hashvalue of combined ...
Latte Xu's user avatar
  • 125