-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(statement-distribution):Implement FanIn approach to statement di…
…stribution (#4406)
- Loading branch information
1 parent
e9f3d8d
commit 074f958
Showing
3 changed files
with
68 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
dot/parachain/statement-distribution/statement_distribution_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package statementdistribution | ||
|
||
// //nolint | ||
func createStatementDistribution() (*StatementDistribution, chan any) { | ||
|
||
subSystemToOverseer := make(chan any, 10) | ||
|
||
return &StatementDistribution{ | ||
SubSystemToOverseer: subSystemToOverseer, | ||
}, subSystemToOverseer | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters