Skip to content

Commit 32b0106

Browse files
authored
P2P.org testnet changes (#617)
* P2P.org testnet changes * Fix workflow to skip validation of deleted files
1 parent 0ff015a commit 32b0106

5 files changed

+23
-21
lines changed

.github/workflows/check.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
2323
run: |
2424
git fetch origin ${{ github.base_ref }}
25-
FILES="$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^(testnet|mainnet)/' || true)"
25+
# Get list of changed files, excluding deleted files (--diff-filter=d)
26+
# since we can't validate files that no longer exist
27+
FILES="$(git diff --name-only --diff-filter=d origin/${{ github.base_ref }}...HEAD | grep -E '^(testnet|mainnet)/' || true)"
2628
2729
for FILE in $FILES; do
2830
python scripts/validate.py "$FILE"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 24,
3+
"name": "P2P.org",
4+
"secp": "0240a57ec7359bfff385191edaaa5d7a94df039f66ffd2d01d0eb9d7ff73e3fafb",
5+
"bls": "b3cf9ce17910eb33415d8794099f849cc94051bdd121a526b3ff12c67b4f6ddbc1b74def9ce259ffe332eff5112036b5",
6+
"website": "http://p2p.org/",
7+
"description": "P2P.org",
8+
"logo": "https://cdn.p2p.org/p2p360_logo.png",
9+
"x": "https://x.com/P2Pvalidator"
10+
}

testnet/02aab6f15cba88de3df9512986bf93734289e28dff62f4e29be67230a0857b97f4.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

testnet/02c9cf93d4df1f5c8eba74fead4e252f987d5b8d56b9618b3ef1ce23ae4daa40d9.json

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 28,
3+
"name": "Ledger by P2P.org",
4+
"secp": "02e6a5d21dfc6e382703c516d296e384d8571ff487db4332f13f961ae6a28de165",
5+
"bls": "94e794fe56dbdef33bfb3d7d627c695e98a470d6ccc05bdeaeb1f17114ae2b34a588e23d8f520091372ba54db7d94780",
6+
"website": "https://www.ledger.com/",
7+
"description": "Ledger by P2P.org",
8+
"logo": "https://cdn.live.ledger.com/icons/ledger.png",
9+
"x": "https://x.com/Ledger"
10+
}

0 commit comments

Comments
 (0)