Repository: filecoin-project/lotus

Issue #4054: VM.Call failure: not enough gas
Created: 2020-09-26T23:15:51Z
Describe the bug
From the log, there is no enough gas, but here are my balance as following:
v0.8.0
Miner Balance: 73.859615107504443147 FIL
	PreCommit:   0 FIL
	Pledge:      71.213413791060755611 FIL
	Vesting:     0 FIL
	Available:   2.646201316443687536 FIL
Worker Balance: 2.694986736720302114 FIL
Market (Escrow):  0.000010129179402975 FIL
Market (Locked):  0 FIL


Here are logs:
2020-09-26T23:08:30.060Z	INFO	sub	sub/incoming.go:82	new block over pubsub	{"cid": "bafy2bzacecwevkb4qkj2fhppwfyaotgaljxkey3jeegkmxvx3sw4yl4phurfm", "source": "12D3KooWDg3sfFnHAvECwZSSVQ3WEBjDrwXkC1gEgS7a4TF7JC9w", "msgfetch": 0.002016564}
2020-09-26T23:08:30.199Z	INFO	chain	chain/sync.go:704	block validation	{"took": 0.047721632, "height": "95177", "age": 0.199682198}
2020-09-26T23:08:30.200Z	INFO	chainstore	store/store.go:417	New heaviest tipset! [bafy2bzacecwevkb4qkj2fhppwfyaotgaljxkey3jeegkmxvx3sw4yl4phurfm] (height=95177)
2020-09-26T23:08:30.215Z	INFO	sub	sub/incoming.go:82	new block over pubsub	{"cid": "bafy2bzacea7jirzqgey3ei6dcq3cbigflzp4izgosq2et5ttvpooxpza7pghu", "source": "12D3KooWBb71p9zb2JnBqZwXorF6z4fdBnA27wzzxjp4kuvM8f6M", "msgfetch": 0.00551598}
2020-09-26T23:08:30.531Z	INFO	chain	chain/sync.go:704	block validation	{"took": 0.12571316, "height": "95177", "age": 0.531823055}
2020-09-26T23:08:30.533Z	INFO	chainstore	store/store.go:417	New heaviest tipset! [bafy2bzacecwevkb4qkj2fhppwfyaotgaljxkey3jeegkmxvx3sw4yl4phurfm bafy2bzacea7jirzqgey3ei6dcq3cbigflzp4izgosq2et5ttvpooxpza7pghu] (height=95177)
2020-09-26T23:08:32.484Z	WARN	vm	vm/runtime.go:119	VM.Call failure: not enough gas: used=51062908, available=51062908 (RetCode=7):
    github.com/filecoin-project/lotus/chain/vm.(*Runtime).chargeGasInternal
        /home/test/storage/lotus/chain/vm/runtime.go:524
2020-09-26T23:08:32.484Z	WARN	vm	vm/runtime.go:338	vmctx send failed: to: t04, method: 8: ret: [], err: not enough gas: used=51062908, available=51062908 (RetCode=7)
2020-09-26T23:08:32.484Z	WARN	vm	vm/runtime.go:294	Abortf: failed to submit proof for bulk verification
2020-09-26T23:08:32.484Z	WARN	vm	vm/runtime.go:119	VM.Call failure: failed to submit proof for bulk verification (RetCode=7):
    github.com/filecoin-project/specs-actors/actors/builtin.RequireSuccess
        /home/test/go/pkg/mod/github.com/filecoin-project/specs-actors@v0.9.11/actors/builtin/shared.go:26
2020-09-26T23:08:32.484Z	WARN	vm	vm/vm.go:465	Send actor error	{"from": "t3wcfa5vw7t54rilkeee63x4w6fhytjznk4ywaxjrbr5g5cxogvvrgllwcjtgd4hd5uask7ulzpq4qhk45pu7q", "to": "t02770", "nonce": 939821, "method": "7", "height": "95177", "error": "failed to submit proof for bulk verification (RetCode=7):\n    github.com/filecoin-project/specs-actors/actors/builtin.RequireSuccess\n        /home/test/go/pkg/mod/github.com/filecoin-project/specs-actors@v0.9.11/actors/builtin/shared.go:26"}
2020-09-26T23:08:32.493Z	WARN	vm	vm/runtime.go:119	VM.Call failure: not enough gas: used=53771961, available=53771961 (RetCode=7):
    github.com/filecoin-project/lotus/chain/vm.(*Runtime).chargeGasInternal
        /home/test/storage/lotus/chain/vm/runtime.go:524
2020-09-26T23:08:32.493Z	WARN	vm	vm/runtime.go:338	vmctx send failed: to: t04, method: 8: ret: [], err: not enough gas: used=53771961, available=53771961 (RetCode=7)
2020-09-26T23:08:32.493Z	WARN	vm	vm/runtime.go:294	Abortf: failed to submit proof for bulk verification
2020-09-26T23:08:32.493Z	WARN	vm	vm/runtime.go:119	VM.Call failure: failed to submit proof for bulk verification (RetCode=7):
    github.com/filecoin-project/specs-actors/actors/builtin.RequireSuccess

To Reproduce
Steps to reproduce the behavior:

Run '...'
See error

Expected behavior
no warning/error
Screenshots
If applicable, add screenshots to help explain your problem.
Version (run lotus version):
v0.8.0
Additional context
Add any other context about the problem here.

Duplicate issue #3983: failed to submit proof for bulk verification
Created: 2020-09-24T06:21:11Z
Describe the bug
In lotus daemon output, there are errors like following:
2020-09-22T02:58:41.271Z	WARN	vm	vm/vm.go:459	Send actor error	{"from": "t3rbdiirw4mw2esqtzlnxgyguqc5abd57lqcnujogdc6u4st65qtnpmrjaysg3vuot73lv5hr6arlm45m3y5rq", "to": "t016398", "nonce": 322149, "method": "7", "height": "81237", "error": "failed to submit proof for bulk verification (RetCode=7):\n    github.com/filecoin-project/specs-actors/actors/builtin.RequireSuccess\n        /home/test/go/pkg/mod/github.com/filecoin-project/specs-actors@v0.9.10/actors/builtin/shared.go:26"}

To Reproduce
Steps to reproduce the behavior:

check the output from lotus daemon
See error

Expected behavior
There is no such error.
Screenshots
If applicable, add screenshots to help explain your problem.
Version (run lotus version):
v0.7.1
Additional context
There are many same issues from Slack, please help.

Closing comment (2020-09-28T23:58:52Z): duplicate #4054