Skip to content

Commit

Permalink
misc: changelog and fix test (#460)
Browse files Browse the repository at this point in the history
* release: v3.0.0 changelog (#433)

* release: v3.0.0-beta1 (#459)

* docs: governance (#431)

* docs: governance

* docs updates

* revert

* revert

* fix: docs build (#434)

* add UML diagrams

* rm tx flow

* build(deps): bump github.com/onsi/gomega from 1.18.1 to 1.19.0 (#438)

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.18.1 to 1.19.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.18.1...v1.19.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* imp: remove unnecesary unpack public key (#440)

* docs: update testnet docs (#442)

* ENG-109 - impr(claims): remove claims merge/migrate cases where sender already completed an action as they are never reached (#443)

* impr(claims): remove claims merge/migrate cases where sender alreayd completed an action as they are never reached

* add CHANGELOG

* fix changelog

* impr(claims): address PR comments

* docs: add warnings for `keyring-backend test` (#444)

* docs: add warnings for keyring-backend test

* fix lint

* deps: bump ethermint to v0.12.1 (#445)

* impr(init.sh): remove increased blocktime (#447)

* audit(recovery): api and state machine (#439)

* audit(recovery): improve comments and move GetIBCDenomDestinationIdentifiers method

* audit(recovery): refactor ibc_callback to use recipient where sender == recipient

* audit(recovery): remove pubkey nil check

* cleanup

* dont redeclare err

* impr(claims): address PR comments

* impr(claims): address PR comments

* impr(claims): address PR comments

* go mod tidy

Co-authored-by: ramacarlucho <ramirocarlucho@gmail.com>

* imp: recovery fail transfer tests (#450)

* audit(recovery): improve comments and move GetIBCDenomDestinationIdentifiers method

* audit(recovery): refactor ibc_callback to use recipient where sender == recipient

* audit(recovery): remove pubkey nil check

* cleanup

* dont redeclare err

* Add fail transfer cases

* add case

* delete comment

Co-authored-by: Daniel Burckhardt <daniel.m.burckhardt@gmail.com>

* tests(recovery): add genesis and partial recovery tests (#451)

* add partial recovery test

* tests(recovery): add genesis_test

* build(deps): bump github.com/tharsis/ethermint from 0.12.1 to 0.12.2 (#452)

* integration(recovery): add behaviour driven tests (#453)

* add bdd test structure

* start replacing tests

* refactor 3 chain cases

* add claims no merge case and clean up

* address comments

* deps: bump Cosmos SDK to v0.45.2 (#457)

* deps: bump Cosmos SDK to v0.45.2

* changelog

* fix

* fix: v3 migration (#446)

* fix: v3 migration

* fix

* fix

* fix 2

* fix empty basefee

* upgrade ethermint

* dont force migration

* [ENG-139] add v3testnet migrator (#456)

* add v3testnet migrator

* fix lint

* address comments

* set store loader

* add constants

* forced upgrade code

* Update app/forks.go

Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* changelog

* fix comment

* remove existing modules from upgrade

* rm TODO

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>

* deps: bump ethermint to v0.13.0 (#458)

* deps: bump ethermint to v0.13.0

* changelog

* fix

* changelog

* fix lint

* fix

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Burckhardt <daniel.m.burckhardt@gmail.com>
Co-authored-by: ramacarlucho <ramirocarlucho@gmail.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Burckhardt <daniel.m.burckhardt@gmail.com>
Co-authored-by: ramacarlucho <ramirocarlucho@gmail.com>
  • Loading branch information
4 people committed Apr 5, 2022
1 parent 184fddd commit f02e26c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Ref: https://keepachangelog.com/en/1.0.0/

# Changelog

## Unreleased
## [v3.0.0] - 2022-04-05

### State Machine Breaking

Expand Down
12 changes: 6 additions & 6 deletions app/upgrades/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
### Mainnet

- `v2`:
- updates the ERC20 EVM hook to `true`.
- updates the ERC20 EVM hook to `true`.
- `v3`:
- moves the `x/feemarket` `BaseFee` from the store to the parameters
- adds the `x/recovery` module
- moves the `x/feemarket` `BaseFee` from the store to the parameters
- adds the `x/recovery` module

### Testnet

- `tv3`:
- moves the `x/feemarket` `BaseFee` from the store to the parameters
- adds claims `AuthorizedChannels` and `EVMChannels` param fields
- adds the `x/recovery` module
- moves the `x/feemarket` `BaseFee` from the store to the parameters
- adds claims `AuthorizedChannels` and `EVMChannels` param fields
- adds the `x/recovery` module
12 changes: 7 additions & 5 deletions x/claims/keeper/hooks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ func (suite *KeeperTestSuite) TestAfterDelegation() {
func (suite *KeeperTestSuite) TestAfterEVMStateTransition() {
from := tests.GenerateAddress()
to := tests.GenerateAddress()
msg := ethtypes.NewMessage(from, &to, 0, nil, 0, nil, nil, nil, nil, nil, false)

receipt := ethtypes.Receipt{}
addr := sdk.AccAddress(from.Bytes())

Expand All @@ -276,7 +278,7 @@ func (suite *KeeperTestSuite) TestAfterEVMStateTransition() {
{
"no claim record",
func() {
err := suite.app.ClaimsKeeper.AfterEVMStateTransition(suite.ctx, from, &to, &receipt)
err := suite.app.ClaimsKeeper.AfterEVMStateTransition(suite.ctx, msg, &receipt)
suite.Require().NoError(err)
},
},
Expand All @@ -295,7 +297,7 @@ func (suite *KeeperTestSuite) TestAfterEVMStateTransition() {
suite.app.ClaimsKeeper.SetParams(suite.ctx, params)
suite.app.ClaimsKeeper.SetClaimsRecord(suite.ctx, addr, claimRecord)

err := suite.app.ClaimsKeeper.AfterEVMStateTransition(suite.ctx, from, &to, &receipt)
err := suite.app.ClaimsKeeper.AfterEVMStateTransition(suite.ctx, msg, &receipt)
suite.Require().NoError(err)
},
},
Expand All @@ -316,7 +318,7 @@ func (suite *KeeperTestSuite) TestAfterEVMStateTransition() {
suite.app.ClaimsKeeper.SetParams(suite.ctx, params)
suite.app.ClaimsKeeper.SetClaimsRecord(suite.ctx, addr, claimRecord)

err := suite.app.ClaimsKeeper.AfterEVMStateTransition(suite.ctx, from, &to, &receipt)
err := suite.app.ClaimsKeeper.AfterEVMStateTransition(suite.ctx, msg, &receipt)
suite.Require().NoError(err)
},
},
Expand Down Expand Up @@ -344,7 +346,7 @@ func (suite *KeeperTestSuite) TestAfterEVMStateTransition() {
err = suite.app.BankKeeper.SendCoinsFromModuleToModule(suite.ctx, inflationtypes.ModuleName, types.ModuleName, coins)
suite.Require().NoError(err)

err = suite.app.ClaimsKeeper.AfterEVMStateTransition(suite.ctx, from, &to, &receipt)
err = suite.app.ClaimsKeeper.AfterEVMStateTransition(suite.ctx, msg, &receipt)
suite.Require().NoError(err)

newClaimRec, found := suite.app.ClaimsKeeper.GetClaimsRecord(suite.ctx, addr)
Expand Down Expand Up @@ -374,7 +376,7 @@ func (suite *KeeperTestSuite) TestAfterEVMStateTransition() {

expBalance := suite.app.BankKeeper.GetBalance(suite.ctx, addr, params.ClaimsDenom)

err := suite.app.ClaimsKeeper.AfterEVMStateTransition(suite.ctx, from, &to, &receipt)
err := suite.app.ClaimsKeeper.AfterEVMStateTransition(suite.ctx, msg, &receipt)
suite.Require().NoError(err)

newClaimRec, found := suite.app.ClaimsKeeper.GetClaimsRecord(suite.ctx, addr)
Expand Down

0 comments on commit f02e26c

Please sign in to comment.