hirosystems / stacks-subnets

Stacks Subnets: a layer-2 scaling solution for Stacks, intended for high-throughput, low-latency workloads
http://docs.hiro.so
GNU General Public License v3.0
51 stars 13 forks source link

Track parent chain ID #303

Open obycode opened 1 year ago

obycode commented 1 year ago

Currently, the parent network's network ID is used throughout the code as an identifier for the parent network and is reported in the /v2/info endpoint. It might make more sense to use the parent chain ID instead. The explorer needs this field to identify if a subnet is on the testnet or mainnet.