We could check if the address passed as argument on target param (non-singleton actors) starts with f or t, and abort early if that is the case. This will help devs that send wrong values.
Something like require(target[0] == 0x70 || ...., "target address should be bytes format")
We could check if the address passed as argument on target param (non-singleton actors) starts with
f
ort
, and abort early if that is the case. This will help devs that send wrong values.Something like
require(target[0] == 0x70 || ...., "target address should be bytes format")
:link: zboto Link