0g-chain/x
Draco 43be3815cc
feat: disable inflation upgrade logic (#1706)
* feat: disable inflation upgrade logic

* improve disable inflation comments

* add upgrade tests

* update changelog

* split disable inflation upgrade and the upgrade check

* remove pay rewards logic

* clean up incentives test

* add abci test

* refactor upgradeTime and blockTime check

* fix abci test

* fix wrong pr in changelog

* refactor disable inflation tests, behavior, and implementation
  - Unit tests are now shared between keeper and abci begin blocker
    since behavior is 100% the same
  - ABCI is unaware of keeper initial keeper logic branch (keeper
    methods required to be called in certain order by begin blocker)
  - Behavior of zero time is changed -- this now doesn't run for the
    zero time.  This is more ideal for new chains (genesis should set
    all correct state instead of relying on inflation disable logic),
    and allows for a simpler implementation.
  - Begin blocker now panics if parameters are not in state

* remove previous tests and implementation

* remove previous block time keeper state -- not needed for inflation
disalbing

* move inflation disabling to private method and add more comments

* remove unused key

* use correct spelling for idempotence

---------

Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2023-10-02 13:10:22 -07:00
..
auction feat(metrics): add timing metrics to abci methods (#1669) 2023-08-25 15:14:35 -07:00
bep3 feat(metrics): add timing metrics to abci methods (#1669) 2023-08-25 15:14:35 -07:00
cdp feat(metrics): add timing metrics to abci methods (#1669) 2023-08-25 15:14:35 -07:00
committee feat(metrics): add timing metrics to abci methods (#1669) 2023-08-25 15:14:35 -07:00
community feat: disable inflation upgrade logic (#1706) 2023-10-02 13:10:22 -07:00
earn Cosmos v0.46 upgrade follow ups (#1522) 2023-04-06 12:59:02 +01:00
evmutil fix(evmutil): create module account on InitGenesis (#1655) 2023-07-24 16:00:19 -07:00
hard feat(metrics): add timing metrics to abci methods (#1669) 2023-08-25 15:14:35 -07:00
incentive feat(metrics): add timing metrics to abci methods (#1669) 2023-08-25 15:14:35 -07:00
issuance feat(metrics): add timing metrics to abci methods (#1669) 2023-08-25 15:14:35 -07:00
kavadist feat(metrics): add timing metrics to abci methods (#1669) 2023-08-25 15:14:35 -07:00
liquid Cosmos v0.46 upgrade follow ups (#1522) 2023-04-06 12:59:02 +01:00
metrics feat(x/metrics): add module for emiting custom chain metrics (#1668) 2023-08-25 12:23:53 -07:00
pricefeed feat(metrics): add timing metrics to abci methods (#1669) 2023-08-25 15:14:35 -07:00
router Cosmos v0.46 upgrade follow ups (#1522) 2023-04-06 12:59:02 +01:00
savings Cosmos v0.46 upgrade follow ups (#1522) 2023-04-06 12:59:02 +01:00
swap Cosmos v0.46 upgrade follow ups (#1522) 2023-04-06 12:59:02 +01:00
validator-vesting feat: re-add validator-vesting legacy rest endpoints (#1542) 2023-04-06 15:51:34 -07:00