Finschia / finschia-sdk

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

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

Closed mergify[bot] closed 5 months ago

mergify[bot] commented 5 months ago

Description

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 69.74%. Comparing base (f5275d7) to head (bd4426b).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1343/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/1343?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) ```diff @@ Coverage Diff @@ ## release/v0.48.x #1343 +/- ## ================================================ Coverage 69.74% 69.74% ================================================ Files 646 646 Lines 67594 67589 -5 ================================================ + Hits 47141 47143 +2 + Misses 18264 18256 -8 - Partials 2189 2190 +1 ``` | [Files](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1343?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/1343?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) | `20.00% <ø> (ø)` | | | [server/config/config.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1343?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.25% <33.33%> (+2.83%)` | :arrow_up: |