Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VDB-963 cat file flip #249

Open
wants to merge 2 commits into
base: staging
Choose a base branch
from
Open

Conversation

elizabethengelman
Copy link

No description provided.

@elizabethengelman elizabethengelman changed the title Vdb 963 cat file flip VDB-963 cat file flip Oct 31, 2019
Copy link
Contributor

@rmulhol rmulhol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@@ -17,6 +17,7 @@
package queries

import (
"github.com/vulcanize/vulcanizedb/libraries/shared/factories/event"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discovered a new trick (don't know how it took me this long...): goimports -w <dir>

Don't need to apply it to these files as part of this PR, but I'd love to add that to make test + CI so that we can stop worrying about where the imports are going

@@ -88,10 +89,12 @@ var _ = Describe("Ilk File Events Query", func() {

catFileFlipLog := test_data.CreateTestLog(headerOneId, db)
catFileFlip := test_data.CatFileFlipModel()
catFileFlip.ForeignKeyValues[constants.IlkFK] = test_helpers.FakeIlk.Hex
ilkId, createIlkError := shared.GetOrCreateIlk(test_helpers.FakeIlk.Hex, db)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really minor, but golint seems to prefer ID to Id and I'm tempted to follow that for all new code with the eventual goal of silencing the linter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants