Skip to content

Commit

Permalink
feat(lib/parachain): added parachain service and registering protocols (
Browse files Browse the repository at this point in the history
#3277)

- Added parachain service
- Registered collation and validation protocol
- Confirmed that we can communicate with collators by talking to them in `run()` function
  • Loading branch information
kishansagathiya authored and edwardmack committed Apr 2, 2024
1 parent 1848608 commit f08b9c4
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions dot/parachain/approval_distribution_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
1 change: 1 addition & 0 deletions dot/parachain/available_data_fetching.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
1 change: 1 addition & 0 deletions dot/parachain/available_data_fetching_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
1 change: 1 addition & 0 deletions dot/parachain/chunk_fetching_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
1 change: 1 addition & 0 deletions dot/parachain/statement_fetching.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
Empty file.
Empty file.
Empty file added lib/parachain/statement.go
Empty file.

0 comments on commit f08b9c4

Please sign in to comment.