Skip to content

pkg/loop: wait from chain family#1593

Merged
jmank88 merged 1 commit intomainfrom
chain-fam-wait
Oct 8, 2025
Merged

pkg/loop: wait from chain family#1593
jmank88 merged 1 commit intomainfrom
chain-fam-wait

Conversation

@jmank88
Copy link
Copy Markdown
Contributor

@jmank88 jmank88 commented Oct 8, 2025

The Service field is initialized async so access must be gated by a call to Wait.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 8, 2025

✅ API Diff Results - No breaking changes


📄 View full apidiff report | 📚 Learn about apidiff

if err := r.Wait(); err != nil {
return nil, err
}
return r.Service.EVM()
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@archseer I wonder if linters can understand cases like this? The synchronization is a bit indirect, via the serviceCh.

Comment thread pkg/loop/internal/goplugin/plugin_service.go Outdated
@jmank88 jmank88 marked this pull request as ready for review October 8, 2025 15:51
@jmank88 jmank88 requested a review from a team as a code owner October 8, 2025 15:51
vyzaldysanchez
vyzaldysanchez previously approved these changes Oct 8, 2025
Unheilbar
Unheilbar previously approved these changes Oct 8, 2025
Comment thread pkg/loop/relayer_service.go
@jmank88 jmank88 enabled auto-merge (squash) October 8, 2025 16:01
@jmank88 jmank88 merged commit bfe585c into main Oct 8, 2025
19 of 20 checks passed
@jmank88 jmank88 deleted the chain-fam-wait branch October 8, 2025 16:04
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.

6 participants