ava-labs / avalanchego

Go implementation of an Avalanche node.
https://avax.network
BSD 3-Clause "New" or "Revised" License
2.09k stars 646 forks source link

Remove avalanche metrics registerer from consensus context #3087

Closed StephenButtolph closed 3 weeks ago

StephenButtolph commented 3 weeks ago

Why this should be merged

Reduces the diff in #3053.

How this works

Explicitly passes the avalanche context rather than specifying it in the snow.ConsensusContext.

How this was tested