Closed AminRezaei0x443 closed 2 years ago
In recent versions of TON, the version message's structure for the func binary (func -V) has been changed and safe_get_version fails to process the output, making the setup impossible. Old version's output:
func
func -V
safe_get_version
Func build information: [ Commit: ae5c0720143e231c32c3d2034cfe4e533a16d969, Date: 2022-01-18 19:34:25 +0300]
New version's output:
FunC semantic version: v0.2.0 Build information: [ Commit: db3619ed310484fcfa4e3565be8e10458f9f2f5f, Date: 2022-05-17 15:56:31 +0300]
This PR fixes the issue and makes sure it works with both message structures.
Thanks!
In recent versions of TON, the version message's structure for the
func
binary (func -V
) has been changed andsafe_get_version
fails to process the output, making the setup impossible. Old version's output:New version's output:
This PR fixes the issue and makes sure it works with both message structures.