We want to let you know that there will be a breaking change to Cadence that will impact development teams using the Crypto contract. This is a critical update.
This change will go into effect:
- TestNet: 6-22-2021
- MainNet: 6-23-2021
Who/What This Impacts
The built-in Cadence contract
Crypto changed. This breaking change only affects users of this contract.
Cryptocontract user domain tag used to verify
KeyListsignatures changed from
"FLOW-V0.0-user", the same tag used by SDKs
- The function
Crypto.KeyList.isValidwas renamed to
Why This Change Happened
- The user domain tag was made consistent with the tag used by Flow SDKs
- The function was renamed to consistenly use the term “verification”
- When using the
KeyListstructure from the
Cryptocontract, generate off-chain signatures with the user domain tag
"FLOW-V0.0-user", the same tag used by the SDKs
- Replace function calls of
Crypto.KeyList.isValidwith the new name
If you have any questions regarding this breaking change, please ask our team in Discord for further assistance.
The Flow Team