Closed SpicyLemon closed 3 months ago
Marker funds cannot be used to pay for fees via a feegrant.
v1.19.1
GrantAllowance
You'll get an error that looks like this:
cannot withdraw from marker account pb1zueukfejxrvurmrqup9sgqwfwfyra7mygz9f34 (grant0077): account: pb1zueukfejxrvurmrqup9sgqwfwfyra7mygz9f34: insufficient funds
In the marker module's send restriction, when the from address is a marker, we currently require a transfer agent. If there is no transfer agent, that "cannot withdraw from marker account ..." error is returned.
Summary of Bug
Marker funds cannot be used to pay for fees via a feegrant.
Version
v1.19.1
Steps to Reproduce
GrantAllowance
endpoint to create a feegrant that another address can use to spend some (or all) of the nhash in that marker.You'll get an error that looks like this:
In the marker module's send restriction, when the from address is a marker, we currently require a transfer agent. If there is no transfer agent, that "cannot withdraw from marker account ..." error is returned.
For Admin Use