agent0.ethpy.hyperdrive.get_expected_hyperdrive_version
Function to read min-hyperdrive.version.
Functions
Get the minimum hyperdrive version from the min-hyperdrive.version file. |
|
|
Checks that the version meets the minimum hyperdrive version. |
Module Contents
- agent0.ethpy.hyperdrive.get_expected_hyperdrive_version.get_minimum_hyperdrive_version() str
Get the minimum hyperdrive version from the min-hyperdrive.version file.
- Returns:
The minimum hyperdrive version.
- Return type:
str
- agent0.ethpy.hyperdrive.get_expected_hyperdrive_version.check_hyperdrive_version(in_version: str) bool
Checks that the version meets the minimum hyperdrive version.
- Parameters:
in_version (str) – The version string to check.
- Returns:
True if the version meets the minimum hyperdrive version.
- Return type:
bool