Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial set of interchaintest tests. #1

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Conversation

fastfadingviolets
Copy link
Owner

These cover different transaction types

Please go the the Preview tab and select the appropriate sub-template:

  • Production code - for types fix, feat, and refactor.
  • Docs - for documentation changes.
  • Others - for changes that do not affect production code.

These cover different transaction types
@fastfadingviolets fastfadingviolets merged commit cdcdcb3 into main Jul 16, 2024
1 of 9 checks passed
return nil, fmt.Errorf("shouldCopyProviderKey must be the same length as the number of validators")
}

spawnTime := time.Now().Add(CHAIN_SPAWN_WAIT)

Check warning

Code scanning / CodeQL

Calling the system time Warning test

Calling the system time may be a possible source of non-determinism
Comment on lines +414 to +439
go func() {
defer close(errCh)
if err := p.WaitForProposalStatus(ctx, propTx.ProposalID, govv1beta1.StatusDepositPeriod); err != nil {
errCh <- err
return
}
propWaiter.waitForDepositAllowed()

if _, err := p.GetNode().ExecTx(ctx, interchaintest.FaucetAccountKeyName, "gov", "deposit", propTx.ProposalID, prop.Deposit); err != nil {
errCh <- err
return
}

if err := p.WaitForProposalStatus(ctx, propTx.ProposalID, govv1beta1.StatusVotingPeriod); err != nil {
errCh <- err
return
}
propWaiter.startVotingPeriod()
propWaiter.waitForVoteAllowed()

if err := p.PassProposal(ctx, propTx.ProposalID); err != nil {
errCh <- err
return
}
propWaiter.pass()
}()

Check notice

Code scanning / CodeQL

Spawning a Go routine Note test

Spawning a Go routine may be a possible source of non-determinism
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant