forked from yihuang/gravity-bridge
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: no command to start a sandbox environment (#191)
- Loading branch information
1 parent
3aaf9c9
commit 51b1f00
Showing
3 changed files
with
51 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package integration_tests | ||
|
||
import "fmt" | ||
|
||
func (s *IntegrationTestSuite) TestSandbox() { | ||
s.Run("Bring up chain and see what happens", func() { | ||
// Write whatever code you need here. You can refer to happy_path_test.go | ||
// Alternatively, wait for the chain to start and use this validator's | ||
// private key to perform ethereum / cosmos operations. | ||
// | ||
// The JSON-RPC server is hosted at 0.0.0.0:8545 | ||
fmt.Printf("Validator 0 information: %+v", s.chain.validators[0].ethereumKey) | ||
|
||
s.T().Log("Chain will now keep running. Press enter to exit at any time") | ||
|
||
fmt.Scanln() | ||
|
||
}) | ||
} |
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