• Emmanuel T Odeke's avatar
    eth/tracers/logger: remove unnecessary comparisons in accessList.equal (#24663) · a8bb49b8
    Emmanuel T Odeke authored
    This change removes extraneous/unnecessary checks for equality
    when comparing 2 accessList values A and B. Given that we validate that
    their lengths of A and B are equal, if so and if every element in A is
    in B, reflexively every element in B is already in A. If that weren't
    the case and an element g existed in A but not in B, that would mean
    that there is an extra element and hence a mathematical contradiction.
    
    Fixes #24658
    a8bb49b8
access_list_tracer.go 6.1 KB