go-ethereum/.github
Arran Schlosberg 02110d3f34
chore: logging (#151)
## Why this should be merged

Adds logging of `libevm` modification of default behaviour.

## How this works

1. Introduces `log.Lazy` functions to allow expensive logging operations
to be computed i.f.f. required by the logging level.
2. Adds `Info` logging for registration of types and `Debug` logging for
all else.
3. Only paths that change behaviour in a potentially unpredictable
manner are logged; of note, RLP / JSON encoding is _not_ considered
unpredictable given that registered extras are logged.
4. The minimal viable package, `set`, was necessary because we don't
want to depend on `avalanchego` and the `hashicorp/go-set` latest
version requires a later version of Go. #153 tracks a swap to the latter
when possible.

The `eth/tracers/internal/tracetest` test flaked at least twice
(unrelated to these changes) so I've marked it as such since it's not
worth a separate PR.

## How this was tested

New unit test on `log.Lazy` + `set` methods. Existing CI for the rest as
it's a refactor.
2025-02-24 16:53:21 +00:00
..
ISSUE_TEMPLATE chore(github): issue template configuration and update issue templates (#96) 2024-12-30 18:00:05 +01:00
workflows chore: logging (#151) 2025-02-24 16:53:21 +00:00
CODEOWNERS remove @gballet as a GraphQL codeowner (#27012) 2023-03-30 04:58:23 -04:00
CONTRIBUTING.md all: update links in documentation (#26882) 2023-03-14 10:23:49 -04:00
labels.yml chore: add label "Priority: With next Geth sync" (#129) 2025-02-11 12:41:12 +01:00
no-response.yml Change issue labels in bot configs to the new prefixed version 2018-12-14 14:50:10 +01:00
pull_request_template.md chore: PR template (#19) 2024-09-13 08:33:36 -07:00
stale.yml Change issue labels in bot configs to the new prefixed version 2018-12-14 14:50:10 +01:00