cya
cya copied to clipboard
Revisit `Account` entitlements in `FlowStakingCollection.CollectionOwner.registerNode`
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.
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