Questions tagged [unsigned]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Troubleshooting Sequential Unsigned Transaction Processing with 200 Validators

we're attempting to send unsigned transactions from an offchain worker using the validation code snippet provided: ValidTransaction::with_tag_prefix("thea") .and_provides(...
ZKT's user avatar
  • 113
3 votes
1 answer
64 views

Dispatch of extrinsic that has prevalidate function which emits events and modifies storage

TLDR: How to implement a substrate unsigned call, which performs storage modifications and emits events during it's validation? If transaction fails, it seems like it leaves garbage in runtime, due ...
Klapeyron's user avatar
  • 111
3 votes
2 answers
87 views

Simulate transaction before sending

So lets say I have an unsigned transaction. Is there any way I can simulate the transaction without actually sending it to the chain to see if the transaction will fail or if it will be succesfull? ...
Tadej Vengust's user avatar
2 votes
0 answers
46 views

Can `ValidateUnsigned` be used outside the runtime?

I see this comment while reading through the beefy pallet Beefy equivocation
doordashcon's user avatar
2 votes
1 answer
83 views

Should we re-do the verification in runtime call?

Imagine there is an unsigned extrinsic call. #[pallet::call] fn call(something, ..) -> DispatchResult { ensure_none()?; // verify(something)?; Ok(()) } #[pallet::validate_unsigned] ...
AurevoirXavier's user avatar
0 votes
2 answers
299 views

Create a signed transaction using a signature and unsigned_transaction

I have two functions. The first function: Generates payload of unsigned_transaction: The second function: Needs to generate a signed transaction, using unsigned_transaction and signature. Process: ...
Rusty Pythonic Script's user avatar
4 votes
2 answers
216 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 ...
Shannon Wells's user avatar
5 votes
2 answers
189 views

SignedExtension to mutate Origin

Please see edits 2 and beyond, as they reshape the question a lot. TLDR: I need a way to mutate an origin for all but some specific calls so that it's dispatched as RawOrigin::Signed to pass ...
Gabe's user avatar
  • 115
1 vote
1 answer
144 views

Unsigned Transactions vs Signed Extensions

It seems that I can use a signed extension anywhere I can use an unsigned transaction. Can you please explain why I would implement one over the other? How does the transaction lifecycle differ? The ...
Yatusabes's user avatar
  • 766