Don't use invoke_contract_v1
What it does
Checks that method invoke_contract_v1
is not used in the contract.
Why is this bad?
This will call into the original version of the host function. It is recommended to use invoke_contract
to use the latest version if the target runtime supports it.
More info
Implementation
The detector's implementation can be found at this link.