Skip to content

Commit

Permalink
address deep source comments
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmack committed Aug 29, 2024
1 parent 391c6b4 commit 7988888
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dot/parachain/candidate-validation/candidate_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (*CandidateValidation) ProcessBlockFinalizedSignal(parachaintypes.BlockFina
}

// Stop stops the CandidateValidation subsystem
func (cv *CandidateValidation) Stop() {
func (*CandidateValidation) Stop() {
}

// processMessage processes messages sent to the CandidateValidation subsystem
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ func TestCandidateValidation_processMessageValidateFromChainState(t *testing.T)
ctrl := gomock.NewController(t)
t.Cleanup(ctrl.Finish)

//NOTE: adder parachain internally compares postState with bd.State in it's validate_block,
//so following is necessary.
// NOTE: adder parachain internally compares postState with bd.State in it's validate_block,
// so following is necessary.
encodedState, err := scale.Marshal(uint64(1))
require.NoError(t, err)
postState, err := common.Keccak256(encodedState)
Expand Down

0 comments on commit 7988888

Please sign in to comment.