Skip to content

Commit

Permalink
fix: cosmoshub and whitewhale build script
Browse files Browse the repository at this point in the history
  • Loading branch information
hqdNotional committed Jul 16, 2024
1 parent 91e13b7 commit 8108585
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions data/custom_build_scripts/cosmoshub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,12 @@ else
git checkout "$p_version"
fi

go mod edit -replace github.com/tendermint/tm-db=github.com/notional-labs/tm-db@pebble
go mod tidy
go mod edit -replace github.com/cometbft/cometbft-db=github.com/notional-labs/cometbft-db@pebble
go mod tidy
go mod edit -replace github.com/cosmos/cosmos-db=github.com/notional-labs/[email protected]
go mod tidy
go mod edit -replace github.com/cockroachdb/pebble=github.com/cockroachdb/[email protected]
go mod tidy
go install -tags pebbledb -ldflags "-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb" ./...
3 changes: 2 additions & 1 deletion data/custom_build_scripts/whitewhale.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ cd $HOME
cd $HOME
git clone https://github.com/White-Whale-Defi-Platform/migaloo-chain
cd migaloo-chain
git checkout f5b51641c07e7637dc1a9d38477c2a543bcf47aa

git checkout ${p_version}

go install -tags pebbledb -ldflags "-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb" ./...

0 comments on commit 8108585

Please sign in to comment.