cadence
cadence copied to clipboard
Stable cadence, created accounts don't set capabilities correctly
🐞 Bug Report
With stable cadence emulator ( Version: v1.5.0-stable-cadence.2 ) , created new accounts does not have capabilities controller set up correctly.
cc: @SupunS
Reproduction steps
Steps to reproduce the behaviour:
var acc = getAccount(0x01cf0e2f2f715450)
var sr = acc.capabilities.get<&FlowToken.Vault>(/public/flowTokenVault)
sr is nil
Expected behaviour
sr is not nil