Skip to content

config: derive version from Go module build info#891

Open
mark-liu wants to merge 2 commits intoflashbots:developfrom
mark-liu:fix-go-install-version-889
Open

config: derive version from Go module build info#891
mark-liu wants to merge 2 commits intoflashbots:developfrom
mark-liu:fix-go-install-version-889

Conversation

@mark-liu
Copy link

@mark-liu mark-liu commented Feb 6, 2026

Fixes #889.

When mev-boost is installed via go install ...@latest, the version string can be empty/unknown unless ldflags are provided. This change derives Version from Go build info / module metadata as a fallback.

Tests: go test ./...

@bFanek
Copy link

bFanek commented Feb 15, 2026

Thank you for fixing this

@mark-liu
Copy link
Author

Friendly ping — any chance this could get a review? Happy to address feedback.

@mark-liu
Copy link
Author

mark-liu commented Mar 6, 2026

Friendly ping — this derives the version from Go module build info so it stays accurate without manual updates. Happy to address feedback.

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.

v1.11: building latest tag in Go install returns version "dev" instead of "v1.11"

2 participants