mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 19:41:19 +00:00
21 lines
407 B
Go
21 lines
407 B
Go
|
package vm
|
||
|
|
||
|
// todo: TBD actual TEVM interpreter
|
||
|
|
||
|
// TEVMInterpreter represents an TEVM interpreter
|
||
|
type TEVMInterpreter struct {
|
||
|
*EVMInterpreter
|
||
|
}
|
||
|
|
||
|
type VmType int8
|
||
|
|
||
|
const (
|
||
|
EVMType VmType = 0
|
||
|
TEVMType VmType = 1
|
||
|
)
|
||
|
|
||
|
// NewTEVMInterpreter returns a new instance of the Interpreter.
|
||
|
func NewTEVMInterpreter(evm *EVM, cfg Config) *TEVMInterpreter {
|
||
|
return &TEVMInterpreter{NewEVMInterpreter(evm, cfg)}
|
||
|
}
|