-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(local-ic): multiple ics, faster relayer (#1235)
- Loading branch information
1 parent
a8a5b2b
commit f20ce5a
Showing
6 changed files
with
165 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package dockerutil | ||
|
||
import ( | ||
"fmt" | ||
"os" | ||
"time" | ||
) | ||
|
||
// GetTimeFromEnv gets a time.Duration from a given environment variable key, or returns the fallback value if the key is not set. | ||
func GetTimeFromEnv(key string, fallback time.Duration) time.Duration { | ||
value, ok := os.LookupEnv(key) | ||
if !ok { | ||
return fallback | ||
} | ||
|
||
v, err := time.ParseDuration(value) | ||
if err != nil { | ||
panic(fmt.Sprintf("BUG: failed to parse %s: %s", value, err)) | ||
} | ||
return v | ||
} |
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,13 @@ | ||
# Chains Examples | ||
|
||
## interchainsecurity & neutron | ||
|
||
Current the neutron heighliner image does not work due to some /tmp issue in the docker image. For this reason, you must compile the image yourself to use the latest v50 instance. | ||
|
||
```bash | ||
git clone https://github.com/neutron-org/neutron.git --depth 1 --branch v4.2.1 | ||
cd neutron | ||
|
||
# neutron-node:latest | ||
make build-e2e-docker-image | ||
``` |
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