Skip to content

Commit d2c764d

Browse files
committed
fix: workflow and bulletin issues
1 parent c25fa0a commit d2c764d

19 files changed

Lines changed: 1259 additions & 27 deletions

File tree

packages/cli/.papi/descriptors/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.1.0-autogenerated.15093024273838411924",
2+
"version": "0.1.0-autogenerated.17961323356537637670",
33
"name": "@polkadot-api/descriptors",
44
"files": [
55
"dist"
6.14 KB
Binary file not shown.

packages/cli/.papi/polkadot-api.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"codeHash": "0xc66e1574f0df569b29c04d46ae77aeebb622c79fd582de906913886f7853e74b"
1010
},
1111
"bulletin": {
12-
"wsUrl": "wss://paseo-bulletin-rpc.polkadot.io",
12+
"wsUrl": "wss://paseo-bulletin-next-rpc.polkadot.io",
1313
"metadata": ".papi/metadata/bulletin.scale",
14-
"genesis": "0x744960c32e3a3df5440e1ecd4d34096f1ce2230d7016a5ada8a765d5a622b4ea",
15-
"codeHash": "0xd248224df107ca81267a5a4d0671bb9618dbb1a43fae7fad6ba2331a45a10ac5"
14+
"genesis": "0x8cfe6717dc4becfda2e13c488a1e2061ff2dfee96e7d031157f72d36716c0a22",
15+
"codeHash": "0xbf2cd56d20198f00ab6f38d7e77f15a9d5671d47beb5d456012ed45d23572045"
1616
}
1717
}
1818
}

packages/cli/.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
dist
33
.papi
4-
abis/
4+
abis/
5+
benchmarks/results/

packages/cli/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ dotns --password test-password bulletin upload ./dist --profile-upload --account
252252
dotns --password test-password bulletin upload ./dist --profile-upload --profile-output ./report.json --account default
253253

254254
# Custom RPC
255-
dotns --password test-password bulletin upload ./image.png --bulletin-rpc wss://paseo-bulletin-rpc.polkadot.io --account default
255+
dotns --password test-password bulletin upload ./image.png --bulletin-rpc wss://paseo-bulletin-next-rpc.polkadot.io --account default
256256

257257
# Skip history
258258
dotns --password test-password bulletin upload ./image.png --no-history --account default
@@ -292,7 +292,7 @@ dotns --key-uri //Alice bulletin authorize 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC9
292292
dotns --key-uri //Alice bulletin authorize 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty --json
293293

294294
# Custom RPC
295-
dotns --key-uri //Alice bulletin authorize 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty --bulletin-rpc wss://paseo-bulletin-rpc.polkadot.io
295+
dotns --key-uri //Alice bulletin authorize 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty --bulletin-rpc wss://paseo-bulletin-next-rpc.polkadot.io
296296
```
297297

298298
### Bulletin Status

packages/cli/benchmarks/benchmark.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { join, resolve } from "path";
66
import { spawnSync } from "child_process";
77

88
const DEFAULT_SIZES = ["500KB", "1MB", "5MB", "10MB", "50MB", "100MB", "500MB", "1GB"];
9-
const DEFAULT_RPC = "wss://paseo-bulletin-rpc.polkadot.io";
9+
const DEFAULT_RPC = "wss://paseo-bulletin-next-rpc.polkadot.io";
1010
const DEFAULT_TIMEOUT_MINUTES = 120;
1111

1212
const { values } = parseArgs({

packages/cli/benchmarks/generate-dashboard.ts

Lines changed: 696 additions & 0 deletions
Large diffs are not rendered by default.

packages/cli/benchmarks/results/index.html

Lines changed: 530 additions & 0 deletions
Large diffs are not rendered by default.

packages/cli/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"test": "bun test tests/",
1919
"test:unit": "bun test tests/unit/",
2020
"test:integration": "bun test tests/integration/",
21+
"benchmark": "bun benchmarks/benchmark.ts",
22+
"benchmark:dashboard": "bun benchmarks/generate-dashboard.ts",
2123
"build": "bun build src/cli/index.ts --outfile dist/cli.tmp.js --target node --format esm && echo '#!/usr/bin/env node' | cat - dist/cli.tmp.js > dist/cli.js && rm dist/cli.tmp.js && chmod +x dist/cli.js",
2224
"prepublishOnly": "bun run build",
2325
"prepare": "bunx papi generate"

packages/cli/src/utils/constants.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const PERSONHOOD_PRECOMPILE_ADDRESS =
1919
"0x000000000000000000000000000000000a010000" as Address;
2020
export const PERSONHOOD_CONTEXT =
2121
"0x646f746e73000000000000000000000000000000000000000000000000000000" as Hex;
22-
export const DEFAULT_BULLETIN_RPC = "wss://paseo-bulletin-rpc.polkadot.io";
22+
export const DEFAULT_BULLETIN_RPC = "wss://paseo-bulletin-next-rpc.polkadot.io";
2323
export const DEFAULT_CHUNK_SIZE_BYTES = 2 * 1024 * 1024;
2424
export const MAX_SINGLE_UPLOAD_SIZE_BYTES = 8 * 1024 * 1024;
2525
export const DEFAULT_UPLOAD_MAX_RETRIES = 5;
@@ -121,10 +121,10 @@ export const RPC_ENDPOINTS = [PASEO_ASSET_HUB_URL, PREVIEWNET_ASSET_HUB_URL] as
121121
* lists in `DOTNS_ENVIRONMENTS`.
122122
*/
123123
export const PASEO_BULLETIN_PEERS: readonly string[] = [
124-
"/dns4/paseo-bulletin-collator-node-0.parity-testnet.parity.io/tcp/443/wss/p2p/12D3KooWRuKisocQ2Z5hBZagV5YGxJMYuW13xT42sUiUCWf5bRtu",
125-
"/dns4/paseo-bulletin-collator-node-1.parity-testnet.parity.io/tcp/443/wss/p2p/12D3KooWSgdX2egCUiXtDUNV6hGh6JrtTb9vQ6iRfFMdnTemQDDp",
126-
"/dns4/paseo-bulletin-rpc-node-0.polkadot.io/tcp/443/wss/p2p/12D3KooWG7dt8yAMBaNrWh5juvHMGvJtPKTCaS87kkadWZKpV7ox",
127-
"/dns4/paseo-bulletin-rpc-node-1.polkadot.io/tcp/443/wss/p2p/12D3KooWSS9QNRiLGBoZrDrtXvPyBV7QrV7F3A1V8f6xAXECSnj5",
124+
"/dns4/paseo-bulletin-next-collator-node-0.parity-testnet.parity.io/tcp/443/wss/p2p/12D3KooWDGdPBWpytPdNAXDT2KJWwmPXkxvxyQLGc7pRdFWeZnyB",
125+
"/dns4/paseo-bulletin-next-collator-node-1.parity-testnet.parity.io/tcp/443/wss/p2p/12D3KooWC45NgktSLMPQafAhi8TMAtiiatnmNc3Qv6wA74u7YBVc",
126+
"/dns4/paseo-bulletin-next-rpc-node-0.polkadot.io/tcp/443/wss/p2p/12D3KooWS4ptBbHGritdb1T7JPxKT2EN7FXvqq9rUp12jUvjnqQ1",
127+
"/dns4/paseo-bulletin-next-rpc-node-1.polkadot.io/tcp/443/wss/p2p/12D3KooWKMc4jJsU7fdEsis4AsM8Assk5jFqhEUEa2ZSiWJGKpfv",
128128
];
129129

130130
export const DOTNS_ENVIRONMENT_IDS = ["paseo-v2", "previewnet"] as const;

0 commit comments

Comments
 (0)