m002

package
v1.4.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UpdateEVMISCMagic = migrations.Migration{
	Contract: evm.Contract,
	Apply: func(state kv.KVStore, log *logger.Logger) error {
		evmPartition := subrealm.New(state, kv.Key(evm.Contract.Hname().Bytes()))
		emulatorState := evm.EmulatorStateSubrealm(evmPartition)
		stateDBSubrealm := emulator.StateDBSubrealm(emulatorState)
		emulator.SetCode(stateDBSubrealm, iscmagic.ERC721NFTsAddress, iscmagic.ERC721NFTsRuntimeBytecode)
		return nil
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL