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

chore(spec-test): Obsolete some spec-tests and examples [2] #2661

Merged
merged 6 commits into from
May 18, 2023

Conversation

breathx
Copy link
Member

@breathx breathx commented May 17, 2023

No description provided.

`demo-block-info` used only to share the result of syscall, furthermore this demo was never been testing with `runtime-spec-tests` due to problems with block numbers compatibility.
`demo-meta` already is totally unused approach and the tests for it don't demonstrate actual supported api. For anything related to metadata and state queries see `demo-new-meta`.
`demo-test-gui` used to be testing instrument for JS side, but it's no longer so. The demo is totally unused. Furthermore, as api-demonstration view-point it uses deprecated api `gstd::metadata!`.
Copy link
Contributor

@shamilsan shamilsan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's about time

@breathx breathx added the A2-mergeoncegreen PR is ready to merge after CI passes label May 17, 2023
Copy link
Member

@grishasobol grishasobol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

set this because of merge once green. I will review

The yaml doesnt demonstrate any useful apis. Furthermore, this logic already tested with `pallet-gear` in `test_message_processing_for_non_existing_destination` test.
Demo doesnt demonstrate any new apis that `examples/binaries/program-factory` does. Furthermore, in terms of tests the same functionality covered with `pallet-gear`'s `test_create_program_works`, `test_create_program_duplicate` tests.
@breathx breathx force-pushed the dn-obsolete-examples-part2 branch from 57c99de to 8a8c122 Compare May 18, 2023 08:42
@breathx breathx merged commit 85d7582 into master May 18, 2023
@breathx breathx deleted the dn-obsolete-examples-part2 branch May 18, 2023 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A2-mergeoncegreen PR is ready to merge after CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants