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

fix: updating logic for how we deal with infiniteGasMeter #467

Merged
merged 3 commits into from
Oct 10, 2023

Conversation

spoo-bar
Copy link
Contributor

@spoo-bar spoo-bar commented Oct 9, 2023

Fixing our logic for

  • Updating min-consensus-fee
  • Tracking inflationary rewards

because it was rugged by sdk 47 changes to the infiniteGasMeter cosmos/cosmos-sdk#9651

Before (sdk 45) && After (sdk 47)
image

@spoo-bar spoo-bar changed the title Spoorthi/fixing block gas limit fix: updating logic for how we deal with infiniteGasMeter Oct 9, 2023
@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

All modified lines are covered by tests ✅

❗ No coverage uploaded for pull request base (feat/sdk-47-upgrade@12496d3). Click here to learn what that means.

Additional details and impacted files
@@                  Coverage Diff                   @@
##             feat/sdk-47-upgrade     #467   +/-   ##
======================================================
  Coverage                       ?   69.78%           
======================================================
  Files                          ?       68           
  Lines                          ?     4087           
  Branches                       ?        0           
======================================================
  Hits                           ?     2852           
  Misses                         ?     1137           
  Partials                       ?       98           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@spoo-bar spoo-bar marked this pull request as ready for review October 9, 2023 13:58
@spoo-bar spoo-bar requested a review from a team as a code owner October 9, 2023 13:58
@spoo-bar spoo-bar requested review from aelesbao, fdymylja and zanicar and removed request for a team October 9, 2023 13:58
@spoo-bar spoo-bar merged commit 39faa9a into feat/sdk-47-upgrade Oct 10, 2023
5 checks passed
@spoo-bar spoo-bar deleted the spoorthi/fixing-block-gas-limit branch October 10, 2023 10:07
spoo-bar added a commit that referenced this pull request Oct 13, 2023
* chore: replacing tendermint with cometbft (#433)

* replacing tendermint refs with comet bft

* replacing tm-db with cometbft-db

* chore: Bumping sdk, wasmd and ibc-go (#435)

* bumping sdk and wasmd and ibc versions

* bumping ibc-go refs

* chore: protobuf migration (#436)

* protobuf migration

* removing third_party/

* regenerating the proto files

* RecordIDs.Ids is a repeated non-nullable native type, nullable=false has no effect

* chore: fix broken upstream references (#450)

updating upstream references for x/wasm. ibc-go, cosmos-sdk

* chore: remove deprecated appmodule routes (#451)

* remove genmsg deprecated route

* remove rewards module deprecated route

* remove tracking module deprecated route

* chore: fixing all the modules and wasmbindings   (#452)

* fixing x/tracking module

* fixing x/rewards module

* fixing x/genmsg module

* fixing genmsg module.go

* fixing wasmbinding

* chore: updating app wiring (#453)

* fixing the upgrade handlers

* fixing ante.go

* fixing export.go

* updating sim_test

* fixing test_helpers

* fixing some app.go stuff

* custom "add-genesis-account" - removed as its not needed anymore

* fixing root.go

* fixing simulation test

* fixing app.go

* cleanup

* chore: fixing e2e tests (#454)

* fixing some e2e tests

* fix more e2e tests

* fixing ibc e2e stuff

* updating changes from merge

* fixing golang.org/x/exp ref. thx @fdymylja

Co-Authored-By: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com>

* pr comment fixes

---------

Co-authored-by: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com>

* chore: apply v46 changes (#455)

* adding posthandler and reflection services

* updating `sdkerrors.Wrap` with `errorsmod`

* every cosmos message protobuf definition must be extended with a cosmos.msg.v1.signer option to signal the signer fields

* better error for when post handler fails

* running go mod tidy

* registering query server after module init

---------

Signed-off-by: Spoorthi <9302666+spoo-bar@users.noreply.github.com>

* chore: apply v47 changes (#458)

* adding crisis module store key

* adding crisis module

* adding consensus module

* adding group module

* adding nft module

* fixing the merge

* fixing gentx decoding

* adding consensusparamtypes.StoreKey storekey && fixing staking keeper

---------

Signed-off-by: Spoorthi <9302666+spoo-bar@users.noreply.github.com>

* feat: bumping archway wasmd to v0.42.0 (#460)

* updating to wasmd fork 0.42.0

* adding capability cosmwasm_1_4

* updating v1.4 libwasmvm checksums

* chore: fixing linter errors and tests (#463)

* fixing lint issues

* fixing x/tracking tests

* fixing app_test.go

* replacing gov v1beta1 stuff with gov v1

* fixig app-upgrade-test

txRes.Data is deprecated in favour of txRes.MsgResponses

* removing depracated field usage

* fixing ibctm not setup

* making the flat fees e2e test simpler

* fixing interchaintest chain upgrade

* fixing TestTxFees thanks @fdymylja 🎉

* fixing more tests with initgenesis failure

* fixing testcase to be compatible with this change cosmos/cosmos-sdk#9651

* removing the ante.DeductFeeDecorator as we alreayd have a custom one

* fixing TestRewardsFlatFees

* undo the mintkeeper fix

* feat: adding upgrade handlers for sdk v47 (#464)

* adding missing consensus keeper

* adding upgrade handler stuff

* oops messed the merge. fixing that

---------

Signed-off-by: Spoorthi <9302666+spoo-bar@users.noreply.github.com>

* feat: enabling rosetta  (#466)

adding rosetta

* fix: updating logic for how we deal with infiniteGasMeter (#467)

* handling behavior change in infinitegasmeter.Limit()

* reflect no mo

* feat: x/rewards param store migration (#468)

* adding new msg proto

* implementing UpdateParams msg

* adding tests

* adding module migrations forx/rewards

* adding x/rewards to upgrade handlers

* adding migratestore test

* fixing lint

* addressing pr review comments

* Update CHANGELOG.md

* feat: bumping archway wasmd to v0.43.0 (#470)

* bumping wasmd fork to to v0.43.0

* updating wasmvm checksum

* removing wasmd deprecated proposals as they arent in the codebase anymore

* Updating changelog

* test: fixing ibc conformance test (#469)

fixing ibc conformance test. the custom genesis values are needed just for upgrade test

---------

Signed-off-by: Spoorthi <9302666+spoo-bar@users.noreply.github.com>
Co-authored-by: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com>
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.

3 participants