Skip to content

Commit

Permalink
add upgrade handler for v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Jun 15, 2023
1 parent f9c605e commit aeb5cd5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion app/setup_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/upgrade/types"
)

const releaseVersion = "v1.0.7"
const releaseVersion = "v2.0.0"

func SetupHandlers(app *App) {
app.UpgradeKeeper.SetUpgradeHandler(releaseVersion, func(ctx sdk.Context, plan types.Plan, vm module.VersionMap) (module.VersionMap, error) {
Expand Down
3 changes: 0 additions & 3 deletions zetaclient/evm_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,6 @@ func (ob *EVMChainClient) IsSendOutTxProcessed(sendHash string, nonce int, coint
}
sendID := fmt.Sprintf("%s-%d", ob.chain.String(), nonce)
logger = logger.With().Str("sendID", sendID).Logger()
logger.Info().Msgf("nonce %d ", nonce)
logger.Info().Msgf("Found TX %s |Receipt Hash %s", transaction.Hash().Hex(), receipt.TxHash.Hex())
logger.Info().Msgf("ReceiptStatus %d | block number %s ", receipt.Status, receipt.BlockNumber.String())
if cointype == common.CoinType_Gas { // the outbound is a regular Ether/BNB/Matic transfer; no need to check events
if receipt.Status == 1 {
zetaHash, err := ob.zetaClient.PostReceiveConfirmation(
Expand Down

0 comments on commit aeb5cd5

Please sign in to comment.