cya icon indicating copy to clipboard operation
cya copied to clipboard

Revisit `Account` entitlements in `FlowStakingCollection.CollectionOwner.registerNode`

Open SupunS opened this issue 2 years ago • 1 comments

Issue To Be Solved

Refer to: https://github.com/onflow/flow-core-contracts/pull/382#discussion_r1326283956

Suggest A Solution

Determine what is the minimal set of entitlements sufficient for the returned Account in the above method.

SupunS avatar Sep 22 '23 15:09 SupunS

I don't think we need to make it a minimal set of capabilities here. It is a brand new account that the caller is expected to own, so I don't think we should restrict it. They should be allowed to do anything they want with it in the transaction

joshuahannan avatar Mar 26 '24 16:03 joshuahannan