Closed baabeetaa closed 1 year ago
build with pebbledb ok
cd /root/agoric-sdk/golang/cosmos
go build -v -buildmode=exe -tags "ledger pebbledb" -gcflags '' -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=agoriccosmos -X github.com/cosmos/cosmos-sdk/version.AppName=agd -X github.com/cosmos/cosmos-sdk/version.Version=0.34.1 -X github.com/cosmos/cosmos-sdk/version.Commit=ba3b77644-dirty -X "github.com/cosmos/cosmos-sdk/version.BuildTags=ledger pebbledb" -X github.com/cosmos/cosmos-sdk/version.AppName=ag-cosmos-helper -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb' -o build/agd ./cmd/agd
go build -v -buildmode=exe -tags "ledger pebbledb" -gcflags '' -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=agoriccosmos -X github.com/cosmos/cosmos-sdk/version.AppName=agd -X github.com/cosmos/cosmos-sdk/version.Version=0.34.1 -X github.com/cosmos/cosmos-sdk/version.Commit=ba3b77644-dirty -X "github.com/cosmos/cosmos-sdk/version.BuildTags=ledger pebbledb" -X github.com/cosmos/cosmos-sdk/version.AppName=ag-cosmos-helper -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb' -o build/ag-cosmos-helper ./cmd/helper
go build -v -tags "ledger pebbledb" -gcflags '' -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=agoriccosmos -X github.com/cosmos/cosmos-sdk/version.AppName=agd -X github.com/cosmos/cosmos-sdk/version.Version=0.34.1 -X github.com/cosmos/cosmos-sdk/version.Commit=ba3b77644-dirty -X "github.com/cosmos/cosmos-sdk/version.BuildTags=ledger pebbledb" -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb' -buildmode=c-shared -o build/libagcosmosdaemon.so ./cmd/libdaemon/main.go
fix starting with supervisord by adding to start_chain.sh
:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
it works. Still need to update to cosmosia scripts
done
reopen, having issues with agoric: