Skip to content

Commit

Permalink
rebase develop
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Jan 7, 2025
1 parent d8284ae commit a760421
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions testutil/sample/crosschain.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (

"cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
ethcommon "github.com/ethereum/go-ethereum/common"
ethtypes "github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -381,7 +380,7 @@ func InboundVoteFromRand(from, to int64, r *rand.Rand, asset string) types.MsgVo
CallOptions: &types.CallOptions{
GasLimit: 1000000000,
},
InboundHash: ethcommon.BytesToHash(RandomBytes(r)).String(),
InboundHash: common.BytesToHash(RandomBytes(r)).String(),
CoinType: coinType,
TxOrigin: EthAddressFromRand(r).String(),
Asset: asset,
Expand Down Expand Up @@ -476,7 +475,7 @@ func OutboundVoteSim(r *rand.Rand,
OutboundChain: cctx.GetCurrentOutboundParam().ReceiverChainId,
Status: chains.ReceiveStatus_success,
Creator: cctx.Creator,
ObservedOutboundHash: ethcommon.BytesToHash(EthAddressFromRand(r).Bytes()).String(),
ObservedOutboundHash: common.BytesToHash(EthAddressFromRand(r).Bytes()).String(),
ValueReceived: cctx.GetCurrentOutboundParam().Amount,
ObservedOutboundBlockHeight: cctx.GetCurrentOutboundParam().ObservedExternalHeight,
ObservedOutboundEffectiveGasPrice: cctx.GetCurrentOutboundParam().EffectiveGasPrice,
Expand Down

0 comments on commit a760421

Please sign in to comment.