Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Derek/ora 481 remove strict dependency between appchain and compute n…
Browse files Browse the repository at this point in the history
…ode 1 (#30)

let's remove the sibling dependency, this uses the
`protocol-state-module` that's currently in the `upshot-appchain`
  • Loading branch information
dmikey authored Jan 25, 2024
1 parent b05334d commit 7b37e0e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/node/appchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 7b37e0e

Please sign in to comment.