Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into tomasz-multiblock-m…
Browse files Browse the repository at this point in the history
…igrations
  • Loading branch information
tmpolaczyk committed Feb 12, 2025
2 parents d476aa2 + b282f04 commit d79bb28
Show file tree
Hide file tree
Showing 292 changed files with 18,130 additions and 11,774 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-runtime-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ jobs:
driver-opts: |
image=moby/buildkit:master
- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/${{matrix.image}}.Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: ./.github/workflow-templates/bridge-e2e

- name: Commit Action Status
uses: LouisBrunner/checks-action@v1.1.1
uses: LouisBrunner/checks-action@v2.0.0
with:
sha: ${{ steps.sharef.outputs.sha }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prepare-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ jobs:
driver-opts: |
image=moby/buildkit:master
- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/${{matrix.image}}.Dockerfile
Expand All @@ -108,7 +108,7 @@ jobs:
org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }}
- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prepare-tanssi-relay-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ jobs:
driver-opts: |
image=moby/buildkit:master
- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/${{matrix.image}}.Dockerfile
Expand All @@ -108,7 +108,7 @@ jobs:
org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }}
- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-runtime-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
fetch-depth: 0
- name: Login to DockerHub
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-runtime-tanssi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
fetch-depth: 0
- name: Login to DockerHub
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-tannsi-relay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
fetch-depth: 0
- name: Login to DockerHub
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
fetch-depth: 0
- name: Login to DockerHub
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
with:
ref: ${{ github.event.inputs.to }}
- name: Login to DockerHub
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ jobs:
cache: "pnpm"
- name: "Formatting check"
run: |
cd test
pnpm install
pnpm run fmt
Expand All @@ -220,7 +219,6 @@ jobs:
cache: "pnpm"
- name: "Linting check"
run: |
cd test
pnpm install
pnpm run lint
Expand All @@ -238,7 +236,7 @@ jobs:
with:
ref: ${{ needs.set-tags.outputs.git_ref }}
- name: Run sccache-cache
uses: mozilla-actions/[email protected].4
uses: mozilla-actions/[email protected].7
- name: Setup Variables
shell: bash
run: |
Expand Down Expand Up @@ -384,7 +382,7 @@ jobs:
with:
ref: ${{ needs.set-tags.outputs.git_ref }}
- name: Run sccache-cache
uses: mozilla-actions/[email protected].4
uses: mozilla-actions/[email protected].7
- name: Setup Variables
shell: bash
run: |
Expand Down Expand Up @@ -995,13 +993,13 @@ jobs:
driver-opts: |
image=moby/buildkit:master
- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/${{matrix.image}}.Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-zombienet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
with:
ref: ${{ needs.set-tags.outputs.git_ref }}
- name: Run sccache-cache
uses: mozilla-actions/[email protected].4
uses: mozilla-actions/[email protected].7
- name: Setup Variables
shell: bash
run: |
Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@

# Temporary files
**/tmp
raw.json
raw.json

# IDE files
**/.zed/
**/.vscode/
**/.idea/
.cursor
26 changes: 0 additions & 26 deletions .prettierignore

This file was deleted.

7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

63 changes: 63 additions & 0 deletions biome.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false,
},
"files": {
"ignoreUnknown": false,
"ignore": [
"**/html/**",
"**/build/**",
"**/target/**",
"**/scripts/tmp/**",
"**/node_modules/**",
"**/.yarn/**",
"test/tsconfig.json",
"tmp",
"**/contracts/out",
"**/tmp/",
"**/html/"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineWidth": 120,
"indentWidth": 4,
},
"organizeImports": {
"enabled": true,
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noAsyncPromiseExecutor": "off",
"noExplicitAny": "off",
"noShadowRestrictedNames": "off",
},
"complexity": {
"noForEach": "off",
},
},
"ignore": [],
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "always",
"trailingCommas": "es5",
},
},
"json": {
"formatter": {
"enabled": false,
},
"linter": {
"enabled": false,
},
},
}
66 changes: 35 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,51 +11,55 @@
"scripts": {
"clean-all": "rm -rf node_modules && pnpm -r clean",
"build": "pnpm -r build",
"fmt": "pnpm -r fmt",
"fmt:fix": "pnpm -r fmt:fix",
"lint": "pnpm -r lint",
"lint:fix": "pnpm -r lint:fix",
"postinstall": "pnpm build"
},
"dependencies": {
"@polkadot/api": "15.4.1",
"@polkadot/api-augment": "15.4.1",
"@polkadot/api-base": "15.4.1",
"@polkadot/api-derive": "15.4.1",
"@polkadot/rpc-augment": "15.4.1",
"@polkadot/rpc-core": "15.4.1",
"@polkadot/rpc-provider": "15.4.1",
"@polkadot/typegen": "15.4.1",
"@polkadot/types": "15.4.1",
"@polkadot/types-augment": "15.4.1",
"@polkadot/types-codec": "15.4.1",
"@polkadot/types-create": "15.4.1",
"@polkadot/types-known": "15.4.1",
"@polkadot/types-support": "15.4.1",
"@polkadot/api": "15.5.1",
"@polkadot/api-base": "15.5.1",
"@polkadot/api-derive": "15.5.1",
"@polkadot/keyring": "13.3.1",
"@polkadot/rpc-augment": "15.5.1",
"@polkadot/rpc-core": "15.5.1",
"@polkadot/rpc-provider": "15.5.1",
"@polkadot/typegen": "15.5.1",
"@polkadot/types": "15.5.1",
"@polkadot/types-augment": "15.5.1",
"@polkadot/types-codec": "15.5.1",
"@polkadot/types-create": "15.5.1",
"@polkadot/types-known": "15.5.1",
"@polkadot/types-support": "15.5.1",
"@polkadot/util": "13.3.1",
"@polkadot/util-crypto": "13.3.1"

},
"devDependencies": {
"@types/node": "22.10.5"
"@biomejs/biome": "1.9.4",
"@types/node": "22.12.0",
"tsx": "4.19.2",
"typescript": "5.5.4"
},
"pnpm": {
"overrides": {
"@polkadot/api": "15.4.1",
"@polkadot/api-augment": "15.4.1",
"@polkadot/api-base": "15.4.1",
"@polkadot/api-derive": "15.4.1",
"@polkadot/rpc-augment": "15.4.1",
"@polkadot/rpc-core": "15.4.1",
"@polkadot/rpc-provider": "15.4.1",
"@polkadot/typegen": "15.4.1",
"@polkadot/types": "15.4.1",
"@polkadot/types-augment": "15.4.1",
"@polkadot/types-codec": "15.4.1",
"@polkadot/types-create": "15.4.1",
"@polkadot/types-known": "15.4.1",
"@polkadot/types-support": "15.4.1",
"@polkadot/api": "15.5.1",
"@polkadot/api-base": "15.5.1",
"@polkadot/api-derive": "15.5.1",
"@polkadot/rpc-augment": "15.5.1",
"@polkadot/rpc-core": "15.5.1",
"@polkadot/rpc-provider": "15.5.1",
"@polkadot/typegen": "15.5.1",
"@polkadot/types": "15.5.1",
"@polkadot/types-augment": "15.5.1",
"@polkadot/types-codec": "15.5.1",
"@polkadot/types-create": "15.5.1",
"@polkadot/types-known": "15.5.1",
"@polkadot/types-support": "15.5.1",
"@polkadot/keyring": "13.3.1",
"@polkadot/util": "13.3.1",
"@polkadot/util-crypto": "13.3.1",
"inquirer": "9.2.16"
"typescript": "5.5.4"
}
},
"keywords": [],
Expand Down
Loading

0 comments on commit d79bb28

Please sign in to comment.