downgrade from error to warn

This commit is contained in:
GarmashAlex 2025-03-26 21:29:21 +03:00 committed by GitHub
parent a82303f4e3
commit 0ff5f658fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -328,11 +328,11 @@ func (s *stateObject) updateTrie() (Trie, error) {
// Skip noop changes, persist actual changes
value, exist := s.pendingStorage[key]
if value == origin {
log.Error("Storage update was noop", "address", s.address, "slot", key)
log.Warn("Storage update was noop", "address", s.address, "slot", key)
continue
}
if !exist {
log.Error("Storage slot is not found in pending area", s.address, "slot", key)
log.Warn("Storage slot is not found in pending area", s.address, "slot", key)
continue
}
if (value != common.Hash{}) {