Skip to main content

Questions tagged [panic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
61 views

panic_with_hook in session change

We are dealing with a runtime panic. We are looking for advice on how to best debug and are looking for help to get past it. At the change of an epoch we want a function to scan for a specific asset ...
1 vote
1 answer
95 views

What are the risks of panicking inside an extrinsic call?

Let's imagine the following extrinsic. #[pallet::call_index(1)] #[pallet::weight(T::WeightInfo::might_panic_extrinsic())] pub fn might_panic_extrinsic(origin: OriginFor<T>) -> DispatchResult {...
3 votes
1 answer
62 views

Node panics on restart after warp synced with both relay and parachain

We are observing the following panic for a parachain node that is warp synced fully on both sides when we try to restart the node: Thread 'main' panicked at 'route from finalized to leaf should be ...
1 vote
1 answer
142 views

Runtime panic when teleporting dot from relay to parachain locally

I'm trying to enforce a same native token rule for the relay and all future parachains in my local environment. For this, I must first configure my parachain to accept teleports from a relay account ...
7 votes
1 answer
122 views

Collator can't connect to parachain network upon wasm panic

Upon an extrinsic call one of our collators stopped to produce blocks and here's the error log snippet: 2022-03-21 14:48:50 [Parachain] panicked at 'Transaction will be valid in the future', /cargo-...
2 votes
2 answers
349 views

Computer crashing on `cargo test`

I use archlinux on x64_64 CPU architecture. Steps to reproduce: git clone https://github.com/paritytech/substrate cd substrate cargo test it runs up until 1600/1706. And I did it carefully with ...
2 votes
1 answer
143 views

Invalid Incoming XCMP message data

Link to repo I'm trying to do a reserve-backed transfer from statemint to my own parachain of a token minted with the pallet_assets. I've been using the xcm-emulator that lets me plug in my own ...
2 votes
1 answer
2k views

error: `#[panic_handler]` function required, but not found

I'm trying to add Substrate to my project and am encountering this error when trying to compile. Do I need to set this explicitly somewhere in my runtime? I see there is an implementation in sp_io but ...