Finschia / finschia-sdk

A framework for building blockchains based Finschia Mainnet that is forked from cosmos-sdk
Apache License 2.0
61 stars 31 forks source link

fix(server): properly parse multiple gas config(backport cosmos/cosmos-sdk#18537) #1337

Closed jaeseung-bae closed 7 months ago

jaeseung-bae commented 7 months ago

Description

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

CLAassistant commented 7 months ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 70.39%. Comparing base (55b6566) to head (58cf3aa).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1337/graphs/tree.svg?width=650&height=150&src=pr&token=m16qfzIPO7&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia)](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) ```diff @@ Coverage Diff @@ ## main #1337 +/- ## ======================================= Coverage 70.38% 70.39% ======================================= Files 643 643 Lines 54793 54789 -4 ======================================= + Hits 38564 38566 +2 + Misses 14054 14047 -7 - Partials 2175 2176 +1 ``` | [Files](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1337?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) | Coverage Δ | | |---|---|---| | [server/config/toml.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1337?src=pr&el=tree&filepath=server%2Fconfig%2Ftoml.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-c2VydmVyL2NvbmZpZy90b21sLmdv) | `15.78% <ø> (ø)` | | | [server/config/config.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1337?src=pr&el=tree&filepath=server%2Fconfig%2Fconfig.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-c2VydmVyL2NvbmZpZy9jb25maWcuZ28=) | `46.32% <33.33%> (+2.75%)` | :arrow_up: |