Questions tagged [validation]
The validation tag has no usage guidance.
11
questions
2
votes
0
answers
20
views
FetchPOV Timeout issue with Basilisk(Kusama)
I am facing fetchPOV timeout issue with basilisk chain 100% of the time while para-validating.
I suspect that this could be a geolocation issue(Singapore) as many other validators in Singapore are ...
1
vote
1
answer
46
views
`<Runtime as TaggedTransactionQueue<Block>>::validate_transaction()` vs `frame_system::Config::BaseCallFilter` for checking for a valid transaction
When is it appropriate to use <Runtime as TaggedTransactionQueue<Block>>::validate_transaction() to check if a transaction is valid (and reject a transaction if it is invalid) and when is ...
2
votes
1
answer
61
views
Is it possible to access a specific pallet's storage item in the function `<Runtime as TaggedTransactionQueue<Block>::validate_transaction()`?
I want to access a specific pallet's storage item (for example: a StorageMap or StorageValue) in the function <Runtime as TaggedTransactionQueue<Block>::validate_transaction() (note: this ...
2
votes
1
answer
62
views
pre_dispatch() vs validate()?
Why use pre_dispatch() vs. validate()? What are some guidelines for using pre_dispatch(), post_dispatch(), and the various variants of validate()?
4
votes
2
answers
189
views
Difference between SignedExtension default behavior vs. actual behavior (expand_outer_validate_unsigned)
We're trying to understand the signed transaction vs. unsigned transaction lifecycle, and what ensure_signed actually does for you.
What it seemed was, if you submitted an unsigned transaction to our ...
1
vote
1
answer
33
views
dApp registration issue - Shiden Network
I'm in the process of making a video tutorial for The Kusamarian YouTube channel :"How to register a dApp on Shiden Network"
I went through all the steps, but it failed at the end.
Could you ...
1
vote
0
answers
55
views
Extrinsic's string parameter lower bound validation
I want to validate the extrinsic string parameters like name, title, cid, etc. The type should be capable of min/max length validation. And checking the lower bound is impossible with the current ...
2
votes
1
answer
18
views
Example of MockValidationDataInherentDataProvider usage
Is there any example of how to use MockValidationDataInherentDataProvider to run a parachain with mock validation? I've been looking all over and can't seem to find any documentation or example of it'...
0
votes
2
answers
99
views
Substrate Pallet::Call, unpack the Pallet:Call's content
In default Substrate-Node-Template I want to make some actions inside validate_transaction function which is located in runtime/src/lib.rs:
fn validate_transaction(
source: ...
8
votes
2
answers
550
views
Transactions lifecycle
I was wondering what is the process of a transaction being removed or dropped from a transaction pool. When a transaction is submitted to the network, It is validated by a node and then gossiped to ...
2
votes
1
answer
34
views
How to add callback function after block validation?
I am currently developing a parachain, and I'd like to add some custom events after block validation and log block authors who produce invalid blocks.
I found that the trait ...