Merge #430: Reset the daemon and GUI versions post 0.4 branch-off

a076a83cbac37e15e9f25c0cf5ba6a62233fea86 Reset the daemon and GUI versions post 0.4 branch-off (Antoine Poinsot)

Pull request description:

  Let's use `u32::MAX` as patch version to denote a development build.

ACKs for top commit:
  edouardparis:
    ACK a076a83cbac37e15e9f25c0cf5ba6a62233fea86

Tree-SHA512: f74abcc3d3c1102f465d275c56cf8c8df41761634cc16bcf355e29acdadefd34546532ed55525fb68fb363922fa46020f2bab02edadcc8a77a678717a2ba2395
This commit is contained in:
Antoine Poinsot 2023-04-13 13:41:05 +02:00
commit 3ac3097294
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ pub struct Version {
impl fmt::Display for Version {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{}.{}.{}", self.major, self.minor, self.patch)
write!(f, "{}.{}.{}-dev", self.major, self.minor, self.patch)
}
}

View File

@ -20,7 +20,7 @@ from test_framework.utils import (
def test_getinfo(lianad):
res = lianad.rpc.getinfo()
assert res["version"] == "0.4.0"
assert res["version"] == "0.4.0-dev"
assert res["network"] == "regtest"
wait_for(lambda: lianad.rpc.getinfo()["block_height"] == 101)
res = lianad.rpc.getinfo()