Skip to content

Commit

Permalink
feat: update Polkadot Node container version
Browse files Browse the repository at this point in the history
Signed-off-by: Minh Huy Tran <huy@perun.network>
  • Loading branch information
NhoxxKienn committed Apr 23, 2024
1 parent ba555aa commit e08ec2c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Payment Channel DOT
working-directory: payment-channel-dot
run: |
docker run --name polkadot --detach --rm -it -p 9944:9944 ghcr.io/perun-network/polkadot-test-node
docker run --name polkadot --detach --rm -it -p 9944:9944 ghcr.io/perun-network/polkadot-test-node:0.4.0
sleep 5
go run .
docker stop polkadot
Expand Down
12 changes: 2 additions & 10 deletions payment-channel-dot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,10 @@ This demo connects to our [Pallet] that runs on a [Polkadot Node] by using our [

## Example Walkthrough

In another terminal, clone and start a local [Polkadot Node]:

**WARNING**: only working with a newer version of Polkadot Node from branch `update_substrate`

To build the Polkadot Node, you need [Rust Developer Environment].
In another terminal, start a local development [Polkadot Node]:

```sh
git clone git@github.com:perun-network/perun-polkadot-node.git

cd perun-polkadot-node/node

cargo run --release -- --dev --tmp
docker run --rm -it -p 9944:9944 ghcr.io/perun-network/polkadot-test-node:0.4.0
```

Wait around 10 seconds for the Node to start-up.
Expand Down
2 changes: 0 additions & 2 deletions payment-channel-dot/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module perun.network/perun-examples/payment-channel

go 1.21

toolchain go1.21.4

require (
github.com/centrifuge/go-substrate-rpc-client/v4 v4.2.1
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411100708-029d9632b748
Expand Down
10 changes: 0 additions & 10 deletions payment-channel-dot/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -168,16 +168,6 @@ github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFSt
github.com/pborman/uuid v0.0.0-20170112150404-1b00554d8222/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411100708-029d9632b748 h1:nKTTy/mgfMza0x/qJ3ydzyAVwJfyPs/br6OOeP4IeTw=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411100708-029d9632b748/go.mod h1:qBlduBvrtUUz86dcqxEzgTID7psZ000WyucSWO2M6Qk=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411110854-aa70731ff402 h1:TcD8Elq1V5pD7iSI8pAQ7rxUhpUCcGCHsfEeA7Hyr68=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411110854-aa70731ff402/go.mod h1:qBlduBvrtUUz86dcqxEzgTID7psZ000WyucSWO2M6Qk=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411111432-5bccd6f20096 h1:rK2QInr3++ygFsLAsF51QeWGdBsa24/jMVoy5KFfw9E=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411111432-5bccd6f20096/go.mod h1:qBlduBvrtUUz86dcqxEzgTID7psZ000WyucSWO2M6Qk=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411111704-55ddf14c5120 h1:ICur8MDnChbo/+lWAnXvIYNh/wXaisAKED86dQuT9mw=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411111704-55ddf14c5120/go.mod h1:qBlduBvrtUUz86dcqxEzgTID7psZ000WyucSWO2M6Qk=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411112746-dcbe505e1b76 h1:UAi+Qyxkm00WDO1rp8xNDi4Bupl/Mlytg3+lauWK8J4=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411112746-dcbe505e1b76/go.mod h1:qBlduBvrtUUz86dcqxEzgTID7psZ000WyucSWO2M6Qk=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411114920-37b11e7a1c40 h1:rwgnx1gMPL5NmcGFfsNnTQUX2zTp5bqLq2WmdImSvW4=
github.com/perun-network/perun-polkadot-backend v0.2.1-0.20240411114920-37b11e7a1c40/go.mod h1:qBlduBvrtUUz86dcqxEzgTID7psZ000WyucSWO2M6Qk=
github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0=
github.com/pierrec/xxHash v0.1.5 h1:n/jBpwTHiER4xYvK3/CdPVnLDPchj8eTJFFLUb4QHBo=
github.com/pierrec/xxHash v0.1.5/go.mod h1:w2waW5Zoa/Wc4Yqe0wgrIYAGKqRMf7czn2HNKXmuL+I=
Expand Down

0 comments on commit e08ec2c

Please sign in to comment.