gaia
gaia copied to clipboard
Testnet in ci
Hi,
We've been implementing the globalfee module for eve. Along the way we're hitting the same issues that we're seeing you solve here, and this CI job will surface that kind of thing more easily.
Please treat this PR as the starting point for this job, as we likely want a job that stops after some period of time.
I guess we can look at it as an addition to the e2e testing and liveness checks.
Codecov Report
Merging #1735 (1ba0270) into main (1ae81a6) will decrease coverage by
0.03%. The diff coverage isn/a.
Additional details and impacted files
@@ Coverage Diff @@
## main #1735 +/- ##
==========================================
- Coverage 76.89% 76.86% -0.04%
==========================================
Files 34 34
Lines 1861 1893 +32
==========================================
+ Hits 1431 1455 +24
- Misses 369 375 +6
- Partials 61 63 +2
thanks for the PR @faddat
very interesting, i've never come across the testnet command actually.
it seems like this is doing the exact same thing as the liveness test, is that correct?
it would be good to pick one or the other if they are doing the exact same thing.
the liveness test is already stopping after a number of blocks are successfully produced, is there more to this PR than what I've described above?
just thinking out loud, the benefits of using the testnet command is that it removes an external dependency (starport cli).
however the benefit of using starport is that it should act more like an actual validator running real commands, whereas the testnet command may make some assumption within the cosmos sdk that an actual node operator may not, which means it tests a more realistic liveness scenario.
any other features to consider that you can think of @faddat ?
would also be curious to hear from @alexanderbez as he added the current liveness test and has used a similar set up on other repos. Would be curious why you opted for starport cli in the first place instead of the testnet command?
ok, so basically we've got the testnet command in gaia now, but it doesn't work.
We've put it on a number of other chains, and I don't really think that ignite is a suitable alternative for this task, because when we spin up a testnet with ignite, we are doing that without any assurances that the testnet command works.
I guess that one alternative is that we drop the testnet command, but please do know that the testnet command does something fairly substantially different from what happens when we do like:
ignite chain serve
thanks @faddat , I'm trying to understand what that substantially different set of things is to ascertain whether it's worth spending time deprecating use of ignite in favor of the testnet command. i'm into consistency but don't want to fix something that isn't broken without more justification than consistency. are there other benefits to the testnet command that we should consider?
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Running htis action doesn't run a testnet , it just initializes directories. going to close for now as testing that the network can produce blocks with two nodes is done in E2E and with one node in the liveness test