test: add Pezkuwi's own chains to the balance test fixture (#37)

* test: add Pezkuwi's own chains to the balance test fixture

Nova's upstream fixture only covers chains it knows about - Pezkuwi (relay),
Pezkuwi Asset Hub, and Pezkuwi People never had test coverage at all, since
they don't exist in Nova's world. This adds them as a pure addition on top
of the existing filter+override pipeline, so the published
chains_for_testBalance.json now covers exactly what our merged chains.json
actually contains: Nova-inherited chains + our own ecosystem.

Test account is the mainnet Founder key, verified live via @pezkuwi/api on
2026-07-09 against all three chains: substantial non-zero, non-frozen free
balance and a high nonce (actively used) on each - not a guessed or reaped
account. See pezkuwi-overlay/tests/pezkuwi_chains_for_testBalance.json for
the exact verified figures.

* chore: retrigger CI now that master triggers are fixed
This commit is contained in:
SatoshiQaziMuhammed authored and GitHub committed 2026-07-09 04:34:21 -07:00
1 parent 3328c83612
commit 513145ce38
3 files changed
+59 -1

No files matched your search

@@ -0,0 +1,24 @@
{
"description": "Pezkuwi's own chains (not present in Nova's upstream test fixture, since Nova doesn't know about them) for tests/chains_for_testBalance.json. Each account is the mainnet Founder key - verified live via @pezkuwi/api on 2026-07-09 to have a substantial non-zero, non-frozen free balance and a high nonce (actively used, not a fresh/empty account).",
"last_updated": "2026-07-09",
"chains": [
{
"chainId": "1aa94987791a5544e9667ec249d2cef1b8fdd6083c85b93fc37892d54a1156ca",
"name": "Pezkuwi",
"account": "0x28925ed8b4c0c95402b31563251fd318414351114b1c7797ee788666d27d6305",
"verified": "free: 108384858946834763 (108,384.86 HEZ), nonce: 250, wss://rpc.pezkuwichain.io"
},
{
"chainId": "e7c15092dcbe3f320260ddbbc685bfceed9125a3b3d8436db2766201dec3b949",
"name": "Pezkuwi Asset Hub",
"account": "0x28925ed8b4c0c95402b31563251fd318414351114b1c7797ee788666d27d6305",
"verified": "free: 180297800240165198 (180,297.80 HEZ), nonce: 3297, wss://asset-hub-rpc.pezkuwichain.io"
},
{
"chainId": "69a8d025ab7b63363935d7d9397e0f652826c94271c1bc55c4fdfe72cccf1cfa",
"name": "Pezkuwi People",
"account": "0x28925ed8b4c0c95402b31563251fd318414351114b1c7797ee788666d27d6305",
"verified": "free: 88798997366266252 (88,798.997 HEZ), nonce: 168, wss://people-rpc.pezkuwichain.io"
}
]
}
+20 -1
View File
@@ -298,6 +298,12 @@ def sync_tests():
been reaped/emptied - each override must be verified live before being been reaped/emptied - each override must be verified live before being
added, not guessed. See that file for details on the accounts currently added, not guessed. See that file for details on the accounts currently
in use. in use.
Pezkuwi's own chains (pezkuwi-overlay/tests/pezkuwi_chains_for_testBalance.json)
are ADDED on top - Nova's fixture has no entries for them at all (Nova doesn't
know Pezkuwi/Tron exist), so there's nothing to filter/override for these,
they're a pure addition. Same rule applies: each account must be verified
live (non-zero, non-frozen free balance) before being added, not guessed.
""" """
print("\nSyncing tests...") print("\nSyncing tests...")
@@ -327,8 +333,21 @@ def sync_tests():
if overridden: if overridden:
print(f" Applied {overridden} account override(s)") print(f" Applied {overridden} account override(s)")
pezkuwi_tests_file = PEZKUWI_OVERLAY / "tests" / "pezkuwi_chains_for_testBalance.json"
added = 0
if pezkuwi_tests_file.exists():
pezkuwi_entries = load_json(pezkuwi_tests_file)["chains"]
for entry in pezkuwi_entries:
filtered.append({
"chainId": entry["chainId"],
"name": entry["name"],
"account": entry["account"]
})
added = len(pezkuwi_entries)
print(f" Added {added} Pezkuwi chain(s)")
save_json(OUTPUT_TESTS / "chains_for_testBalance.json", filtered) save_json(OUTPUT_TESTS / "chains_for_testBalance.json", filtered)
print(f" chains_for_testBalance.json: {len(fixture)} - {dropped} not in {latest_version.name} = {len(filtered)}") print(f" chains_for_testBalance.json: {len(fixture)} - {dropped} not in {latest_version.name} + {added} Pezkuwi = {len(filtered)}")
def main(): def main():
+15
View File
@@ -278,5 +278,20 @@
"chainId": "4b5f95eefedf0d0fb514339edc24d2d411310520f687b4146145bcedb99885b9", "chainId": "4b5f95eefedf0d0fb514339edc24d2d411310520f687b4146145bcedb99885b9",
"name": "Acurast", "name": "Acurast",
"account": "0xd04eae1278b997d8801a69f705efe2320826980edd2ea08bdcef98d6fff8bd3f" "account": "0xd04eae1278b997d8801a69f705efe2320826980edd2ea08bdcef98d6fff8bd3f"
},
{
"chainId": "1aa94987791a5544e9667ec249d2cef1b8fdd6083c85b93fc37892d54a1156ca",
"name": "Pezkuwi",
"account": "0x28925ed8b4c0c95402b31563251fd318414351114b1c7797ee788666d27d6305"
},
{
"chainId": "e7c15092dcbe3f320260ddbbc685bfceed9125a3b3d8436db2766201dec3b949",
"name": "Pezkuwi Asset Hub",
"account": "0x28925ed8b4c0c95402b31563251fd318414351114b1c7797ee788666d27d6305"
},
{
"chainId": "69a8d025ab7b63363935d7d9397e0f652826c94271c1bc55c4fdfe72cccf1cfa",
"name": "Pezkuwi People",
"account": "0x28925ed8b4c0c95402b31563251fd318414351114b1c7797ee788666d27d6305"
} }
] ]