Skip to content

Commit

Permalink
remove extraneous substreams.sql.yaml from codegen zip
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Jun 26, 2024
1 parent f30e943 commit 1398ee4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ethfull/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (p *Project) Render(outType outputType) (substreamsFiles map[string][]byte,
case "sql":
templateFiles["sql/run-local.sh.gotmpl"] = "run-local.sh"
templateFiles["sql/schema.sql.gotmpl"] = "BOTH/schema.sql"
templateFiles["sql/substreams.sql.yaml.gotmpl"] = "BOTH/substreams.sql.yaml"
templateFiles["sql/substreams.sql.yaml.gotmpl"] = "substreams/substreams.sql.yaml"
default:
return nil, nil, fmt.Errorf("unknown sql output flavor %q", p.SqlOutputFlavor)
}
Expand Down
4 changes: 2 additions & 2 deletions injective-events/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ func (p *Project) Render(outType outputType) (substreamsFiles map[string][]byte,
switch p.SqlOutputFlavor {
case "clickhouse":
templateFiles["sql/schema.clickhouse.sql.gotmpl"] = "BOTH/schema.sql"
templateFiles["sql/substreams.clickhouse.yaml.gotmpl"] = "BOTH/substreams.clickhouse.yaml"
templateFiles["sql/substreams.clickhouse.yaml.gotmpl"] = "substreams/substreams.clickhouse.yaml"
case "sql":
templateFiles["sql/schema.sql.gotmpl"] = "BOTH/schema.sql"
templateFiles["sql/substreams.sql.yaml.gotmpl"] = "BOTH/substreams.sql.yaml"
templateFiles["sql/substreams.sql.yaml.gotmpl"] = "substreams/substreams.sql.yaml"
default:
return nil, nil, fmt.Errorf("unknown sql output flavor %q", p.SqlOutputFlavor)
}
Expand Down

0 comments on commit 1398ee4

Please sign in to comment.