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
Do you want to request a feature or report a bug?
bug
What is the current behavior?
chain.call_cache will cache the data whose return_value='' is empty, causing the subsequent returned data to be wrong
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
select count(*) from chain1.call_cache where return_value='';
{
"errors": [
{
"message": "indexing_error"
}
]
}
What is the expected behavior?
Don't cache empty data
chain/ethereum/src/ethereum_adapter.rs if !for_cache.is_empty() {