Skip to content

Commit

Permalink
Fix: cache address
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Jun 12, 2024
1 parent fd47bc9 commit cf8c8ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/indexer/parser/resolver/state_updates.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (resolver *Resolver) parseDeployedContracts(ctx context.Context, block *sto
if class, ok := addrs[h]; ok && addresses[i].ClassID == nil {
addresses[i].ClassID = &class.ID
resolver.addAddress(&addresses[i])
resolver.cache.SetAddress(ctx, addresses[i])
delete(addrs, h)
}
}
Expand Down

0 comments on commit cf8c8ca

Please sign in to comment.