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

Deprecate native state flag #11268

Merged
merged 55 commits into from
Sep 15, 2022
Merged

Deprecate native state flag #11268

merged 55 commits into from
Sep 15, 2022

Conversation

rkapka
Copy link
Contributor

@rkapka rkapka commented Aug 19, 2022

What type of PR is this?

Cleanup

What does this PR do? Why is it needed?

  • Deprecates the --disable-native-state flag and removes the associated feature
  • Swaps proto state usage with native state in spectests
  • Removes test files from proto state packages. This is because these tests greatly depend on functions such as InitializeFromProto, which return a native state, which makes a mess in these tests. Proto state is to be removed anyway in a later PR.

Which issues(s) does this PR fix?

Fixes #10231

@rkapka rkapka changed the title Remove native state flag and use native state in spectests Deprecate native state flag and use native state in spectests Aug 29, 2022
Comment on lines +190 to 200
go_test(
name = "go_mainnet_test",
timeout = "moderate",
srcs = [
"attester_mainnet_test.go",
"server_mainnet_test.go",
"status_mainnet_test.go",
],
embed = [":go_default_library"],
deps = common_deps,
)
Copy link
Contributor Author

@rkapka rkapka Sep 8, 2022

Choose a reason for hiding this comment

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

Some tests need to run using mainnet config. I separated these tests out to new mainnet files (e.g. attester_mainnet_test.go) and put them under a new rule.

@rkapka rkapka changed the title Deprecate native state flag and use native state in spectests Deprecate native state flag Sep 9, 2022
@rkapka rkapka merged commit 0f0ab13 into develop Sep 15, 2022
@rkapka rkapka deleted the remove-native-state-flag branch September 15, 2022 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Flag Tracking] enable-native-state
3 participants