From 1c58e1e8b979feba38452f5bfe7ff445f2fc9f76 Mon Sep 17 00:00:00 2001 From: Kishan Sagathiya Date: Tue, 11 Jul 2023 13:40:38 +0530 Subject: [PATCH] feat(lib/parachain): added parachain service and registering protocols (#3277) - Added parachain service - Registered collation and validation protocol - Confirmed that we can communicate with collators by talking to them in `run()` function --- dot/parachain/approval_distribution_message.go | 1 + dot/parachain/available_data_fetching.go | 1 + dot/parachain/available_data_fetching_test.go | 1 + dot/parachain/chunk_fetching_test.go | 1 + dot/parachain/statement_fetching.go | 1 + 5 files changed, 5 insertions(+) diff --git a/dot/parachain/approval_distribution_message.go b/dot/parachain/approval_distribution_message.go index 63807e443e..8108f0389d 100644 --- a/dot/parachain/approval_distribution_message.go +++ b/dot/parachain/approval_distribution_message.go @@ -9,6 +9,7 @@ import ( parachaintypes "github.com/ChainSafe/gossamer/dot/parachain/types" "github.com/ChainSafe/gossamer/lib/common" "github.com/ChainSafe/gossamer/lib/crypto/sr25519" + parachaintypes "github.com/ChainSafe/gossamer/lib/parachain/types" "github.com/ChainSafe/gossamer/pkg/scale" ) diff --git a/dot/parachain/available_data_fetching.go b/dot/parachain/available_data_fetching.go index 36773048f7..7040d8bd82 100644 --- a/dot/parachain/available_data_fetching.go +++ b/dot/parachain/available_data_fetching.go @@ -8,6 +8,7 @@ import ( parachaintypes "github.com/ChainSafe/gossamer/dot/parachain/types" "github.com/ChainSafe/gossamer/lib/common" + parachaintypes "github.com/ChainSafe/gossamer/lib/parachain/types" "github.com/ChainSafe/gossamer/pkg/scale" ) diff --git a/dot/parachain/available_data_fetching_test.go b/dot/parachain/available_data_fetching_test.go index 8c1ff96015..ed65ad5d50 100644 --- a/dot/parachain/available_data_fetching_test.go +++ b/dot/parachain/available_data_fetching_test.go @@ -8,6 +8,7 @@ import ( parachaintypes "github.com/ChainSafe/gossamer/dot/parachain/types" "github.com/ChainSafe/gossamer/lib/common" + parachaintypes "github.com/ChainSafe/gossamer/lib/parachain/types" "github.com/ChainSafe/gossamer/pkg/scale" "github.com/stretchr/testify/require" ) diff --git a/dot/parachain/chunk_fetching_test.go b/dot/parachain/chunk_fetching_test.go index 19257e7e48..4af35a9219 100644 --- a/dot/parachain/chunk_fetching_test.go +++ b/dot/parachain/chunk_fetching_test.go @@ -8,6 +8,7 @@ import ( parachaintypes "github.com/ChainSafe/gossamer/dot/parachain/types" "github.com/ChainSafe/gossamer/lib/common" + parachaintypes "github.com/ChainSafe/gossamer/lib/parachain/types" "github.com/ChainSafe/gossamer/pkg/scale" "github.com/stretchr/testify/require" ) diff --git a/dot/parachain/statement_fetching.go b/dot/parachain/statement_fetching.go index f1c40e3417..7b50c85ebd 100644 --- a/dot/parachain/statement_fetching.go +++ b/dot/parachain/statement_fetching.go @@ -8,6 +8,7 @@ import ( parachaintypes "github.com/ChainSafe/gossamer/dot/parachain/types" "github.com/ChainSafe/gossamer/lib/common" + parachaintypes "github.com/ChainSafe/gossamer/lib/parachain/types" "github.com/ChainSafe/gossamer/pkg/scale" )