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

Burn auction #143

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Burn auction #143

wants to merge 13 commits into from

Conversation

vaibhavchellani
Copy link
Contributor

@vaibhavchellani vaibhavchellani commented Feb 8, 2021

Fixes #128

Copy link
Collaborator

@ChihChengLiang ChihChengLiang left a 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)
Copy link
Collaborator

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.

Copy link
Contributor Author

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"`
Copy link
Collaborator

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good to me!

@vaibhavchellani vaibhavchellani marked this pull request as ready for review February 24, 2021 20:55
Copy link
Collaborator

@ChihChengLiang ChihChengLiang left a comment

Choose a reason for hiding this comment

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

Looks good

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.

Support burn auction
2 participants