pub enum Parameter {
Show 178 variants
BurntGasReward,
PessimisticGasPriceInflation,
MainStorageProofSizeSoftLimit,
PerReceiptStorageProofSizeLimit,
NewTransactionsValidationStateSizeSoftLimit,
CombinedTransactionsSizeLimit,
OutgoingReceiptsUsualSizeLimit,
OutgoingReceiptsBigSizeLimit,
MinAllowedTopLevelAccountLength,
RegistrarAccountId,
StorageAmountPerByte,
StorageNumBytesAccount,
StorageNumExtraBytesRecord,
ActionReceiptCreation,
DataReceiptCreationBase,
DataReceiptCreationPerByte,
ActionCreateAccount,
ActionDeleteAccount,
ActionDeployContract,
ActionDeployContractPerByte,
ActionFunctionCall,
ActionFunctionCallPerByte,
ActionTransfer,
ActionStake,
ActionAddFullAccessKey,
ActionAddFunctionCallKey,
ActionAddFunctionCallKeyPerByte,
ActionDeleteKey,
ActionDelegate,
WasmRegularOpCost,
WasmGrowMemCost,
WasmBase,
WasmContractLoadingBase,
WasmContractLoadingBytes,
WasmReadMemoryBase,
WasmReadMemoryByte,
WasmWriteMemoryBase,
WasmWriteMemoryByte,
WasmReadRegisterBase,
WasmReadRegisterByte,
WasmWriteRegisterBase,
WasmWriteRegisterByte,
WasmUtf8DecodingBase,
WasmUtf8DecodingByte,
WasmUtf16DecodingBase,
WasmUtf16DecodingByte,
WasmSha256Base,
WasmSha256Byte,
WasmKeccak256Base,
WasmKeccak256Byte,
WasmKeccak512Base,
WasmKeccak512Byte,
WasmRipemd160Base,
WasmRipemd160Block,
WasmEcrecoverBase,
WasmEd25519VerifyBase,
WasmEd25519VerifyByte,
WasmLogBase,
WasmLogByte,
WasmStorageWriteBase,
WasmStorageWriteKeyByte,
WasmStorageWriteValueByte,
WasmStorageWriteEvictedByte,
WasmStorageReadBase,
WasmStorageReadKeyByte,
WasmStorageReadValueByte,
WasmStorageLargeReadOverheadBase,
WasmStorageLargeReadOverheadByte,
WasmStorageRemoveBase,
WasmStorageRemoveKeyByte,
WasmStorageRemoveRetValueByte,
WasmStorageHasKeyBase,
WasmStorageHasKeyByte,
WasmStorageIterCreatePrefixBase,
WasmStorageIterCreatePrefixByte,
WasmStorageIterCreateRangeBase,
WasmStorageIterCreateFromByte,
WasmStorageIterCreateToByte,
WasmStorageIterNextBase,
WasmStorageIterNextKeyByte,
WasmStorageIterNextValueByte,
WasmTouchingTrieNode,
WasmReadCachedTrieNode,
WasmPromiseAndBase,
WasmPromiseAndPerPromise,
WasmPromiseReturn,
WasmValidatorStakeBase,
WasmValidatorTotalStakeBase,
WasmAltBn128G1MultiexpBase,
WasmAltBn128G1MultiexpElement,
WasmAltBn128PairingCheckBase,
WasmAltBn128PairingCheckElement,
WasmAltBn128G1SumBase,
WasmAltBn128G1SumElement,
WasmYieldCreateBase,
WasmYieldCreateByte,
WasmYieldResumeBase,
WasmYieldResumeByte,
WasmBls12381P1SumBase,
WasmBls12381P1SumElement,
WasmBls12381P2SumBase,
WasmBls12381P2SumElement,
WasmBls12381G1MultiexpBase,
WasmBls12381G1MultiexpElement,
WasmBls12381G2MultiexpBase,
WasmBls12381G2MultiexpElement,
WasmBls12381MapFpToG1Base,
WasmBls12381MapFpToG1Element,
WasmBls12381MapFp2ToG2Base,
WasmBls12381MapFp2ToG2Element,
WasmBls12381PairingBase,
WasmBls12381PairingElement,
WasmBls12381P1DecompressBase,
WasmBls12381P1DecompressElement,
WasmBls12381P2DecompressBase,
WasmBls12381P2DecompressElement,
MaxGasBurnt,
MaxGasBurntView,
MaxStackHeight,
ContractPrepareVersion,
InitialMemoryPages,
MaxMemoryPages,
RegistersMemoryLimit,
MaxRegisterSize,
MaxNumberRegisters,
MaxNumberLogs,
MaxTotalLogLength,
MaxTotalPrepaidGas,
MaxActionsPerReceipt,
MaxNumberBytesMethodNames,
MaxLengthMethodName,
MaxArgumentsLength,
MaxLengthReturnedData,
MaxContractSize,
MaxTransactionSize,
MaxReceiptSize,
MaxLengthStorageKey,
MaxLengthStorageValue,
MaxPromisesPerFunctionCallAction,
MaxNumberInputDataDependencies,
MaxFunctionsNumberPerContract,
Wasmer2StackLimit,
MaxLocalsPerContract,
AccountIdValidityRulesVersion,
YieldTimeoutLengthInBlocks,
MaxYieldPayloadSize,
Disable9393Fix,
FlatStorageReads,
ImplicitAccountCreation,
FixContractLoadingCost,
MathExtension,
Ed25519Verify,
AltBn128,
FunctionCallWeight,
VmKind,
EthImplicitAccounts,
YieldResume,
DiscardCustomSections,
MaxCongestionIncomingGas,
MaxCongestionOutgoingGas,
MaxCongestionMemoryConsumption,
MaxCongestionMissedChunks,
MaxOutgoingGas,
MinOutgoingGas,
AllowedShardOutgoingGas,
MaxTxGas,
MinTxGas,
RejectTxCongestionThreshold,
UseStateStoredReceipt,
MaxShardBandwidth,
MaxSingleGrant,
MaxAllowance,
MaxBaseBandwidth,
ActionDeployGlobalContract,
ActionDeployGlobalContractPerByte,
GlobalContractStorageAmountPerByte,
ActionUseGlobalContract,
ActionUseGlobalContractPerIdentifierByte,
}
Expand description
Protocol configuration parameter which may change between protocol versions.
Variants§
BurntGasReward
PessimisticGasPriceInflation
MainStorageProofSizeSoftLimit
Stateless validation config Size limit for storage proof generated while executing receipts in a chunk. After this limit is reached we defer execution of any new receipts.
PerReceiptStorageProofSizeLimit
Hard limit on the size of storage proof generated while executing a single receipt.
NewTransactionsValidationStateSizeSoftLimit
Soft size limit of storage proof used to validate new transactions in ChunkStateWitness.
CombinedTransactionsSizeLimit
Maximum size of transactions contained inside ChunkStateWitness. A witness contains transactions from both the previous chunk and the current one. This parameter limits the sum of sizes of transactions from both of those chunks.
OutgoingReceiptsUsualSizeLimit
The standard size limit for outgoing receipts aimed at a single shard. This limit is pretty small to keep the size of source_receipt_proofs under control. It limits the total sum of outgoing receipts, not individual receipts.
OutgoingReceiptsBigSizeLimit
Large size limit for outgoing receipts to a shard, used when it’s safe to send a lot of receipts without making the state witness too large. It limits the total sum of outgoing receipts, not individual receipts.
MinAllowedTopLevelAccountLength
RegistrarAccountId
StorageAmountPerByte
StorageNumBytesAccount
StorageNumExtraBytesRecord
ActionReceiptCreation
DataReceiptCreationBase
DataReceiptCreationPerByte
ActionCreateAccount
ActionDeleteAccount
ActionDeployContract
ActionDeployContractPerByte
ActionFunctionCall
ActionFunctionCallPerByte
ActionTransfer
ActionStake
ActionAddFullAccessKey
ActionAddFunctionCallKey
ActionAddFunctionCallKeyPerByte
ActionDeleteKey
ActionDelegate
WasmRegularOpCost
WasmGrowMemCost
WasmBase
Base cost for a host function
WasmContractLoadingBase
WasmContractLoadingBytes
WasmReadMemoryBase
WasmReadMemoryByte
WasmWriteMemoryBase
WasmWriteMemoryByte
WasmReadRegisterBase
WasmReadRegisterByte
WasmWriteRegisterBase
WasmWriteRegisterByte
WasmUtf8DecodingBase
WasmUtf8DecodingByte
WasmUtf16DecodingBase
WasmUtf16DecodingByte
WasmSha256Base
WasmSha256Byte
WasmKeccak256Base
WasmKeccak256Byte
WasmKeccak512Base
WasmKeccak512Byte
WasmRipemd160Base
WasmRipemd160Block
WasmEcrecoverBase
WasmEd25519VerifyBase
WasmEd25519VerifyByte
WasmLogBase
WasmLogByte
WasmStorageWriteBase
WasmStorageWriteKeyByte
WasmStorageWriteValueByte
WasmStorageWriteEvictedByte
WasmStorageReadBase
WasmStorageReadKeyByte
WasmStorageReadValueByte
WasmStorageLargeReadOverheadBase
WasmStorageLargeReadOverheadByte
WasmStorageRemoveBase
WasmStorageRemoveKeyByte
WasmStorageRemoveRetValueByte
WasmStorageHasKeyBase
WasmStorageHasKeyByte
WasmStorageIterCreatePrefixBase
WasmStorageIterCreatePrefixByte
WasmStorageIterCreateRangeBase
WasmStorageIterCreateFromByte
WasmStorageIterCreateToByte
WasmStorageIterNextBase
WasmStorageIterNextKeyByte
WasmStorageIterNextValueByte
WasmTouchingTrieNode
WasmReadCachedTrieNode
WasmPromiseAndBase
WasmPromiseAndPerPromise
WasmPromiseReturn
WasmValidatorStakeBase
WasmValidatorTotalStakeBase
WasmAltBn128G1MultiexpBase
WasmAltBn128G1MultiexpElement
WasmAltBn128PairingCheckBase
WasmAltBn128PairingCheckElement
WasmAltBn128G1SumBase
WasmAltBn128G1SumElement
WasmYieldCreateBase
WasmYieldCreateByte
WasmYieldResumeBase
WasmYieldResumeByte
WasmBls12381P1SumBase
WasmBls12381P1SumElement
WasmBls12381P2SumBase
WasmBls12381P2SumElement
WasmBls12381G1MultiexpBase
WasmBls12381G1MultiexpElement
WasmBls12381G2MultiexpBase
WasmBls12381G2MultiexpElement
WasmBls12381MapFpToG1Base
WasmBls12381MapFpToG1Element
WasmBls12381MapFp2ToG2Base
WasmBls12381MapFp2ToG2Element
WasmBls12381PairingBase
WasmBls12381PairingElement
WasmBls12381P1DecompressBase
WasmBls12381P1DecompressElement
WasmBls12381P2DecompressBase
WasmBls12381P2DecompressElement
MaxGasBurnt
MaxGasBurntView
MaxStackHeight
ContractPrepareVersion
InitialMemoryPages
MaxMemoryPages
RegistersMemoryLimit
MaxRegisterSize
MaxNumberRegisters
MaxNumberLogs
MaxTotalLogLength
MaxTotalPrepaidGas
MaxActionsPerReceipt
MaxNumberBytesMethodNames
MaxLengthMethodName
MaxArgumentsLength
MaxLengthReturnedData
MaxContractSize
MaxTransactionSize
MaxReceiptSize
MaxLengthStorageKey
MaxLengthStorageValue
MaxPromisesPerFunctionCallAction
MaxNumberInputDataDependencies
MaxFunctionsNumberPerContract
Wasmer2StackLimit
MaxLocalsPerContract
AccountIdValidityRulesVersion
YieldTimeoutLengthInBlocks
MaxYieldPayloadSize
Disable9393Fix
FlatStorageReads
ImplicitAccountCreation
FixContractLoadingCost
MathExtension
Ed25519Verify
AltBn128
FunctionCallWeight
VmKind
EthImplicitAccounts
YieldResume
DiscardCustomSections
MaxCongestionIncomingGas
MaxCongestionOutgoingGas
MaxCongestionMemoryConsumption
MaxCongestionMissedChunks
MaxOutgoingGas
MinOutgoingGas
AllowedShardOutgoingGas
MaxTxGas
MinTxGas
RejectTxCongestionThreshold
UseStateStoredReceipt
MaxShardBandwidth
MaxSingleGrant
MaxAllowance
MaxBaseBandwidth
ActionDeployGlobalContract
ActionDeployGlobalContractPerByte
GlobalContractStorageAmountPerByte
ActionUseGlobalContract
ActionUseGlobalContractPerIdentifierByte
Implementations§
Trait Implementations§
Source§impl Ord for Parameter
impl Ord for Parameter
Source§impl PartialOrd for Parameter
impl PartialOrd for Parameter
impl Copy for Parameter
impl Eq for Parameter
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.