onflow/flow-core-contracts

EPOCHS: Use account storage for contract dictionaries

Closed this issue · 0 comments

Issue To Be Solved

Loading contracts for a script or transaction also has to load all the dictionary field values, so they need to be changed to use account storage instead.

Suggest A Solution

Define paths to store the fields for addresses and keys used instead of fields
define path to store staking enabled field as well
Define utility functions to access these paths in storage