Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
gusin13 committed Sep 5, 2024
1 parent 2ff1630 commit 9f111d5
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions test/e2e/babylon_bcd_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package e2e

import (
"encoding/hex"
"fmt"
"math"
"os"
"os/exec"
Expand Down Expand Up @@ -522,11 +521,8 @@ func (s *BabylonBCDIntegrationTestSuite) createVerifyConsumerFP(consumerId strin
czFpBTCSK, _, _ := datagen.GenRandomBTCKeyPair(r)
sdk.SetAddrCacheEnabled(false)
bbnparams.SetAddressPrefixes()
sdkCfg := sdk.GetConfig()
fmt.Printf("Current - Account Prefix: %s\n", sdkCfg.GetBech32AccountAddrPrefix())
fpBabylonAddr, err := sdk.AccAddressFromBech32(s.babylonController.MustGetTxSigner())
s.NoError(err)
fmt.Println("fpbabylonaddr", s.babylonController.MustGetTxSigner())
czFp, err := datagen.GenCustomFinalityProvider(r, czFpBTCSK, fpBabylonAddr, consumerId)
s.NoError(err)
czFp.Commission = &MinCommissionRate
Expand Down Expand Up @@ -575,13 +571,8 @@ func (s *BabylonBCDIntegrationTestSuite) initBabylonController() error {
cfg.GasPrices = "0.02ubbn"
cfg.GasAdjustment = 20

sdkCfg := sdk.GetConfig()
fmt.Printf("CURRENT - SDK Account Prefix babylon init: %s\n", sdkCfg.GetBech32AccountAddrPrefix())
sdk.SetAddrCacheEnabled(false)
bbnparams.SetAddressPrefixes()
sdkCfg = sdk.GetConfig()
fmt.Printf("AFTER - SDK Account Prefix babylon init: %s\n", sdkCfg.GetBech32AccountAddrPrefix())

controller, err := babylon.NewBabylonController(&cfg, btcParams, logger)
if err != nil {
return err
Expand All @@ -598,12 +589,8 @@ func (s *BabylonBCDIntegrationTestSuite) initCosmwasmController() error {
// Create a logger
logger, _ := zap.NewDevelopment()

sdkCfg := sdk.GetConfig()
fmt.Printf("CURRENT - SDK Account Prefix BCD init: %s\n", sdkCfg.GetBech32AccountAddrPrefix())
sdk.SetAddrCacheEnabled(false)
bcdparams.SetAddressPrefixes()
sdkCfg = sdk.GetConfig()
fmt.Printf("AFTER - SDK Account Prefix BCD init: %s\n", sdkCfg.GetBech32AccountAddrPrefix())
tempApp := bcdapp.NewTmpApp()
encodingCfg := wasmparams.EncodingConfig{
InterfaceRegistry: tempApp.InterfaceRegistry(),
Expand All @@ -612,13 +599,6 @@ func (s *BabylonBCDIntegrationTestSuite) initCosmwasmController() error {
Amino: tempApp.LegacyAmino(),
}

interfaces := encodingCfg.InterfaceRegistry.ListAllInterfaces()
s.T().Logf("Interfaces: %v", interfaces)

// Log implementations of ClientState
impls := encodingCfg.InterfaceRegistry.ListImplementations("ibc.core.client.v1.ClientState")
s.T().Logf("ClientState implementations: %v", impls)

wcc, err := cosmwasm.NewCosmwasmConsumerController(cfg, encodingCfg, logger)
require.NoError(s.T(), err)

Expand Down

0 comments on commit 9f111d5

Please sign in to comment.