-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add integration tests for IBC chains (#3820)
* create a method to fill other methods * add chain methods * simplify te logic * spin up both chains * add reminder * add relayers * create configs into the code and add a helper to setup and run chains * fix chain config * fix rpc ports * fix wrong urls and missing relayer accounts * reset relayer config and avoid port conflicts * test relayer * fix config port address * draft check realyer * use hermes realyer instead ts relayer * fix the default config values * fix the config flag * add missing tx.go file by default and enable cli if autocli not exist * add changelog * fix wrong error pkg * add missing imports * only scaffold `cli/tx.go` if is a ibc module * move tx.go.plush to right place * add comment to cobra send packet command * add missing ibc interfaces to chain client * set port range * Revert "refactor(templates): add all ibc commands (#3858)" This reverts commit 3dda9b0. * fix changelog * fix ibc.go app * query channels * check balances * check ibc balance * improve test cleanup * fix chain home and config paths * fix log typo * cerate the chain path before use * remove unused const * decrease cleanup time * setup the remote hermes app url * use parser.ParseExpr instead parser.ParseExpr --------- Co-authored-by: Pantani <Pantani>
- Loading branch information
Showing
9 changed files
with
798 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package testdata | ||
|
||
import "fmt" | ||
|
||
func fooTest() { | ||
n := "test new method" | ||
bla := fmt.Sprintf("test new - %s", n) | ||
fmt. | ||
Println(bla) | ||
} | ||
|
||
func BazTest() { | ||
foo := 100 | ||
bar := fmt.Sprintf("test - %d", foo) | ||
fmt.Println(bar) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.