Skip to content
Unverified Commit ea5fb02e authored by Alexander Theißen's avatar Alexander Theißen Committed by GitHub
Browse files

Send balance when contract doesn't exist (#5664)

Fixes #5577 

I decided to bubble up the error from where we actually try to load the
contract info. This helps to make sure that we don't miss some entry
point by accident. The draw back is that we have to live with some
additional `.expect`.

@pgherveou

 With this logic the proxy and its runtime part should be
completely unaware whether something is a contract call or a balance
transfer. They should just route everything into pallet_revive.

---------

Co-authored-by: default avatarCyrill Leutwiler <[email protected]>
parent f0e420a0
Pipeline #496579 waiting for manual action with stages
in 46 minutes and 4 seconds
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