Skip to content

Commit

Permalink
feat: add a ChangeBinary function to CosmosChain
Browse files Browse the repository at this point in the history
useful for sovereign to consumer change overs
  • Loading branch information
fastfadingviolets committed Oct 7, 2024
1 parent 3a54d75 commit ed0a63d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chain/cosmos/cosmos_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,10 @@ func (c *CosmosChain) GetGasFeesInNativeDenom(gasPaid int64) int64 {
return int64(math.Ceil(fees))
}

func (c *CosmosChain) ChangeBinary(ctx context.Context, binary string) {
c.cfg.Bin = binary
}

func (c *CosmosChain) UpgradeVersion(ctx context.Context, cli *client.Client, containerRepo, version string) {
c.cfg.Images[0].Version = version
for _, n := range c.Validators {
Expand Down

0 comments on commit ed0a63d

Please sign in to comment.