INCLUDING DEPENDENCY MoveStdlib
BUILDING BasicCoin
warning[W10007]: potential issue with attribute value
┌─ ./sources/BasicCoin.move:94:24
│
94 │ #[expected_failure(abort_code = 2)] // Can specify an abort code
│ ^^^^^^^^^^ - Replace value with constant from expected module or add location=... attribute.
│ │
│ WARNING: passes for an abort from any module.
Fix constant warning in compilation:
INCLUDING DEPENDENCY MoveStdlib BUILDING BasicCoin warning[W10007]: potential issue with attribute value ┌─ ./sources/BasicCoin.move:94:24 │ 94 │ #[expected_failure(abort_code = 2)] // Can specify an abort code │ ^^^^^^^^^^ - Replace value with constant from expected module or add
location=...
attribute. │ ││ WARNING: passes for an abort from any module.
Motivation
Fix warnings in compilation time.
Have you read the Contributing Guidelines on pull requests?
YES
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
TESTED