Rename FVM envvar to LOTUS_USE_FVM_EXPERIMENTAL

This commit is contained in:
Aayush 2022-03-12 11:03:43 -05:00
parent 6d4fb8866e
commit 05fa9c81de
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ func (t *TipSetExecutor) ApplyBlocks(ctx context.Context, sm *stmgr.StateManager
LookbackState: stmgr.LookbackStateGetterForTipset(sm, ts),
}
if os.Getenv("LOTUS_USE_FVM_DOESNT_WORK_YET") == "1" {
if os.Getenv("LOTUS_USE_FVM_EXPERIMENTAL") == "1" {
filVested, err := sm.GetFilVested(ctx, e)
if err != nil {
return nil, err

View File

@ -15,7 +15,7 @@ type VMI interface {
}
func NewVM(ctx context.Context, opts *VMOpts) (VMI, error) {
if os.Getenv("LOTUS_USE_FVM_DOESNT_WORK_YET") == "1" {
if os.Getenv("LOTUS_USE_FVM_EXPERIMENTAL") == "1" {
return NewFVM(ctx, opts)
}