update chain-validation version for miner creation

This commit is contained in:
frrist 2020-02-28 15:14:21 -08:00
parent 0de43748f7
commit 72132c851b
4 changed files with 6 additions and 4 deletions

View File

@ -53,7 +53,7 @@ func (a *Applier) ApplyMessage(eCtx *vtypes.ExecutionContext, state vstate.VMWra
GasUsed: ret.GasUsed,
}
return mr, ret.ActorErr
return mr, nil
}
func (a *Applier) ApplyTipSetMessages(state vstate.VMWrapper, blocks []vtypes.BlockMessagesInfo, epoch abi.ChainEpoch, rnd vstate.RandomnessSource) ([]vtypes.MessageReceipt, error) {

View File

@ -4,8 +4,8 @@ import (
"context"
vstate "github.com/filecoin-project/chain-validation/state"
acrypto "github.com/filecoin-project/specs-actors/actors/crypto"
"github.com/filecoin-project/specs-actors/actors/abi"
acrypto "github.com/filecoin-project/specs-actors/actors/crypto"
)
type Factories struct {
@ -42,6 +42,6 @@ func (f *Factories) NewValidationConfig() vstate.ValidationConfig {
return &ValidationConfig{
trackGas: false,
checkExitCode: true,
checkReturnValue: true,
checkReturnValue: false,
}
}

2
go.mod
View File

@ -10,7 +10,7 @@ require (
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
github.com/coreos/go-systemd/v22 v22.0.0
github.com/docker/go-units v0.4.0
github.com/filecoin-project/chain-validation v0.0.6-0.20200227010210-ab4704e894ef
github.com/filecoin-project/chain-validation v0.0.6-0.20200228194851-673450a15bcc
github.com/filecoin-project/filecoin-ffi v0.0.0-20200226205820-4da0bccccefb
github.com/filecoin-project/go-address v0.0.2-0.20200218010043-eb9bb40ed5be
github.com/filecoin-project/go-amt-ipld/v2 v2.0.1-0.20200131012142-05d80eeccc5e

2
go.sum
View File

@ -102,6 +102,8 @@ github.com/filecoin-project/chain-validation v0.0.3 h1:luT/8kJ0WdMIqQ9Bm31W4JkuY
github.com/filecoin-project/chain-validation v0.0.3/go.mod h1:NCEGFjcWRjb8akWFSOXvU6n2efkWIqAeOKU6o5WBGQw=
github.com/filecoin-project/chain-validation v0.0.6-0.20200227010210-ab4704e894ef h1:w0MgTRX6laEPigNZ1veqwWDO7MAfIZsHf/l1F7ELXTk=
github.com/filecoin-project/chain-validation v0.0.6-0.20200227010210-ab4704e894ef/go.mod h1:yU+n6LWc6EiLxzrTJNwe8ATSPqG4jfIPsYU6yui7KXY=
github.com/filecoin-project/chain-validation v0.0.6-0.20200228194851-673450a15bcc h1:2GW4aGgX7E+bz2LrvE26IKt9gdXVtPj6lmwy1ueqnU0=
github.com/filecoin-project/chain-validation v0.0.6-0.20200228194851-673450a15bcc/go.mod h1:yU+n6LWc6EiLxzrTJNwe8ATSPqG4jfIPsYU6yui7KXY=
github.com/filecoin-project/go-address v0.0.0-20200107215422-da8eea2842b5 h1:/MmWluswvDIbuPvBct4q6HeQgVm62O2DzWYTB38kt4A=
github.com/filecoin-project/go-address v0.0.0-20200107215422-da8eea2842b5/go.mod h1:SAOwJoakQ8EPjwNIsiakIQKsoKdkcbx8U3IapgCg9R0=
github.com/filecoin-project/go-address v0.0.2-0.20200218010043-eb9bb40ed5be h1:TooKBwR/g8jG0hZ3lqe9S5sy2vTUcLOZLlz3M5wGn2E=