Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Delete old Eth listener, move Parachain writer test (paritytech#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rizziepit authored Apr 22, 2021
1 parent d271d09 commit 9f39477
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 271 deletions.
264 changes: 0 additions & 264 deletions relayer/chain/ethereum/listener.go

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2020 Snowfork
// Copyright 2021 Snowfork
// SPDX-License-Identifier: LGPL-3.0-only

package parachain_test
package ethrelayer_test

import (
"context"
Expand All @@ -18,6 +18,7 @@ import (
"github.com/snowfork/polkadot-ethereum/relayer/chain/parachain"
"github.com/snowfork/polkadot-ethereum/relayer/crypto/sr25519"
chainTypes "github.com/snowfork/polkadot-ethereum/relayer/substrate"
"github.com/snowfork/polkadot-ethereum/relayer/workers/ethrelayer"
)

func TestWrite(t *testing.T) {
Expand All @@ -32,12 +33,9 @@ func TestWrite(t *testing.T) {
eg, ctx := errgroup.WithContext(ctx)
defer cancel()

writer, err := parachain.NewWriter(conn, messages, headers, log)
if err != nil {
t.Fatal(err)
}
writer := ethrelayer.NewParachainWriter(conn, messages, headers, log)

err = conn.Connect(ctx)
err := conn.Connect(ctx)
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 9f39477

Please sign in to comment.