For ordinary contracts, when calling their functions with try/catch clause or low level call, if the function returns an error, the error should be caught and not bubbled up. But for precompiled contracts, it has different behavior: it would revert the whole tx even if try/catch or low level call is used
Summary of Bug
For ordinary contracts, when calling their functions with
try/catch
clause or low level call, if the function returns an error, the error should be caught and not bubbled up. But for precompiled contracts, it has different behavior: it would revert the whole tx even iftry/catch
or low level call is usedThis issue is the root cause of another issue: https://github.com/ExocoreNetwork/exocore-contracts/issues/39
Version
Steps to Reproduce
Screenshots
Additional context
For Admin Use