Upgrade Terraform v0.11.15-oci to v0.12.24

is there a way to upgrade Terraform v0.11.15-oci+ provider.azurerm v1.38.0
to v0.12.24 because i got this message below
Error loading state: state snapshot was created by Terraform v0.12.24, which is newer than current v0.12.20; upgrade to Terraform v0.12.24 or greater to work with this state

Thanks in advance

@vadimso it looks to me like you (or another user) must have run a command with Terraform v0.12.24 that upgraded your state file format.