Skip to content

Commit

Permalink
move db init to vm side (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
Liuhaai authored Oct 7, 2024
1 parent 9fd9450 commit eea92a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
44 changes: 0 additions & 44 deletions cmd/prover/init.go

This file was deleted.

4 changes: 0 additions & 4 deletions cmd/prover/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ func main() {
cfg.Print()
slog.Info("prover config loaded")

if err := migrateDatabase(cfg.DatasourceDSN); err != nil {
log.Fatal(errors.Wrap(err, "failed to migrate database"))
}

prv, err := crypto.HexToECDSA(cfg.ProverOperatorPrvKey)
if err != nil {
log.Fatal(errors.Wrap(err, "failed to parse prover private key"))
Expand Down

0 comments on commit eea92a3

Please sign in to comment.