Current Behavior
Test.getAccount(0x0000000000000007)
security: hardcoded address detected — consider using named address imports for portability
access(all) contract X {
access(all) var stuff: UInt64
security: mutable field 'stuff' of contract 'X' has access(all), allowing public write access — consider restricting with entitlements
Expected Behavior
no warnings
Steps To Reproduce
- add code to .cdc file
flow cadence lint
Environment
- Cadence version:
- Network:
Current Behavior
security: hardcoded address detected — consider using named address imports for portability
security: mutable field 'stuff' of contract 'X' has access(all), allowing public write access — consider restricting with entitlements
Expected Behavior
no warnings
Steps To Reproduce
flow cadence lintEnvironment