Skip to content

Test should be enabled after preview3  #3705

Open
@AliceInHunterland

Description

@AliceInHunterland

Enable tests after preview3 (ee3c119#r1853618989 )

			/* preview3 doesn't return any validators until there is a vote
			check: func(t *testing.T, e *executor, validators any) {
				var expected []result.Validator
				sBValidators := e.chain.GetStandByValidators()
				for _, sbValidator := range sBValidators {
					expected = append(expected, result.Validator{
						PublicKey: *sbValidator,
						Votes:     0,
						Active:    true,
					})
				}

				actual, ok := validators.(*[]result.Validator)
				require.True(t, ok)

				assert.ElementsMatch(t, expected, *actual)
			},
			*/

Possible Solution

Uncomment and check those tests (find others if any).

Metadata

Metadata

Assignees

No one assigned

    Labels

    I4No visible changesS4RoutineU4Nothing urgentenhancementImproving existing functionalitytestUnit tests

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions