-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathchain_config.go
More file actions
37 lines (34 loc) · 1 KB
/
chain_config.go
File metadata and controls
37 lines (34 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package chainconfig
import (
interchaintest "github.com/strangelove-ventures/interchaintest/v8"
"github.com/strangelove-ventures/interchaintest/v8/ibc"
)
var DefaultChainSpecs = []*interchaintest.ChainSpec{
// -- IBC-Go --
IbcGoChainSpec("ibc-go-simd-1", "simd-1"),
}
func IbcGoChainSpec(name, chainId string) *interchaintest.ChainSpec {
return &interchaintest.ChainSpec{
ChainConfig: ibc.ChainConfig{
Type: "cosmos",
Name: name,
ChainID: chainId,
Images: []ibc.DockerImage{
{
Repository: "ghcr.io/cosmos/ibc-go-wasm-simd", // FOR LOCAL IMAGE USE: Docker Image Name
Version: "main", // FOR LOCAL IMAGE USE: Docker Image Tag
UidGid: "1025:1025",
},
},
Bin: "simd",
Bech32Prefix: "cosmos",
Denom: "stake",
GasPrices: "0.00stake",
GasAdjustment: 1.3,
EncodingConfig: SDKEncodingConfig(),
ModifyGenesis: defaultModifyGenesis(),
TrustingPeriod: "508h",
NoHostMount: false,
},
}
}