Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cleanups, setup conversion CLI, more extensive tests #36

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

jnicoulaud-ledger
Copy link
Contributor

(intermediate PR)

  • enabled more linters
  • fixed PEP8 (camel case names)
  • fixed some bandit warnings
  • fixed NameType type not serializing correctly
  • added ledger-asset-dapps as submodule, generalized tests to work on all ledger-asset-dapps descriptors
  • moved registries submodules to tests
  • grouped test utilities instead of duplicating
  • added test utilities to properly display parameterized test cases
  • added model serialization schema + round trip tests
  • added conversion round trip tests
  • removed docs/ with duplicated schema, it is in registry
  • added ERC7730Converter interface similar to linter interface
  • implemented CLI for conversion commands
  • started cleaning up converter code (WIP, see FIXMEs)

(intermediate PR)

- enabled more linters
- fixed PEP8 (camel case names)
- fixed some bandit warnings
- fixed `NameType` type not serializing correctly
- added ledger-asset-dapps as submodule, generalized tests to work on all ledger-asset-dapps descriptors
- moved registries submodules to tests
- grouped test utilities instead of duplicating
- added test utilities to properly display parameterized test cases
- added model serialization schema + round trip tests
- added conversion round trip tests
- removed docs/ with duplicated schema, it is in registry
- added `ERC7730Converter` interface similar to linter interface
- implemented CLI for conversion commands
- started cleaning up converter code (WIP, see FIXMEs)
@jnicoulaud-ledger jnicoulaud-ledger requested a review from a team as a code owner September 30, 2024 12:03
@github-actions github-actions bot added documentation Improvements or additions to documentation sources labels Sep 30, 2024
@jnicoulaud-ledger jnicoulaud-ledger merged commit ff58a90 into main Sep 30, 2024
5 of 6 checks passed
@jnicoulaud-ledger jnicoulaud-ledger deleted the setup-cli-and-tests branch September 30, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation sources
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant