Open 0xpatrickdev opened 4 months ago
internal consistency doesn't seem as valuable as consistency with whatever external database we're mirroring.
what do the chain registry npm packages do?
a mixture of snake_case and camelCase is used
got an example?
p.s. I see denom_units
in https://www.npmjs.com/package/chain-registry
counterparty is one word not two remove prefix.key_prefix
concur
A point for not using a counterparty
object and instead flattening the data structure - it might be common to destructure these values and the developer might need to alias to something like rPortID
, rChannelID
, rConnectionID
. (Would be nice to avoid this if we anticipate it as a common pattern)
What is the Problem Being Solved?
To facilitate contracts for
@agoric/orchestration
, chain and connection info will be published to vstorage for clients and contracts to access.The ChainInfo schema is inconsistent. Namely:
snake_case
andcamelCase
is usedcounterParty*
while others usecounterparty*
counterPartyPortId
andcounterPartyChannelId
prefix.key_prefix
values say 'FIXME'Description of the Design
counterparty
is one word not twoprefix.key_prefix
from the schema - we can append later if neededSecurity Considerations
Scaling Considerations
Test Plan
Upgrade Considerations