Skip to content

feat(CHAIN-3393): propagate logger through router into BaseEngine for observability#63

Merged
jackchuma merged 1 commit intomainfrom
feat/add-logger-to-base-engine
Mar 31, 2026
Merged

feat(CHAIN-3393): propagate logger through router into BaseEngine for observability#63
jackchuma merged 1 commit intomainfrom
feat/add-logger-to-base-engine

Conversation

@jackchuma
Copy link
Copy Markdown
Collaborator

Summary

  • Threads the Logger instance from DefaultBridgeClient through resolveBridgeRoute and the route adapters (BaseToSvmRouteAdapter, SvmToBaseRouteAdapter) into BaseEngine.
  • Adds structured debug, info, and warn log statements across gas estimation, transaction simulation/submission, proof generation, message execution, validator approval polling, and execution monitoring.
  • Falls back to NOOP_LOGGER when no logger is provided, preserving backward compatibility.

Thread the Logger instance from the client through resolveBridgeRoute and
route adapters into BaseEngine. Add debug, info, and warn log statements
to gas estimation, transaction submission, proof generation, message
execution, validator approval polling, and execution monitoring. This
gives callers visibility into bridge lifecycle without changing behaviour.
@jackchuma jackchuma changed the title feat: propagate logger through router into BaseEngine for observability feat(CHAIN-3393): propagate logger through router into BaseEngine for observability Mar 31, 2026
@linear
Copy link
Copy Markdown

linear bot commented Mar 31, 2026

@jackchuma jackchuma merged commit 6d629e2 into main Mar 31, 2026
5 checks passed
@jackchuma jackchuma deleted the feat/add-logger-to-base-engine branch March 31, 2026 19:20
jackchuma added a commit that referenced this pull request Apr 1, 2026
…lity

Wire the Logger interface into SolanaEngine and add structured
debug/info/warn/error logging across all bridge operations, message
proving, execution, buffer management, and transaction submission.
Route adapters (BaseToSvm, SvmToBase) now forward the logger into
SolanaEngine, matching the pattern established for BaseEngine in #63.
jackchuma added a commit that referenced this pull request Apr 1, 2026
…lity (#65)

Wire the Logger interface into SolanaEngine and add structured
debug/info/warn/error logging across all bridge operations, message
proving, execution, buffer management, and transaction submission.
Route adapters (BaseToSvm, SvmToBase) now forward the logger into
SolanaEngine, matching the pattern established for BaseEngine in #63.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant