kadena-io / chainweb-node

Chainweb: A Proof-of-Work Parallel-Chain Architecture for Massive Throughput
https://docs.kadena.io/basics/whitepapers/overview
BSD 3-Clause "New" or "Revised" License
250 stars 94 forks source link

Question about Namespace contracts #1692

Open sanderlooijenga opened 1 year ago

sanderlooijenga commented 1 year ago

Which of the contracts is the latest (looking at https://github.com/kadena-io/chainweb-node/tree/master/pact/namespaces)?

Maybe a README could be added?

edmundnoble commented 1 year ago

Hullo,

The latest is always ns.pact at the top level, with historical versions of the contract in subfolders. I can see about documenting that when we give coin the same treatment.

LindaOrtega commented 1 year ago

Would it be possible to follow this same convention (top level is always the most up to date) for the rest of the contracts?

It might not be so easy to do with the coin contract though: The top level version of coin.pact was updated 10 months ago. But v5 was updated last month. I was surprised that the top level version of coin.repl was updated last month along with the v5 version. And inside v5 are a couple of contracts, like coin-v5-install.pact, which seem to override coin.pact? A README could help though.

Screenshot 2023-09-20 at 11 25 04 AM Screenshot 2023-09-20 at 11 24 58 AM