Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/pr-any.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Set Execute Permissions
run: chmod +x ./scripts/*
- name: ${{ matrix.step }}
run: |
yarn install --immutable
Expand Down
24 changes: 7 additions & 17 deletions .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
# - uses: actions/setup-node@v4
# with:
# node-version: 'lts/*'
# - name: Set Execute Permissions
# run: chmod +x ./scripts/*
# - name: ${{ matrix.step }}
# env:
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
Expand All @@ -46,8 +44,6 @@
# - uses: actions/setup-node@v4
# with:
# node-version: 'lts/*'
# - name: Set Execute Permissions
# run: chmod +x ./docker/*
# - name: docker
# env:
# DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
Expand All @@ -59,9 +55,7 @@
# if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable')"
# strategy:
# matrix:
# # Removed `macos-latest` since notarization errors.
# # ref: https://github.com/polkadot-js/apps/issues/10486
# os: [ubuntu-latest, windows-latest]
# os: [macos-latest, ubuntu-latest, windows-latest]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v4
Expand All @@ -70,16 +64,12 @@
# - uses: actions/setup-node@v4
# with:
# node-version: 'lts/*'
# # Removed `macos-latest` since notarization errors.
# # ref: https://github.com/polkadot-js/apps/issues/10486
# # - name: Prepare for app notarization (macOS)
# # if: startsWith(matrix.os, 'macos')
# # # Import Apple API key for app notarization on macOS
# # run: |
# # mkdir -p ~/private_keys/
# # echo '${{ secrets.API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8
# - name: Set Execute Permissions
# run: chmod +x ./scripts/*
# - name: Prepare for app notarization (macOS)
# if: startsWith(matrix.os, 'macos')
# # Import Apple API key for app notarization on macOS
# run: |
# mkdir -p ~/private_keys/
# echo '${{ secrets.API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8
# - name: Build/release Electron app
# uses: samuelmeuli/action-electron-builder@v1
# with:
Expand Down
925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.4.1.cjs

Large diffs are not rendered by default.

934 changes: 0 additions & 934 deletions .yarn/releases/yarn-4.6.0.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ logFilters:

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.6.0.cjs
yarnPath: .yarn/releases/yarn-4.4.1.cjs
223 changes: 0 additions & 223 deletions CHANGELOG.md

Large diffs are not rendered by default.

77 changes: 34 additions & 43 deletions CONTRIBUTORS

Large diffs are not rendered by default.

Empty file modified docker/build.sh
100644 → 100755
Empty file.
Empty file modified docker/env.sh
100644 → 100755
Empty file.
68 changes: 33 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
"homepage": "https://github.com/availproject/avail-apps#readme",
"license": "Apache-2.0",
"name": "polkadot-apps",
"packageManager": "yarn@4.6.0",
"packageManager": "yarn@4.4.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/availproject/avail-apps.git"
},
"sideEffects": false,
"type": "module",
"version": "0.152.2-2-x",
"version": "0.145.2-19-x",
"versions": {
"git": "0.152.2-2-x",
"npm": "0.152.1"
"git": "0.145.2-19-x",
"npm": "0.145.1"
},
"workspaces": [
"packages/*"
Expand Down Expand Up @@ -71,13 +71,12 @@
"axios": "^1.4.0",
"dotenv": "^16.3.1",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"react-copy-to-clipboard": "^5.1.0"
"postinstall-postinstall": "^2.1.0"
},
"devDependencies": {
"@crustio/crust-pin": "^1.0.0",
"@pinata/sdk": "^1.2.1",
"@polkadot/dev": "^0.83.2",
"@polkadot/dev": "^0.81.2",
"@types/chart.js": "^2.9.41",
"@types/file-saver": "^2.0.7",
"@types/react-beautiful-dnd": "^13.1.7",
Expand All @@ -99,35 +98,34 @@
"source-map-explorer": "^2.5.3"
},
"resolutions": {
"@polkadot/api": "^15.8.1",
"@polkadot/api-augment": "^15.6.1",
"@polkadot/api-base": "^15.6.1",
"@polkadot/api-contract": "^15.8.1",
"@polkadot/api-derive": "^15.8.1",
"@polkadot/hw-ledger": "^13.4.3",
"@polkadot/keyring": "^13.4.3",
"@polkadot/networks": "^13.4.3",
"@polkadot/phishing": "^0.25.6",
"@polkadot/rpc-augment": "^15.6.1",
"@polkadot/rpc-core": "^15.6.1",
"@polkadot/rpc-provider": "^15.8.1",
"@polkadot/typegen": "^15.6.1",
"@polkadot/types": "^15.8.1",
"@polkadot/types-augment": "^15.6.1",
"@polkadot/types-codec": "^15.8.1",
"@polkadot/types-create": "^15.6.1",
"@polkadot/types-known": "^15.6.1",
"@polkadot/types-support": "^15.8.1",
"@polkadot/util": "^13.4.3",
"@polkadot/util-crypto": "^13.4.3",
"@polkadot/api": "^14.3.1",
"@polkadot/api-augment": "^14.3.1",
"@polkadot/api-base": "^14.3.1",
"@polkadot/api-contract": "^14.3.1",
"@polkadot/api-derive": "^14.3.1",
"@polkadot/hw-ledger": "^13.2.3",
"@polkadot/keyring": "^13.2.3",
"@polkadot/networks": "^13.2.3",
"@polkadot/phishing": "^0.24.3",
"@polkadot/rpc-augment": "^14.3.1",
"@polkadot/rpc-core": "^14.3.1",
"@polkadot/rpc-provider": "^14.3.1",
"@polkadot/types": "^14.3.1",
"@polkadot/types-augment": "^14.3.1",
"@polkadot/types-codec": "^14.3.1",
"@polkadot/types-create": "^14.3.1",
"@polkadot/types-known": "^14.3.1",
"@polkadot/types-support": "^14.3.1",
"@polkadot/util": "^13.2.3",
"@polkadot/util-crypto": "^13.2.3",
"@polkadot/wasm-crypto": "^7.4.1",
"@polkadot/x-bigint": "^13.3.1",
"@polkadot/x-fetch": "^13.4.3",
"@polkadot/x-global": "^13.3.1",
"@polkadot/x-randomvalues": "^13.3.1",
"@polkadot/x-textdecoder": "^13.3.1",
"@polkadot/x-textencoder": "^13.3.1",
"@polkadot/x-ws": "^13.4.3",
"@polkadot/x-bigint": "^13.2.3",
"@polkadot/x-fetch": "^13.2.3",
"@polkadot/x-global": "^13.2.3",
"@polkadot/x-randomvalues": "^13.2.3",
"@polkadot/x-textdecoder": "^13.2.3",
"@polkadot/x-textencoder": "^13.2.3",
"@polkadot/x-ws": "^13.2.3",
"@zondax/ledger-substrate": "^0.44.7",
"typescript": "^5.5.4"
}
Expand Down
26 changes: 13 additions & 13 deletions packages/apps-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"sideEffects": false,
"type": "module",
"version": "0.152.2-2-x",
"version": "0.145.2-19-x",
"main": "index.js",
"dependencies": {
"@acala-network/type-definitions": "5.1.2",
Expand All @@ -33,22 +33,21 @@
"@logion/node-api": "0.27.0-4",
"@mangata-finance/type-definitions": "^2.1.2",
"@metaverse-network-sdk/type-definitions": "0.0.1-16",
"@moonbeam-network/types-bundle": "1.0.2",
"@parallel-finance/type-definitions": "2.0.1",
"@peaqnetwork/type-definitions": "0.0.4",
"@pendulum-chain/type-definitions": "0.3.8",
"@phala/typedefs": "0.2.33",
"@polkadot/api": "^15.8.1",
"@polkadot/api-derive": "^15.8.1",
"@polkadot/networks": "^13.4.3",
"@polkadot/react-identicon": "^3.12.2",
"@polkadot/types": "^15.8.1",
"@polkadot/types-codec": "^15.8.1",
"@polkadot/util": "^13.4.3",
"@polkadot/util-crypto": "^13.4.3",
"@polkadot/api": "^14.3.1",
"@polkadot/api-derive": "^14.3.1",
"@polkadot/networks": "^13.2.3",
"@polkadot/react-identicon": "^3.11.3",
"@polkadot/types": "^14.3.1",
"@polkadot/types-codec": "^14.3.1",
"@polkadot/util": "^13.2.3",
"@polkadot/util-crypto": "^13.2.3",
"@polkadot/wasm-util": "^7.4.1",
"@polkadot/x-fetch": "^13.4.3",
"@polkadot/x-ws": "^13.4.3",
"@polkadot/x-fetch": "^13.2.3",
"@polkadot/x-ws": "^13.2.3",
"@polymeshassociation/polymesh-types": "5.7.0",
"@snowfork/snowbridge-types": "0.2.7",
"@sora-substrate/type-definitions": "1.27.7",
Expand All @@ -59,8 +58,9 @@
"@unique-nft/unique-mainnet-types": "1001.63.0",
"@zeitgeistpm/type-defs": "1.0.0",
"@zeroio/type-definitions": "0.0.14",
"moonbeam-types-bundle": "2.0.10",
"pontem-types-bundle": "1.0.15",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
"tslib": "^2.6.2"
}
}
4 changes: 1 addition & 3 deletions packages/apps-config/src/api/constants.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Copyright 2017-2025 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { HexString } from '@polkadot/util/types';

Check failure on line 4 in packages/apps-config/src/api/constants.ts

View workflow job for this annotation

GitHub Actions / pr (lint)

incorrect header

import { knownGenesis } from '@polkadot/networks/defaults';
import { assert, BN } from '@polkadot/util';

export function getGenesis (name: string): HexString {
function getGenesis (name: string): HexString {
const network = Object.entries(knownGenesis).find(([network]) => network === name);

assert(network?.[1][0], `Unable to find genesisHash for ${name}`);
Expand Down Expand Up @@ -46,5 +46,3 @@
export const VARA_NETWORK_GENESIS = '0xfe1b4c55fd4d668101126434206571a7838a8b6b93a6d1b95d607e78e6c53763';

export const VARA_NETWORK_TESTNET_GENESIS = '0x525639f713f397dcf839bd022cd821f367ebcf179de7b9253531f8adbe5436d6';

export const JOYSTREAM_GENESIS = '0x6b5e488e0fa8f9821110d5c13f4c468abcd43ce5e297e62b34c53c3346465956';
5 changes: 1 addition & 4 deletions packages/apps-config/src/api/params/inflation.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright 2017-2025 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { ApiPromise } from '@polkadot/api';

Check failure on line 4 in packages/apps-config/src/api/params/inflation.ts

View workflow job for this annotation

GitHub Actions / pr (lint)

incorrect header

import { AVAIL_NETWORK_GENESIS, CERE_NETWORK_GENESIS, CERE_NETWORK_TESTNET_GENESIS, DOCK_POS_TESTNET_GENESIS, HEX_AVAIL_DEVNET_GENESIS, JOYSTREAM_GENESIS, KUSAMA_GENESIS, NEATCOIN_GENESIS, NFTMART_GENESIS, POLKADOT_GENESIS, TURING_NETWORK_TESTNET_GENESIS, VARA_NETWORK_GENESIS, VARA_NETWORK_TESTNET_GENESIS } from '../constants.js';
import { AVAIL_NETWORK_GENESIS, CERE_NETWORK_GENESIS, CERE_NETWORK_TESTNET_GENESIS, DOCK_POS_TESTNET_GENESIS, HEX_AVAIL_DEVNET_GENESIS, KUSAMA_GENESIS, NEATCOIN_GENESIS, NFTMART_GENESIS, POLKADOT_GENESIS, TURING_NETWORK_TESTNET_GENESIS, VARA_NETWORK_GENESIS, VARA_NETWORK_TESTNET_GENESIS } from '../constants.js';

interface InflationParams {
auctionAdjust: number;
Expand Down Expand Up @@ -32,15 +32,12 @@

const VARA_NETWORK_INFLATION_PARAMS = { ...DEFAULT_PARAMS, maxInflation: 0, minInflation: 0.0001, stakeTarget: 0.85 };

const JOYSTREAM_INFLATION_PARAMS = { ...DEFAULT_PARAMS, maxInflation: 0.03, minInflation: 0.0075 };

const KNOWN_PARAMS: Record<string, InflationParams> = {
[AVAIL_NETWORK_GENESIS]: AVAIL_NETWORK_INFLATION_PARAMS,
[CERE_NETWORK_GENESIS]: CERE_NETWORK_INFLATION_PARAMS,
[CERE_NETWORK_TESTNET_GENESIS]: CERE_NETWORK_INFLATION_PARAMS,
[DOCK_POS_TESTNET_GENESIS]: { ...DEFAULT_PARAMS, stakeTarget: 0.75 },
[HEX_AVAIL_DEVNET_GENESIS]: AVAIL_NETWORK_INFLATION_PARAMS,
[JOYSTREAM_GENESIS]: JOYSTREAM_INFLATION_PARAMS,
// 30% for up to 60 slots, see
// https://github.com/paritytech/polkadot/blob/816cb64ea16102c6c79f6be2a917d832d98df757/runtime/kusama/src/lib.rs#L526-L527
// 75% ideal target, see
Expand Down
35 changes: 32 additions & 3 deletions packages/apps-config/src/api/spec/avail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ const definitions: OverrideBundleDefinition = {
size: 'Compact<u32>',
index: 'Vec<DataLookupItem>'
},
CompactDataLookupV4: {
size: 'Compact<u32>',
index: 'Vec<DataLookupItem>',
rowsPerTx: 'Vec<u16>'
},
KateCommitment: {
rows: 'Compact<u16>',
cols: 'Compact<u16>',
Expand All @@ -91,11 +96,35 @@ const definitions: OverrideBundleDefinition = {
appLookup: 'CompactDataLookup',
commitment: 'KateCommitment'
},
V4HeaderExtension: {
appLookup: 'CompactDataLookupV4',
commitment: 'KateCommitment'
},
KzgHeader: {
_enum: {
V4: 'V4HeaderExtension'
}
},
FriParamsVersion: 'u8',
FriBlobCommitment: {
blobHash: 'H256',
sizeBytes: 'u64',
commitment: 'Vec<u8>'
},
FriV1HeaderExtension: {
blobs: 'Vec<FriBlobCommitment>',
dataRoot: 'H256',
paramsVersion: 'FriParamsVersion'
},
FriHeader: {
_enum: {
V1: 'FriV1HeaderExtension'
}
},
HeaderExtension: {
_enum: {
V1: 'V3HeaderExtension',
V2: 'V3HeaderExtension',
V3: 'V3HeaderExtension'
Kzg: 'KzgHeader',
Fri: 'FriHeader'
}
},
DaHeader: {
Expand Down
Loading
Loading