VM: Remove v15 FVM support
This commit is contained in:
parent
ca713c57e7
commit
af525a4cf2
@ -37,13 +37,5 @@ func NewVM(ctx context.Context, opts *VMOpts) (Interface, error) {
|
|||||||
return NewFVM(ctx, opts)
|
return NewFVM(ctx, opts)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove after v16 upgrade, this is only to support testing and validation of the FVM
|
|
||||||
if useFvmForMainnetV15 && opts.NetworkVersion >= network.Version15 {
|
|
||||||
if useFvmDebug {
|
|
||||||
return NewDualExecutionFVM(ctx, opts)
|
|
||||||
}
|
|
||||||
return NewFVM(ctx, opts)
|
|
||||||
}
|
|
||||||
|
|
||||||
return NewLegacyVM(ctx, opts)
|
return NewLegacyVM(ctx, opts)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user