Skip to content

Commit

Permalink
fix(blumbus): ports in urls (#1213)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs authored Dec 29, 2024
1 parent c54d216 commit 5d2b1ef
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmd/consts/dymension.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ var MainnetHubData = HubData{

var BlumbusHubData = HubData{
Environment: "blumbus",
ApiUrl: "https://api-blumbus.mzonder.com",
ApiUrl: "https://api-blumbus.mzonder.com:443",
ID: BlumbusHubID,
RpcUrl: "https://rpc-blumbus.mzonder.com",
ArchiveRpcUrl: "https://rpc-blumbus-archive.mzonder.com",
RpcUrl: "https://rpc-blumbus.mzonder.com:443",
ArchiveRpcUrl: "https://rpc-blumbus-archive.mzonder.com:443",
GasPrice: "20000000000",
DaNetwork: CelestiaTestnet,
}
Expand Down
1 change: 1 addition & 0 deletions utils/bash/bash_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ func ExecCommandWithInput(

func ExtractTxHash(output string) (string, error) {
lines := strings.Split(output, "\n")

for _, line := range lines {
if strings.HasPrefix(line, "txhash:") {
return strings.TrimSpace(strings.TrimPrefix(line, "txhash:")), nil
Expand Down
2 changes: 1 addition & 1 deletion utils/dependencies/dymd.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func DefaultDymdDependency() types.Dependency {
DependencyName: "dymension",
RepositoryOwner: "dymensionxyz",
RepositoryName: "dymension",
RepositoryUrl: "https://github.com/artemijspavlovs/dymension",
RepositoryUrl: "https://github.com/dymensionxyz/dymension",
Release: bvi.Dymd,
Binaries: []types.BinaryPathPair{
{
Expand Down
6 changes: 6 additions & 0 deletions utils/sequencer/sequencer.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"github.com/pterm/pterm"

"github.com/dymensionxyz/roller/cmd/consts"
"github.com/dymensionxyz/roller/cmd/tx/tx_utils"
"github.com/dymensionxyz/roller/utils/bash"
"github.com/dymensionxyz/roller/utils/filesystem"
"github.com/dymensionxyz/roller/utils/keys"
Expand Down Expand Up @@ -109,6 +110,11 @@ func Register(raCfg roller.RollappConfig, desiredBond cosmossdktypes.Coin) error
return err
}

err = tx_utils.CheckTxYamlStdOut(*txOutput)
if err != nil {
return err
}

txHash, err := bash.ExtractTxHash(txOutput.String())
if err != nil {
return err
Expand Down

0 comments on commit 5d2b1ef

Please sign in to comment.