diff --git a/vm/vm.go b/vm/vm.go index 3d87b73bc5..ff077f8425 100644 --- a/vm/vm.go +++ b/vm/vm.go @@ -210,7 +210,7 @@ func (v *vm) Execute(txns []core.Transaction, declaredClasses []core.Class, bloc } daGasPriceFRIBytes := daGasPriceFRI.Bytes() - if gasPriceWEI.IsZero() { + if gasPriceWEI.IsZero() || gasPriceSTRK.IsZero() || daGasPriceWEI.IsZero() || daGasPriceFRI.IsZero() { return nil, nil, errors.New("gas prices must be non-zero") } fmt.Println("gasPriceWEIBytes", gasPriceWEIBytes, gasPriceWEI.String())