tezos-checker / checker

An in-development "robocoin" system for the Tezos blockchain
24 stars 16 forks source link

Refactor tokens section in checker.yaml #293

Closed dorranh closed 3 years ago

dorranh commented 3 years ago

This PR takes a first step towards addressing #291 by refactoring the tokens section of checker.yaml and corresponding build script logic, adding fields for wtez, wctez, mock_fa2. It also reorganizes the tokens schema a bit, distinguishing between issued and in_use tokens since tokens in the former category need to allow for configurable FA2 metadata.

I also went ahead and added a field for the collateral_type switch and made the build script throw an error if it is ever not set to tez since we haven't implemented the FA2 build logic yet.

After this PR I should be able to implement the generation of a new tokenMetadata.ml module we discussed which can be used within tezWrapper.ml and wctez.ml (and other generated token modules).

github-actions[bot] commented 3 years ago

Gas costs: No change. Entrypoint sizes: No change. Test coverage: No change.