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
The BeforeSend hook implementation returns an error gained from the smart contract execution and depends on the info provided with the SC implementation.
Suggestion:
Token factory module should ensure that the error returned from the module holds a unique error code, that will explain what happened.
Define a sentinel error that will hold information about the denomination triggering the hook
and wrap the error returned from the smart contract as well, in order to get the information about the reason - if provided in the smart contract (blocked from/to account address; the contract is frozen,...).
The text was updated successfully, but these errors were encountered:
The BeforeSend hook implementation returns an error gained from the smart contract execution and depends on the info provided with the SC implementation.
Artifacts:
Analysis summary:
osmosis/x/tokenfactory/keeper/beforesend.go
Lines 105 to 110 in f09305e
Suggestion:
Token factory module should ensure that the error returned from the module holds a unique error code, that will explain what happened.
The text was updated successfully, but these errors were encountered: