#### About Greptile
This response provides a starting point for your research, not a precise solution.
Help us improve! Please leave a ๐ if this is helpful and ๐ if it is irrelevant.
[Ask Greptile](https://app.greptile.com/chat/github/synapsecns/sanguine/master) ยท [Edit Issue Bot Settings](https://app.greptile.com/apps/github)
To extract metrics into a separate struct, follow these steps:
submitter.go
:txSubmitterImpl
toMetrics
:NewTransactionSubmitter
function to initialize the newMetrics
struct:Metrics
struct:txSubmitterImpl
to use the newMetrics
struct:SubmitTransaction
method to use the newMetrics
struct:References
/ethergo/submitter/submitter.go /ethergo/submitter/suite_test.go
#### About Greptile
This response provides a starting point for your research, not a precise solution. Help us improve! Please leave a ๐ if this is helpful and ๐ if it is irrelevant. [Ask Greptile](https://app.greptile.com/chat/github/synapsecns/sanguine/master) ยท [Edit Issue Bot Settings](https://app.greptile.com/apps/github)