You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add missing embed import for interopnet build (#13372)
* fix: add missing embed import for interopnet build
## Proposed Changes
The interopnet build was failing with:
`go:embed only allowed in Go files that import embed`
This was because `params_interop.go` used the `//go:embed` directive to embed `f3manifest_interop.json`, but was missing the required ` _ "embed"` import that other network parameter files have.
Adding the import fixes the build error and allows all interopnet binaries to compile successfully.
## Checklist
Before you mark the PR ready for review, please make sure that:
- [x] Commits have a clear commit message.
- [x] PR title conforms with [contribution conventions](https://github.com/filecoin-project/lotus/blob/master/CONTRIBUTING.md#pr-title-conventions)
- [ ] Update CHANGELOG.md or signal that this change does not need it per [contribution conventions](https://github.com/filecoin-project/lotus/blob/master/CONTRIBUTING.md#changelog-management)
- [ ] New features have usage guidelines and / or documentation updates in
- [ ] [Lotus Documentation](https://lotus.filecoin.io)
- [ ] [Discussion Tutorials](https://github.com/filecoin-project/lotus/discussions/categories/tutorials)
- [ ] Tests exist for new functionality or change in behavior
- [ ] CI is green
* fix: regenerate actor code and fix formatting issues
- Fixed trailing tab in params_interop.go embed import
- Regenerated all actor files with make gen
- Applied gofmt to all Go files
This resolves CI failures for both gofmt and gen-check.
---------
Co-authored-by: TippyFlits <[email protected]>
0 commit comments