package
1.0.0
Repository: https://github.com/onflow/flow-emulator.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.

# Functions

Contracts allows users to deploy the given contracts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
New instantiates a new emulated emulator with the provided options.
No description provided by the author
No description provided by the author
No description provided by the author
WithChainID sets chain type for address generation The default is emulator.
No description provided by the author
WithContractRemovalEnabled restricts/allows removal of already deployed contracts.
WithCoverageReport injects a CoverageReport to collect coverage information.
WithExecutionEffortWeights sets the execution effort weights.
WithGenesisTokenSupply sets the genesis token supply.
WithLegacyUpgradeEnabled enables parsing of old contracts for legacy upgrade purposes.
WithLogger sets the fvm logger.
WithMinimumStorageReservation sets the minimum account balance.
WithScriptGasLimit sets the gas limit for scripts.
WithServerLogger sets the logger.
WithServicePrivateKey sets the service key from private key.
WithServicePublicKey sets the service key from a public key.
WithSimpleAddresses enables simple addresses, which are sequential starting with 0x01.
WithStorageLimitEnabled enables/disables limiting account storage used to their storage capacity.
WithStorageMBPerFLOW sets the cost of a megabyte of storage in FLOW the default is taken from fvm.DefaultStorageMBPerFLOW.
WithStore sets the persistent storage provider.
WithTransactionExpiry sets the transaction expiry measured in blocks.
WithTransactionFeesEnabled enables/disables transaction fees.
WithTransactionMaxGasLimit sets the maximum gas limit for transactions.
WithTransactionValidationEnabled enables/disables transaction validation.

# Constants

No description provided by the author
No description provided by the author
MaxViewIncrease represents the largest difference in view number between two consecutive blocks.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Blockchain emulates the functionality of the Flow emulator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Emulator defines the method set of an emulated emulator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Option is a function applying a change to the emulator config.
No description provided by the author