1
0
forked from cerc-io/plugeth
plugeth/eth/tracers/logger
Emmanuel T Odeke a8bb49b8ea
eth/tracers/logger: remove unnecessary comparisons in accessList.equal ()
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 
2022-04-22 01:30:15 +02:00
..
access_list_tracer.go eth/tracers/logger: remove unnecessary comparisons in accessList.equal () 2022-04-22 01:30:15 +02:00
gen_structlog.go eth/tracers/logger: use omitempty to reduce log bloat () 2022-03-29 22:36:55 +02:00
logger_json.go core,eth: implement tx-level hooks for tracers () 2022-03-31 11:51:44 +02:00
logger_test.go eth/tracers/logger: use omitempty to reduce log bloat () 2022-03-29 22:36:55 +02:00
logger.go build: add imports for go generate tools () 2022-04-12 20:24:02 +02:00