Skip to content

(VDB-978) Remove flop kick repository#43

Merged
gslaughl merged 1 commit intostagingfrom
vdb-978-remove-flop-kick-repo
Dec 9, 2019
Merged

(VDB-978) Remove flop kick repository#43
gslaughl merged 1 commit intostagingfrom
vdb-978-remove-flop-kick-repo

Conversation

@gslaughl
Copy link
Copy Markdown
Contributor

@gslaughl gslaughl commented Dec 6, 2019

No description provided.

Copy link
Copy Markdown
Contributor

@m0ar m0ar left a comment

Choose a reason for hiding this comment

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

Looking good!

The compiled binary vdb-mcd-transformers is checked in, coudl you remove that and add it to .gitignore? 😊

flopKickEvent.ColumnValues[event.HeaderFK] = headerOne.Id
flopKickEvent.ColumnValues[event.LogFK] = flopKickLog.ID
flopKickEvent.ColumnValues[event.AddressFK] = addressId
flopKickEvent.ColumnValues["bid_id"] = strconv.Itoa(fakeBidId)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is there a constant for "bid_id"?

headerId := insertHeader(db, blockNumber)
flopKickLog := test_data.CreateTestLog(headerId, db)
_, insertErr := db.Exec(flop_kick.InsertFlopKickQuery, headerId, bidId, 0, 0, "", contractAddressId, flopKickLog.ID)
_, insertErr := db.Exec(insertFlopKickQuery, headerId, bidId, 0, 0, "", contractAddressId, flopKickLog.ID)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not a huge fan of these zero-value arguments without knowing what they are. Assign them to some local variables?

@gslaughl gslaughl force-pushed the vdb-977-remove-flip-kick-repo branch from 039016f to 12d95ce Compare December 9, 2019 18:31
@gslaughl gslaughl changed the base branch from vdb-977-remove-flip-kick-repo to staging December 9, 2019 18:47
@gslaughl gslaughl force-pushed the vdb-978-remove-flop-kick-repo branch from 9aed809 to c626bbe Compare December 9, 2019 19:07
@gslaughl gslaughl force-pushed the vdb-978-remove-flop-kick-repo branch from c626bbe to c195d5a Compare December 9, 2019 19:18
@gslaughl gslaughl merged commit a861cf7 into staging Dec 9, 2019
@gslaughl gslaughl deleted the vdb-978-remove-flop-kick-repo branch December 9, 2019 19:34
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.

3 participants