From 7cf46d28c573ddda4196a3a81042e530acc208be Mon Sep 17 00:00:00 2001 From: Sorin Stanculeanu Date: Thu, 31 Aug 2023 14:28:24 +0300 Subject: [PATCH] added comments --- vmhost/flags.go | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/vmhost/flags.go b/vmhost/flags.go index bdda50161..ad1a4cbfe 100644 --- a/vmhost/flags.go +++ b/vmhost/flags.go @@ -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" )