Open alpe opened 3 years ago
Tom pointed me to https://www.npmjs.com/package/ajv-cli that can help with data validation
We were discussing this, and think that providing the jsons cannot be properly done without a testing environment to validate them.
This testing env will also be useful to solve integration / API / formatting issues (error messages, param names / types, etc.)
I think a shared project between blockchain devs and contract devs, in which any one of us can try a new contract version on an existing blockchain, or a new blockchain on existing contracts, or both, will be very useful.
Something like a (probably local) testnet that can be easily parametrised / started, and that is part of a test suite of some kind, would be the idea here.
WDYT?
This doesn't seem essential for mainnet launch, but nice to have for ongoing test improvements.
Integration between contracts and tgrade chain is a a major point. We should make this a first level task in tests and have example json as specs in both projects for tests (golden master).
This task is about getting this started and integrate the first set of tests.