celestia-node
celestia-node copied to clipboard
misc(trace): add block height to traces if error occurs
Root hash will be removed from traces after this. So, in some error cases it might not be informational to push traces without any additional information besides the error itself. As @renaynay suggested, we can include root hash only in error cases.
This would be nice to implement throughout the share package
we now have access to the header so we can access the height, we should annotate with height on all metrics