cadence icon indicating copy to clipboard operation
cadence copied to clipboard

Stable cadence, created accounts don't set capabilities correctly

Open bluesign opened this issue 2 years ago • 0 comments

🐞 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

bluesign avatar Oct 04 '23 16:10 bluesign