This commit is contained in:
Łukasz Magiera 2020-09-15 15:29:39 +02:00
parent 4419850195
commit 9dad38c9a5
3 changed files with 34 additions and 34 deletions

View File

@ -49,13 +49,13 @@ func doExecValue(ctx context.Context, vm *vm.VM, to, from address.Address, value
return ret.Return, nil
}
var GenesisNetworkVersion = func() network.Version {// TODO: Get from build/
if build.UseNewestNetwork() {// TODO: Get from build/
return build.NewestNetworkVersion// TODO: Get from build/
}// TODO: Get from build/
return network.Version1// TODO: Get from build/
}()// TODO: Get from build/
var GenesisNetworkVersion = func() network.Version { // TODO: Get from build/
if build.UseNewestNetwork() { // TODO: Get from build/
return build.NewestNetworkVersion // TODO: Get from build/
} // TODO: Get from build/
return network.Version1 // TODO: Get from build/
}() // TODO: Get from build/
func genesisNetworkVersion(context.Context, abi.ChainEpoch) network.Version {// TODO: Get from build/
func genesisNetworkVersion(context.Context, abi.ChainEpoch) network.Version { // TODO: Get from build/
return GenesisNetworkVersion // TODO: Get from build/
}// TODO: Get from build/
} // TODO: Get from build/