-
Notifications
You must be signed in to change notification settings - Fork 318
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
refactor(nervous-system): Use Sns
type in integration tests rather than DeployedSns
#1589
Conversation
Note to reviewer: CI is failing, but the cause is something that should not be fixed as part of this PR. (Instead I will fix it in a separate PR.) It is failing because ic-sns-wasm has a test feature, and pocketic uses it with the test feature enabled and ic-nervous-system-agent doesn't, leading to two different versions of ic-sns-wasm in the dependency stack (since bazel doesn't support merging features) |
We should remove all the test_features crates - that will dramatically simplify our lives. It was a mistake introducing them in the first place, but we didn't have a faster option at the time. |
cf66b83
to
4a005f8
Compare
4a005f8
to
8ad79da
Compare
Enough of the test_features crates have been removed that this PR is no longer blocked! |
…ystem-agent (dfinity#1590) This will allow us to use ic-nervous-system-agent helper functions from within tests built on pocket-ic. This PR synergizes with dfinity#1589, which starts to use ic-nervous-system-agent types from within ic-nervous-system-integration-tests
…than `DeployedSns` (dfinity#1589) Unlike `DeployedSns`, the `Sns` type has no optional fields. This means we can remove the repetitive unwrapping in every test that deploys an SNS. The `Sns` type also has some utility functions on it that can be used in the integration tests once dfinity#1590 is merged
Unlike
DeployedSns
, theSns
type has no optional fields. This means we can remove the repetitive unwrapping in every test that deploys an SNS. TheSns
type also has some utility functions on it that can be used in the integration tests once #1590 is merged