Skip to content

Commit

Permalink
Add aggregation_config to identical consensus
Browse files Browse the repository at this point in the history
  • Loading branch information
vreff committed Nov 14, 2024
1 parent c220622 commit 370d555
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func (c IdenticalConsensusConfig[T]) New(w *sdk.WorkflowSpecFactory, ref string,
Config: map[string]any{
"encoder": c.Encoder,
"encoder_config": c.EncoderConfig,
"aggregation_config": make(map[string]interface{}),
"aggregation_method": "identical",
"report_id": c.ReportID,
"key_id": c.KeyID,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func TestIdenticalConsensus(t *testing.T) {
Config: map[string]any{
"encoder": "EVM",
"encoder_config": map[string]any{},
"aggregation_config": map[string]any{},
"aggregation_method": "identical",
"report_id": "0001",
"key_id": "evm",
Expand Down

0 comments on commit 370d555

Please sign in to comment.