kona icon indicating copy to clipboard operation
kona copied to clipboard

fix(trusted-sync): Decrease info log spam between safehead updates at tip

Open clabby opened this issue 1 year ago • 0 comments

Overview

After #318, trusted-sync successfully follows tip and waits for L2 safehead updates. However, with -vv (info level), the current loop spams the logs while waiting.

Instead of busy-waiting, we should subscribe to L1 head updates, to prevent the unnecessary work within the loop + decrease log spam.

clabby avatar Jun 26 '24 14:06 clabby