-
Notifications
You must be signed in to change notification settings - Fork 3
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
Burn auction #143
base: master
Are you sure you want to change the base?
Burn auction #143
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks so far so good. Left some thoughts.
bidder/bidder.go
Outdated
logger := log.Logger.With("module", BiddingService) | ||
bi := &Bidder{} | ||
bi.BaseService = *core.NewBaseService(logger, BiddingService, bi) | ||
DB, err := db.NewDB(cfg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need db for Bidder? Looks like it is unused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yes, need to remove, good eye!
@@ -68,6 +68,9 @@ type Configuration struct { | |||
|
|||
GenesisEth1Block uint64 `mapstructure:"genesis_eth1_block"` | |||
AppID string `mapstructure:"app_id"` | |||
|
|||
BidAmount uint64 `mapstructure:"bid_amount"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been looking for the right word for this. What do you think WillingnessToPay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Fixes #128