onflow / cadence-tools

Developer tools for Cadence
https://www.onflow.org/
Apache License 2.0
23 stars 20 forks source link

[LS] `access(account)` does not work as expected #348

Open jribbink opened 2 months ago

jribbink commented 2 months ago

Current Behavior

The current access(account) handler returns false even if a contract is deployed to the same account.

see: https://discord.com/channels/613813861610684416/1230170093779030129/1230170303443894273

Steps To Reproduce

  1. Create a contract with a access(account) member
  2. Try to access this from another contract deployed to the same account.

Environment

- Cadence version: v0.42.10 & v1.0.0-preview.20
- Network: n/a