You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any code that uses the IC CDK storage is using unsafe Rust which can result in race conditions. This may not introduce downstream issues in your code, but it was a problem for us, and certainly may be a problem if storage is used more widely throughout the codebase.
The text was updated successfully, but these errors were encountered:
The issue @blutooth is referring to is raised in CDK ~3 years ago: dfinity/cdk-rs#73 . Quick look at the DIP20 code doesn't show any obvious UBs, but it's certainly a little sketchy, especially since it uses async calls to Cap (which allows other code to be executed while async is awaiting).
Any code that uses the IC CDK storage is using unsafe Rust which can result in race conditions. This may not introduce downstream issues in your code, but it was a problem for us, and certainly may be a problem if storage is used more widely throughout the codebase.
The text was updated successfully, but these errors were encountered: