Skip to content

Comments

fix: peerDAS - missing file extensions in networkConfig#7693

Closed
dguenther wants to merge 1 commit intoChainSafe:peerDASfrom
dguenther:peerDAS-fix-build
Closed

fix: peerDAS - missing file extensions in networkConfig#7693
dguenther wants to merge 1 commit intoChainSafe:peerDASfrom
dguenther:peerDAS-fix-build

Conversation

@dguenther
Copy link
Contributor

Motivation

The Docker build isn't working on peerDAS because of missing file extensions -- this PR adds them in.

Description

  • Adds .js file extensions to imports in networkConfig.ts

@dguenther dguenther requested a review from a team as a code owner April 13, 2025 01:16
@@ -1,6 +1,6 @@
import {BeaconConfig} from "@lodestar/config";
import {NodeId, computeNodeId} from "./subnets";
import {CustodyConfig, computeCustodyConfig} from "../util/dataColumns";
Copy link
Member

Choose a reason for hiding this comment

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

I am surprised our linter doesn't catch this

Copy link
Member

Choose a reason for hiding this comment

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

we do have https://biomejs.dev/linter/rules/use-import-extensions/ though, not sure how this didn't catch the case here

Copy link
Contributor

Choose a reason for hiding this comment

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

yes we should have catch this during our linting process, otherwise we'll have similar issues in the future

Copy link
Member

Choose a reason for hiding this comment

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

it's seems the linter catches this though? I haven't tested the specific case but did a quick sanity check on unstable and it's complains about missing file extension there

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They're caught, but lints/tests aren't passing on the root peerDAS branch right now, so not all the errors are fixed there.

@twoeths
Copy link
Contributor

twoeths commented Apr 13, 2025

sorry @dguenther I didn't notice this PR exists so created #7694, was a bit rush to get lodestar work on devnet-6

@dguenther
Copy link
Contributor Author

Np, closing

@dguenther dguenther closed this Apr 13, 2025
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.

3 participants