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

contracts: Passing zero as deposit_limit to call_v2 correctly limits the deposit to nothing (#3392)

Only affects unstable `v2` versions of `call` and `instantiate`. Also
only when `0` was passed as `desposit_limit`. Old behaviour was allowing
all the remaining balance. New correct behaviour is to not allow any
deposit. Otherwise both passing the `SENTINEL` and encoding `0` would
mean the same thing.
parent e96f7c5e
Pipeline #446645 failed with stages
in 2 minutes and 29 seconds