-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update ibc integration test to gaia v6.0.0 * add osmosis ibc integration test to osmosisd v6.0.0 * fill seed information for stargaze-1 only
- Loading branch information
1 parent
b5e6918
commit 6daf789
Showing
19 changed files
with
775 additions
and
237 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 |
---|---|---|
|
@@ -80,9 +80,20 @@ func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command { | |
config := serverCtx.Config | ||
config.SetRoot(clientCtx.HomeDir) | ||
|
||
seeds := []string{ | ||
"[email protected]:36656", | ||
"[email protected]:36656", | ||
chainID, _ := cmd.Flags().GetString(flags.FlagChainID) | ||
if chainID == "" { | ||
chainID = fmt.Sprintf("test-chain-%v", tmrand.Str(6)) | ||
} | ||
seeds := []string{} | ||
|
||
// pre-fill seeds for mainnet | ||
if chainID == "stargaze-1" { | ||
seeds = []string{ | ||
"[email protected]:36656", | ||
"[email protected]:36656", | ||
"[email protected]:26656", | ||
"babc3f3f7804933265ec9c40ad94f4da8e9e0017@stargaze.seed.rhinostake.com:16656", | ||
} | ||
} | ||
|
||
// Override default settings in config.toml | ||
|
@@ -93,11 +104,6 @@ func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command { | |
config.StateSync.TrustPeriod = 112 * time.Hour | ||
config.FastSync.Version = "v0" | ||
|
||
chainID, _ := cmd.Flags().GetString(flags.FlagChainID) | ||
if chainID == "" { | ||
chainID = fmt.Sprintf("test-chain-%v", tmrand.Str(6)) | ||
} | ||
|
||
// Get bip39 mnemonic | ||
var mnemonic string | ||
recover, _ := cmd.Flags().GetBool(FlagRecover) | ||
|
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,28 @@ | ||
FROM golang:1.17-alpine3.14 AS go-builder | ||
ARG TAG | ||
|
||
# Usage: | ||
# docker build . --build-arg TAG=v6.0.0 -t publicawesome/osmosis:6.0.0 -f docker/Dockerfile.osmosis | ||
|
||
RUN set -eux; apk add --no-cache ca-certificates build-base; | ||
|
||
RUN apk add git | ||
|
||
WORKDIR /code | ||
|
||
RUN git clone https://github.com/osmosis-labs/osmosis | ||
RUN cd osmosis && git checkout $TAG && CGO_ENABLED=0 LEDGER_ENABLED=false make build | ||
|
||
|
||
|
||
# -------------------------------------------------------- | ||
FROM alpine:3.14 | ||
|
||
COPY --from=go-builder /code/osmosis/build/osmosisd /usr/bin/osmosisd | ||
RUN apk add -U --no-cache ca-certificates | ||
WORKDIR /home/osmosis | ||
ENV HOME=/home/osmosis | ||
EXPOSE 1317 | ||
EXPOSE 26656 | ||
EXPOSE 26657 | ||
EXPOSE 9090 |
Oops, something went wrong.