Feat: Reactive protocol rework #2266
unit-test.yml
on: pull_request
Unit tests
3m 32s
Unit tests -race
5m 3s
Annotations
20 errors
Unit tests:
pkg/protocol/chain.go#L144
type func(c *Commitment) uint64 of func(c *Commitment) uint64 {…} does not match func(currentValue Type, inputValue1 InputType1) Type (cannot infer Type, InputType1, and InputValueType1)
|
Unit tests:
pkg/protocol/chain.go#L166
type func(c *Commitment) uint64 of func(c *Commitment) uint64 {…} does not match func(currentValue Type, inputValue1 InputType1) Type (cannot infer Type, InputType1, and InputValueType1)
|
Unit tests:
pkg/protocol/chain.go#L177
type func(latestVerifiedCommitment *Commitment, outOfSyncThreshold iotago.SlotIndex) bool of func(latestVerifiedCommitment *Commitment, outOfSyncThreshold iotago.SlotIndex) bool {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests:
pkg/protocol/chain.go#L183
type func(latestVerifiedCommitment *Commitment, warpSyncThreshold iotago.SlotIndex) bool of func(latestVerifiedCommitment *Commitment, warpSyncThreshold iotago.SlotIndex) bool {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests:
pkg/protocol/chain.go#L217
type func(spawnedEngine *engine.Engine, parentEngine *engine.Engine) *engine.Engine of func(spawnedEngine, parentEngine *engine.Engine) *engine.Engine {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests:
pkg/protocol/commitment.go#L106
type func(isRoot bool, mainChild *Commitment) *Chain of func(isRoot bool, mainChild *Commitment) *Chain {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests:
pkg/protocol/commitment.go#L124
type func(parentChain *Chain, spawnedChain *Chain) *Chain of func(parentChain, spawnedChain *Chain) *Chain {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests:
pkg/protocol/commitment.go#L128
type func(parentCumulativeAttestedWeight uint64, attestedWeight uint64) uint64 of func(parentCumulativeAttestedWeight, attestedWeight uint64) uint64 {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests:
pkg/protocol/commitment.go#L132
type func(parentAboveLatestVerifiedCommitment bool, parentIsVerified bool, isVerified bool) bool of func(parentAboveLatestVerifiedCommitment, parentIsVerified, isVerified bool) bool {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2, inputValue3 InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
|
Unit tests:
pkg/protocol/commitment.go#L140
type func(spawnedEngine *engine.Engine, warpSyncing bool, isAboveLatestVerifiedCommitment bool) bool of func(spawnedEngine *engine.Engine, warpSyncing, isAboveLatestVerifiedCommitment bool) bool {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2, inputValue3 InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
|
Unit tests -race:
pkg/protocol/chain.go#L144
type func(c *Commitment) uint64 of func(c *Commitment) uint64 {…} does not match func(currentValue Type, inputValue1 InputType1) Type (cannot infer Type, InputType1, and InputValueType1)
|
Unit tests -race:
pkg/protocol/chain.go#L166
type func(c *Commitment) uint64 of func(c *Commitment) uint64 {…} does not match func(currentValue Type, inputValue1 InputType1) Type (cannot infer Type, InputType1, and InputValueType1)
|
Unit tests -race:
pkg/protocol/chain.go#L177
type func(latestVerifiedCommitment *Commitment, outOfSyncThreshold iotago.SlotIndex) bool of func(latestVerifiedCommitment *Commitment, outOfSyncThreshold iotago.SlotIndex) bool {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests -race:
pkg/protocol/chain.go#L183
type func(latestVerifiedCommitment *Commitment, warpSyncThreshold iotago.SlotIndex) bool of func(latestVerifiedCommitment *Commitment, warpSyncThreshold iotago.SlotIndex) bool {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests -race:
pkg/protocol/chain.go#L217
type func(spawnedEngine *engine.Engine, parentEngine *engine.Engine) *engine.Engine of func(spawnedEngine, parentEngine *engine.Engine) *engine.Engine {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests -race:
pkg/protocol/commitment.go#L106
type func(isRoot bool, mainChild *Commitment) *Chain of func(isRoot bool, mainChild *Commitment) *Chain {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests -race:
pkg/protocol/commitment.go#L124
type func(parentChain *Chain, spawnedChain *Chain) *Chain of func(parentChain, spawnedChain *Chain) *Chain {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests -race:
pkg/protocol/commitment.go#L128
type func(parentCumulativeAttestedWeight uint64, attestedWeight uint64) uint64 of func(parentCumulativeAttestedWeight, attestedWeight uint64) uint64 {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2) Type (cannot infer Type, InputType1, InputType2, InputValueType1, and InputValueType2)
|
Unit tests -race:
pkg/protocol/commitment.go#L132
type func(parentAboveLatestVerifiedCommitment bool, parentIsVerified bool, isVerified bool) bool of func(parentAboveLatestVerifiedCommitment, parentIsVerified, isVerified bool) bool {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2, inputValue3 InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
|
Unit tests -race:
pkg/protocol/commitment.go#L140
type func(spawnedEngine *engine.Engine, warpSyncing bool, isAboveLatestVerifiedCommitment bool) bool of func(spawnedEngine *engine.Engine, warpSyncing, isAboveLatestVerifiedCommitment bool) bool {…} does not match func(currentValue Type, inputValue1 InputType1, inputValue2 InputType2, inputValue3 InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
|