Merge pull request #8831 from filecoin-project/arajasek-patch-2

refactor: rename LOTUS_USE_FVM_EXPERIMENTAL
This commit is contained in:
Jiaying Wang 2022-06-09 17:42:16 -04:00 committed by GitHub
commit 87d1e8ddfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ type Interface interface {
Flush(ctx context.Context) (cid.Cid, error)
}
var experimentalUseFvm = os.Getenv("LOTUS_USE_FVM_EXPERIMENTAL") == "1"
var experimentalUseFvm = os.Getenv("LOTUS_USE_FVM_TO_SYNC_MAINNET_V15") == "1"
func NewVM(ctx context.Context, opts *VMOpts) (Interface, error) {
if opts.NetworkVersion >= network.Version16 {