Commit df87bae1 authored by Sergej Sakac's avatar Sergej Sakac Committed by GitHub
Browse files

BREAKING - Try-runtime: Use proper error types (#13993)

* Try-state: DispatchResult as return type

* try_state for the rest of the pallets

* pre_upgrade

* post_upgrade

* try_runtime_upgrade

* fixes

* bags-list fix

* fix

* update test

* warning fix

* ...

* final fixes 🤞



* warning..

* frame-support

* warnings

* Update frame/staking/src/migrations.rs

Co-authored-by: default avatarLiam Aharon <[email protected]>

* fix

* fix warning

* nit fix

* merge fixes

* small fix

* should be good now

* missed these ones

* introduce TryRuntimeError and TryRuntimeResult

* fixes

* fix

* removed TryRuntimeResult & made some fixes

* fix testsg

* tests passing

* unnecessary imports

* Update frame/assets/src/migration.rs

Co-authored-by: default avatarKeith Yeung <[email protected]>

---------

Co-authored-by: default avatarLiam Aharon <[email protected]>
Co-authored-by: default avatarKeith Yeung <[email protected]>
parent 918d1ef8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment