-
Notifications
You must be signed in to change notification settings - Fork 627
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
test_utils::upgrade_protocol bumps to the latest protocol version instead of the provided one #8590
Comments
We may need to disable voting for latest protocol version in tests, because we do want to check only +1 protocol version switches. With flat storage features, TTN costs of same txns will change, which may break some existing tests using |
Alternatively, if we go forward with limited-to-three replayability for the outside world, we can probably just remove all the tests that pertain to versions older than the latest we officially support, and that’ll both simplify our code and help us work around this issue :) (though it’d still be nice to actually fix it someday) |
This replaces the wasmer2 test instead of adding a new one because of #8590.
This replaces the wasmer2 test instead of adding a new one because of #8590.
This replaces the wasmer2 test instead of adding a new one because of near#8590.
This replaces the wasmer2 test instead of adding a new one because of near#8590.
This replaces the wasmer2 test instead of adding a new one because of #8590.
Got hit by this while adding CI for chain with custom protocol version #10589 |
Looks like we are hitting this issue again in #10979. If we are not planning on fixing this issue any time soon, I propose that we change
protocol_version as an argument. We will then be forced to rewrite our tests to accept this limitation.
|
Renames `pub fn upgrade_protocol(&mut self, protocol_version: ProtocolVersion)` to `pub fn upgrade_protocol_to_latest_version(&mut self)`. The function is unable to upgrade to a specific version but instead always upgrades to the latest version. Also see #8590.
JFYI I'm going to disable the test_function_limit_change test when stabilizing the cc and sv features. If the issue is uncontrolled protocol upgrades this can now be done more precisely with |
The code at Ekleog@33bf680 fails with log lines:
Note in particular the
current_protocol_version=58
here.Analysis suggested by @jakmeier is as follows:
The text was updated successfully, but these errors were encountered: