You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Oracle contract mints some GAS in its request method which in turns invokes onPayment on Oracle contract which just doesn't exist at the moment, so the call fails.
Expected behavior
Oracle requests should work, thus onPayment needs to be implemented in Oracle contract. I think we need to check for token type inside and only accept GAS (make transfers of any other tokens fail).
The text was updated successfully, but these errors were encountered:
Describe the bug
Oracle contract mints some GAS in its
request
method which in turns invokesonPayment
on Oracle contract which just doesn't exist at the moment, so the call fails.Expected behavior
Oracle requests should work, thus
onPayment
needs to be implemented in Oracle contract. I think we need to check for token type inside and only accept GAS (make transfers of any other tokens fail).The text was updated successfully, but these errors were encountered: