diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index ed58210b..0744c555 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -216,6 +216,8 @@ var _ = ginkgo.Describe("[Relayer]", ginkgo.Ordered, func() { hostB, portB, err := getURIHostAndPort(subnetBDetails.ValidatorURIs[0]) gomega.Expect(err).Should(gomega.BeNil()) + log.Info("Setting up relayer config", "hostA", hostA, "portA", portA, "blockChainA", blockchainIDA, "hostB", hostB, "portB", portB, "blockChainB", blockchainIDB) + relayerConfig := config.Config{ LogLevel: logging.Info.LowerString(), NetworkID: 1337, @@ -301,12 +303,17 @@ var _ = ginkgo.Describe("[Relayer]", ginkgo.Ordered, func() { startingNonce, err := chainAWSClient.NonceAt(ctx, fundedAddress, nil) gomega.Expect(err).Should(gomega.BeNil()) + nonce, err := chainBWSClient.NonceAt(ctx, fundedAddress, nil) + gomega.Expect(err).Should(gomega.BeNil()) + + log.Info("Packing teleporter message", "nonceA", startingNonce, "nonceB", nonce) + payload, err = teleporter.PackTeleporterMessage(common.Hash(blockchainIDB), teleporterMessage) gomega.Expect(err).Should(gomega.BeNil()) packedInput, err := warp.PackSendWarpMessage(warp.SendWarpMessageInput{ DestinationChainID: common.Hash(blockchainIDB), - DestinationAddress: fundedAddress, + DestinationAddress: teleporterContractAddress, Payload: payload, }) gomega.Expect(err).Should(gomega.BeNil()) diff --git a/vms/evm/destination_client.go b/vms/evm/destination_client.go index 57ade4ce..02e3dda1 100644 --- a/vms/evm/destination_client.go +++ b/vms/evm/destination_client.go @@ -79,6 +79,9 @@ func NewDestinationClient(logger logging.Logger, subnetInfo config.DestinationSu if err != nil { logger.Error( "Failed to get nonce", + zap.String("eoa", eoa.String()), + zap.String("chainID", destinationID.String()), + zap.String("rpcEndpoint", subnetInfo.GetNodeRPCEndpoint()), zap.Error(err), ) return nil, err