Skip to content

Commit

Permalink
feat: improve volumes computation (#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag authored Dec 19, 2024
1 parent 1560f54 commit ee5e88c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name: Create accounts volumes index concurrently
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
create index concurrently accounts_volumes_idx on "{{.Schema}}".accounts_volumes (ledger, accounts_address, asset) include (input, output);
1 change: 0 additions & 1 deletion pkg/generate/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ func NewGenerator(script string, opts ...Option) (*Generator, error) {
}

err = runtime.Set("read_file", func(path string) string {
fmt.Println("read file", path)
f, err := os.ReadFile(filepath.Join(cfg.rootPath, path))
if err != nil {
panic(err)
Expand Down

0 comments on commit ee5e88c

Please sign in to comment.