Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

fix: remove pallets.js from codegen #1002

Merged
merged 1 commit into from
May 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions codegen/frameCodegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,21 +123,6 @@ export function frameCodegen(
`)
}

files.set(
"pallets.d.ts",
`
${importsCommon}
${palletDeclarations.join("\n")}
`,
)
files.set(
"pallets.js",
`
${importsCommon}
${palletDefinitions.join("\n")}
`,
)

files.set(
"chain.d.ts",
`
Expand Down Expand Up @@ -185,7 +170,6 @@ const mod = `
export * from "./chain.js"
export * from "./connection.js"
export * from "./metadata.js"
export * from "./pallets.js"
export * from "./types.js"
`

Expand Down