Skip to content

Commit 9cd3c3f

Browse files
authored
fix: # update parser and primitives version to remove version check and fix tx parsing (#550)
1 parent 79e1235 commit 9cd3c3f

File tree

5 files changed

+36
-36
lines changed

5 files changed

+36
-36
lines changed

.github/workflows/cargo-docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
publish:
1010
runs-on: [self-hosted, linux]
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
- run: git fetch --prune --unshallow
1414
- name: Install System Dependencies
1515
run: |
16-
sudo apt-get update && sudo apt-get install -y \
17-
cmake pkg-config libssl-dev git clang curl libc6-dev protobuf-compiler
16+
sudo apt-get update && sudo apt-get install -y \
17+
cmake pkg-config libssl-dev git clang curl libc6-dev protobuf-compiler
1818
- name: Set variables
1919
run: |
20-
echo "TOOLCHAIN=$(rustup show active-toolchain | cut -d " " -f1)" >> $GITHUB_ENV
20+
echo "TOOLCHAIN=$(rustup show active-toolchain | cut -d " " -f1)" >> $GITHUB_ENV
2121
- uses: actions-rs/toolchain@v1
2222
with:
2323
toolchain: ${{ env.TOOLCHAIN }}
@@ -30,9 +30,9 @@ jobs:
3030
run: cp .github/docs-index.html target/doc/index.html
3131
- name: Deploy to GitHub Pages
3232
if: success()
33-
uses: crazy-max/ghaction-github-pages@v3
33+
uses: crazy-max/ghaction-github-pages@v4
3434
with:
3535
target_branch: gh-pages
3636
build_dir: target/doc/
3737
env:
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/cargo-test.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- parachain-metadata-kintsugi
2626

2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929
- run: git fetch --prune --unshallow
3030
- name: Install System Dependencies
3131
run: |
@@ -63,26 +63,26 @@ jobs:
6363
run: |
6464
cargo build --release --workspace --features ${{ matrix.metadata }}
6565
- name: upload artifacts - vault
66-
uses: actions/upload-artifact@v3
66+
uses: actions/upload-artifact@v4
6767
with:
6868
name: vault-${{ matrix.metadata }}
6969
path: target/release/vault
7070
retention-days: 10
7171
- name: upload artifacts - oracle
72-
uses: actions/upload-artifact@v3
72+
uses: actions/upload-artifact@v4
7373
with:
7474
name: oracle-${{ matrix.metadata }}
7575
path: target/release/oracle
7676
retention-days: 10
7777
- name: upload artifacts - faucet
78-
uses: actions/upload-artifact@v3
78+
uses: actions/upload-artifact@v4
7979
with:
8080
name: faucet-${{ matrix.metadata }}
8181
path: target/release/faucet
8282
retention-days: 10
8383
- name: upload artifacts - runner
8484
if: matrix.metadata == 'parachain-metadata-kintsugi'
85-
uses: actions/upload-artifact@v3
85+
uses: actions/upload-artifact@v4
8686
with:
8787
name: runner
8888
path: target/release/runner
@@ -100,15 +100,15 @@ jobs:
100100
- parachain-metadata-interlay
101101
- parachain-metadata-kintsugi
102102
steps:
103-
- uses: actions/checkout@v3
103+
- uses: actions/checkout@v4
104104
- name: Prepare
105105
id: prep
106106
run: |
107107
TS=$(date +%s)
108108
echo "branch_name=$(echo ${GITHUB_REF##*/})" >> $GITHUB_OUTPUT
109109
echo "tag=$(echo ${{ matrix.client }}-${{ matrix.metadata }}-)" >> $GITHUB_OUTPUT
110110
echo "ts=$TS" >> $GITHUB_OUTPUT
111-
- uses: actions/download-artifact@v3
111+
- uses: actions/download-artifact@v4
112112
with:
113113
name: ${{ matrix.client }}-${{ matrix.metadata }}
114114
path: artifacts/
@@ -117,30 +117,30 @@ jobs:
117117
mkdir -p ./target/release/
118118
mv ./artifacts/${{ matrix.client }} ./target/release/${{ matrix.client }}-${{ matrix.metadata }}
119119
- name: Set up QEMU
120-
uses: docker/setup-qemu-action@v2
120+
uses: docker/setup-qemu-action@v3
121121

122122
- name: Setup docker context for buildx
123123
id: buildx-context
124124
run: |
125125
docker context create builders
126126
- name: Set up Docker Buildx
127127
id: buildx
128-
uses: docker/setup-buildx-action@v2
128+
uses: docker/setup-buildx-action@v3
129129
with:
130130
endpoint: builders
131131

132132
- name: Available platforms
133133
run: echo ${{ steps.buildx.outputs.platforms }}
134134

135135
- name: Login to Dockerhub
136-
uses: docker/login-action@v2
136+
uses: docker/login-action@v3
137137
with:
138138
username: ${{ secrets.DOCKERHUB_USERNAME }}
139139
password: ${{ secrets.DOCKERHUB_TOKEN }}
140140

141141
- name: Docker meta
142142
id: meta
143-
uses: docker/metadata-action@v4
143+
uses: docker/metadata-action@v5
144144
with:
145145
images: docker.io/interlayhq/interbtc-clients
146146
tags: |
@@ -149,7 +149,7 @@ jobs:
149149
type=ref,event=tag,prefix=${{ matrix.client }}-${{ matrix.metadata }}-
150150
- name: Build and push
151151
id: docker_build
152-
uses: docker/build-push-action@v4
152+
uses: docker/build-push-action@v6
153153
with:
154154
push: ${{ github.event_name != 'pull_request' }}
155155
tags: ${{ steps.meta.outputs.tags }}
@@ -166,49 +166,49 @@ jobs:
166166
needs: [test]
167167
runs-on: [self-hosted, linux]
168168
steps:
169-
- uses: actions/checkout@v3
169+
- uses: actions/checkout@v4
170170
- name: Prepare
171171
id: prep
172172
run: |
173173
TS=$(date +%s)
174174
echo "branch_name=$(echo ${GITHUB_REF##*/})" >> $GITHUB_OUTPUT
175175
echo "ts=$TS" >> $GITHUB_OUTPUT
176-
- uses: actions/download-artifact@v3
176+
- uses: actions/download-artifact@v4
177177
with:
178178
path: artifacts/
179179
- name: Set up QEMU
180-
uses: docker/setup-qemu-action@v2
180+
uses: docker/setup-qemu-action@v3
181181

182182
- name: Setup docker context for buildx
183183
id: buildx-context
184184
run: |
185185
docker context create builders
186186
- name: Set up Docker Buildx
187187
id: buildx
188-
uses: docker/setup-buildx-action@v2
188+
uses: docker/setup-buildx-action@v3
189189
with:
190190
endpoint: builders
191191

192192
- name: Available platforms
193193
run: echo ${{ steps.buildx.outputs.platforms }}
194194

195195
- name: Login to Dockerhub
196-
uses: docker/login-action@v2
196+
uses: docker/login-action@v3
197197
with:
198198
username: ${{ secrets.DOCKERHUB_USERNAME }}
199199
password: ${{ secrets.DOCKERHUB_TOKEN }}
200200

201201
- name: Docker meta
202202
id: meta
203-
uses: docker/metadata-action@v4
203+
uses: docker/metadata-action@v5
204204
with:
205205
images: docker.io/interlayhq/interbtc-clients
206206
tags: |
207207
type=sha,prefix=${{ steps.prep.outputs.branch_name }}-,suffix=-${{ steps.prep.outputs.ts }}
208208
209209
- name: Build and push
210210
id: docker_build
211-
uses: docker/build-push-action@v4
211+
uses: docker/build-push-action@v6
212212
with:
213213
push: ${{ github.event_name != 'pull_request' }}
214214
tags: ${{ steps.meta.outputs.tags }}
@@ -222,8 +222,8 @@ jobs:
222222
runs-on: [self-hosted, linux]
223223
needs: [test]
224224
steps:
225-
- uses: actions/checkout@v3
226-
- uses: actions/download-artifact@v3
225+
- uses: actions/checkout@v4
226+
- uses: actions/download-artifact@v4
227227
with:
228228
path: artifacts
229229

@@ -242,9 +242,9 @@ jobs:
242242
243243
git-chglog --output CHANGELOG.md $GITHUB_REF_NAME
244244
- name: Release
245-
uses: softprops/action-gh-release@v1
245+
uses: softprops/action-gh-release@v2
246246
with:
247247
body_path: CHANGELOG.md
248248
draft: true
249249
files: |
250-
artifacts/**/*
250+
artifacts/**/*

.github/workflows/projects.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
issues:
55
types:
66
- opened
7-
7+
88
jobs:
99
add-to-project:
1010
name: Add issue and pull request to project
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/add-to-project@v0.5.0
13+
- uses: actions/add-to-project@v1.0.1
1414
with:
1515
project-url: https://github.com/orgs/interlay/projects/3
16-
github-token: ${{ secrets.PROJECTS }}
16+
github-token: ${{ secrets.PROJECTS }}

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

runtime/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ rand = { version = "0.7", optional = true }
5252

5353
[dependencies.primitives]
5454
git = "https://github.com/interlay/interbtc"
55-
rev = "700fcc9b9aab8f5337d62cb8f18c894722cf02f4"
55+
rev = "77ff884"
5656
package = "interbtc-primitives"
5757

5858
[dependencies.module-bitcoin]
5959
git = "https://github.com/interlay/interbtc"
60-
rev = "700fcc9b9aab8f5337d62cb8f18c894722cf02f4"
60+
rev = "77ff884"
6161
package = "bitcoin"
6262
features = ["parser"]
6363

0 commit comments

Comments
 (0)