Merge pull request #8363 from filecoin-project/asr/fvm-log

chore: FVM: log when fvm is used
This commit is contained in:
Jiaying Wang 2022-03-23 13:43:35 -04:00 committed by GitHub
commit caeeb6a7d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,6 +217,7 @@ type FVM struct {
}
func NewFVM(ctx context.Context, opts *VMOpts) (*FVM, error) {
log.Info("using the FVM, this is experimental!")
circToReport := opts.FilVested
// For v14 (and earlier), we perform the FilVested portion of the calculation, and let the FVM dynamically do the rest
// v15 and after, the circ supply is always constant per epoch, so we calculate the base and report it at creation