Repository navigation
feat(chains): resync catalogs — Decred (MAG-5052) - #318
Merged
Merged
Conversation
lava-specs added dcr.json (DCR mainnet, DCRT testnet3, dcrd JSON-RPC only), which turns the drift gate red. Regenerate the chain map, explorer catalog and Try-it catalog against lava-specs main (8715592). Decred gets its own family. Its spec does not import BTC and serves no eth_*, so deriveFamily labelled it EVM through its last-resort fallback, as it did Kaspa and Siacoin. The ticket-pool methods only Decred's proof-of-stake serves now identify it. Try-it needs no new hints: DCR inherits the seven bitcoind-style defaults by method name, and all seven answered on a live mainnet node in the maintainer run on lava-specs #186. Height 800000 exists on both networks. The icon is web3icons' tokens/mono/DCR glyph on the source's #2970FF, white glyph (4.32:1). The mainnet explorer is dcrdata.decred.org, the one decred.org links to; its block page was watched rendering block 1000. The testnet has none: testnet.dcrdata.org answers 503.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
lava-specs added
dcr.json(Decred, lava-specs #186, merged 2026-11-08). The Chain catalogs ↔ lava-specs drift gate has not run onmainsince then, somainstill reads green. Its next run fails. Reproduced locally atdd4dc0baagainst lava-specs8715592:new chains (2): DCR, DCRT,new specs (2): DCR, DCRT,NO explorer (2): DCR, DCRT.dcr.jsonis the only spec that changed since the Siacoin resync (#316). This PR regenerates all five catalogs.Decred arrived.
DCRis the mainnet andDCRTtestnet3, which imports it. Both serve dcrd's JSON-RPC only.New
decredfamily. dcrd descends from btcd and shares bitcoind's method names, but the spec deliberately does not import BTC and serves noeth_*. SoderiveFamilylabelled itevmthrough its last-resort fallback, as it did Kaspa and Siacoin. Decred's ticket-pool methods (getstakedifficulty,getticketpoolvalue) now identify it.promql.test.tsasserts that DCR and DCRT resolve to it.Try-it needs no new hints. DCR inherits seven runnable bitcoind-style defaults by method name:
getblockchaininfo,getblockcount,getbestblockhash,getblockhash [800000],getnetworkinfo,getmempoolinfo,getdifficulty.chaincfg/testnetparams.go).no-runnable-defaults.generated.jsonis unchanged.Icon.
decred.svguses web3icons'tokens/mono/DCRglyph (web3icons has no network entry for Decred) on the source background's#2970FF. White reaches 4.32:1, so the glyph stays white. DCRT resolves to the same file. The README records the provenance.Explorers.
dcrdata.decred.orgblock(/block/<height>)000000…db7012, mined 2016-02-11testnet.dcrdata.org(the testnet link on dcrdata) answers 503 to curl and timed out in the browser. It was also 503 on 2026-10-06, per lava-specs chore(deps-dev): bump eslint from 10.6.0 to 10.10.0 #186.Source: decred.org links dcrdata.decred.org as its explorer.
no-explorer.generated.jsongainsDCRT.No
--refresh. Decred is neither EVM nor Cosmos, so chainlist and chain-registry cannot supply its explorer, and the registry snapshot is left as it is.Comment fix.
chain-methods.tssaid the map has "32 chain-type families". It has 34 with this PR, so the comment now points atChainFamilyinstead of a number.Release
0.55.0. Open PR #310 still claims 0.53.0, so it needs a re-bump whenever it merges.298 chains, 254 with an explorer, 207 primaries linking a height.Test plan
node apps/web/scripts/check-spec-sync.mjswithLAVA_SPECS_DIRset to lava-specs8715592: ✓ for all five catalogspnpm typecheckpnpm test: shared 1348, web 519, db 80, api 1118, all passingpnpm lint: 0 errors (23 warnings, the baseline)Screenshots
Icon:
decredat 96 px besidesiacoin,kaspa,moneroandbitcoinon the dashboard's dark surface.DCR:
dcrdata.decred.org/block/1000.#Closes MAG-5052
Jira ticket: MAG-5052