Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sstanculeanu committed Aug 31, 2023
1 parent 8fc0f03 commit 7cf46d2
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions vmhost/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,30 @@ package vmhost
import "github.com/multiversx/mx-chain-core-go/core"

const (
MultiESDTTransferFixOnCallBackFlag core.EnableEpochFlag = "MultiESDTTransferFixOnCallBackFlag"
RemoveNonUpdatedStorageFlag core.EnableEpochFlag = "RemoveNonUpdatedStorageFlag"
CreateNFTThroughExecByCallerFlag core.EnableEpochFlag = "CreateNFTThroughExecByCallerFlag"
StorageAPICostOptimizationFlag core.EnableEpochFlag = "StorageAPICostOptimizationFlag"
CheckExecuteOnReadOnlyFlag core.EnableEpochFlag = "CheckExecuteOnReadOnlyFlag"
FailExecutionOnEveryAPIErrorFlag core.EnableEpochFlag = "FailExecutionOnEveryAPIErrorFlag"
ManagedCryptoAPIsFlag core.EnableEpochFlag = "ManagedCryptoAPIsFlag"
DisableExecByCallerFlag core.EnableEpochFlag = "DisableExecByCallerFlag"
RefactorContextFlag core.EnableEpochFlag = "RefactorContextFlag"
RuntimeMemStoreLimitFlag core.EnableEpochFlag = "RuntimeMemStoreLimitFlag"
RuntimeCodeSizeFixFlag core.EnableEpochFlag = "RuntimeCodeSizeFixFlag"
FixOOGReturnCodeFlag core.EnableEpochFlag = "FixOOGReturnCodeFlag"
// MultiESDTTransferFixOnCallBackFlag defines the flag that activates the multi esdt transfer fix on callback
MultiESDTTransferFixOnCallBackFlag core.EnableEpochFlag = "MultiESDTTransferFixOnCallBackFlag"
// RemoveNonUpdatedStorageFlag defines the flag that activates the remove non updated storage fix
RemoveNonUpdatedStorageFlag core.EnableEpochFlag = "RemoveNonUpdatedStorageFlag"
// CreateNFTThroughExecByCallerFlag defines the flag that activates the create nft through exec by caller fix
CreateNFTThroughExecByCallerFlag core.EnableEpochFlag = "CreateNFTThroughExecByCallerFlag"
// StorageAPICostOptimizationFlag defines the flag that activates the storage api cost optimization
StorageAPICostOptimizationFlag core.EnableEpochFlag = "StorageAPICostOptimizationFlag"
// CheckExecuteOnReadOnlyFlag defines the flag that activates the check execute on read only
CheckExecuteOnReadOnlyFlag core.EnableEpochFlag = "CheckExecuteOnReadOnlyFlag"
// FailExecutionOnEveryAPIErrorFlag defines the flag that activates the fail execution on every api error
FailExecutionOnEveryAPIErrorFlag core.EnableEpochFlag = "FailExecutionOnEveryAPIErrorFlag"
// ManagedCryptoAPIsFlag defines the flag that activates the manage crypto apis
ManagedCryptoAPIsFlag core.EnableEpochFlag = "ManagedCryptoAPIsFlag"
// DisableExecByCallerFlag defines the flag that activates disable exec by caller
DisableExecByCallerFlag core.EnableEpochFlag = "DisableExecByCallerFlag"
// RefactorContextFlag defines the flag that activates the refactor context
RefactorContextFlag core.EnableEpochFlag = "RefactorContextFlag"
// RuntimeMemStoreLimitFlag defines the flag that activates the runtime mem store limit
RuntimeMemStoreLimitFlag core.EnableEpochFlag = "RuntimeMemStoreLimitFlag"
// RuntimeCodeSizeFixFlag defines the flag that activates the runtime code size fix
RuntimeCodeSizeFixFlag core.EnableEpochFlag = "RuntimeCodeSizeFixFlag"
// FixOOGReturnCodeFlag defines the flag that activates the fix oog return code
FixOOGReturnCodeFlag core.EnableEpochFlag = "FixOOGReturnCodeFlag"
// DynamicGasCostForDataTrieStorageLoadFlag defines the flag that activates the dynamic gas cost for data trie storage load
DynamicGasCostForDataTrieStorageLoadFlag core.EnableEpochFlag = "DynamicGasCostForDataTrieStorageLoadFlag"
)

0 comments on commit 7cf46d2

Please sign in to comment.