Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
fix(backend): fix timestamp precision for genesis changes
Browse files Browse the repository at this point in the history
  • Loading branch information
burdiyan committed Jul 11, 2024
1 parent 0631f84 commit 2c818c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/daemon/index/blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/multiformats/go-multicodec"
)

var ProfileGenesisEpoch = must.Do2(time.ParseInLocation(time.RFC3339, "2024-01-01T00:00:00Z", time.UTC)).Unix()
var ProfileGenesisEpoch = must.Do2(time.ParseInLocation(time.RFC3339, "2024-01-01T00:00:00Z", time.UTC)).UnixMicro()

const BlobTypeDagPB = "DagPB"

Expand Down
2 changes: 1 addition & 1 deletion backend/daemon/storage2/storage_migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type migration struct {
var migrations = []migration{
// New beginning. While we're doing the HM24 migration we can still make some breaking changes.
// TODO(burdiyan): add a real version when we are ready to release.
{Version: "2024-06-20.hm24-dev-2", Run: func(d *Store, conn *sqlite.Conn) error {
{Version: "2024-06-20.hm24-dev-3", Run: func(d *Store, conn *sqlite.Conn) error {
return nil
}},
}
Expand Down

0 comments on commit 2c818c1

Please sign in to comment.