-
Notifications
You must be signed in to change notification settings - Fork 334
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
Revert "[iip-15]sgdRegistry implementation (#3845) " #4357
Conversation
if forTest { | ||
builder.cs.sgdIndexer = nil | ||
return nil | ||
} | ||
kvStore, err := db.CreateKVStoreWithCache(builder.cfg.DB, builder.cfg.Chain.SGDIndexDBPath, 1000) | ||
if err != nil { | ||
return err | ||
} else { | ||
builder.cs.sgdIndexer = blockindex.NewSGDRegistry() |
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.
delete the whole function?
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.
will be done in next PR
GetBlockTime: getBlockTime, | ||
GetBlockHash: dao.GetBlockHash, | ||
GetBlockTime: getBlockTime, | ||
DepositGasFunc: rewarding.DepositGasWithSGD, |
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.
wrong function?
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.
will be done in next PR
|
Description
As dicussed, revert the SGD implementation. This is the first PR to revert SGD registry/indexer. A second PR will revert the change inside EVM
Fixes #(issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: