diff --git a/README.md b/README.md index 5e21dea..c6d7bc7 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,10 @@ export UPT_ACCOUNT_PASSPHRASE="1234567890" ***WARNING*** -This repo is currently relying on a replaced lib-p2p module. - -Clone the following repo as a sibling to this +This repo is currently relying on a private module, current development requires ```bash -git clone https://github.com/dmikey/go-libp2p-raft +export GOPRIVATE=github.com/upshot-tech/upshot-appchain ``` Then to build diff --git a/cmd/node/appchain.go b/cmd/node/appchain.go index 14da46a..47af5a0 100644 --- a/cmd/node/appchain.go +++ b/cmd/node/appchain.go @@ -104,7 +104,7 @@ func registerWithBlockchain(ctx context.Context, client cosmosclient.Client, acc } msg := &types.MsgRegisterWorker{ - Owner: address, + Creator: address, } txResp, err := client.BroadcastTx(ctx, account, msg) diff --git a/go.mod b/go.mod index a40b12a..cb40ec5 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/libp2p/go-libp2p v0.32.2 github.com/multiformats/go-multiaddr v0.12.1 github.com/spf13/pflag v1.0.5 - github.com/upshot-tech/protocol-state-machine-module v0.0.0-20240118215733-7a65a3f6cdb8 + github.com/upshot-tech/protocol-state-machine-module v0.0.0-20240124222402-42ed70eafa95 ) require ( @@ -272,5 +272,5 @@ require ( replace ( github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/libp2p/go-libp2p-raft => github.com/dmikey/go-libp2p-raft v0.0.0-20240110033916-a00d162e5fdd - github.com/upshot-tech/protocol-state-machine-module => ../upshot-appchain/x/emissions + github.com/upshot-tech/protocol-state-machine-module => github.com/upshot-tech/upshot-appchain/x/emissions v0.0.0-20240124222402-42ed70eafa95 ) diff --git a/go.sum b/go.sum index ea121c1..69073e1 100644 --- a/go.sum +++ b/go.sum @@ -956,6 +956,8 @@ github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljT github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= github.com/ugorji/go/codec v1.2.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE= github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= +github.com/upshot-tech/upshot-appchain/x/emissions v0.0.0-20240124222402-42ed70eafa95 h1:+UyOr/mdimGfQ33/8ld8m6Cw1FmnWRCIJFzwJKAkkYY= +github.com/upshot-tech/upshot-appchain/x/emissions v0.0.0-20240124222402-42ed70eafa95/go.mod h1:pPdKzuFaQhdvnyScR3EUxVKkJeCZRdZ3jEUj7lmzRKw= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=