-
Notifications
You must be signed in to change notification settings - Fork 566
Conversation
7cb4774
to
a5d8ea5
Compare
Codecov Report
@@ Coverage Diff @@
## main #673 +/- ##
==========================================
- Coverage 57.02% 56.89% -0.13%
==========================================
Files 63 63
Lines 5547 5559 +12
==========================================
Hits 3163 3163
- Misses 2221 2233 +12
Partials 163 163
|
rpc/ethereum/backend/backend.go
Outdated
resParams, err := e.queryClient.FeeMarket.Params(types.ContextWithHeight(height), &feemarkettypes.QueryParamsRequest{}) | ||
if err != nil { | ||
return nil, err | ||
} | ||
|
||
baseFee := big.NewInt(resParams.Params.InitialBaseFee) | ||
baseFee = big.NewInt(resParams.Params.InitialBaseFee) |
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.
It should be Genesis baseFee, not InitialBaseFee there, but logic is not completely clear
b108175
to
a8ab919
Compare
a8ab919
to
1fdb0b0
Compare
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.
Ack minor comment. Can you add a changelog entry?
x/feemarket/types/params.go
Outdated
@@ -80,6 +80,10 @@ func (p Params) Validate() error { | |||
return nil | |||
} | |||
|
|||
func (p *Params) IsBaseFeeEnable(height int64) bool { |
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.
func (p *Params) IsBaseFeeEnable(height int64) bool { | |
func (p *Params) IsBaseFeeEnabled(height int64) bool { |
e70e305
to
a793e61
Compare
b29fca7
to
0331319
Compare
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.
ACK
Closes: #XXX
Description
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)