Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor test wdpost dispute test to use kit2 #6510

Merged
merged 3 commits into from
Jun 18, 2021

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented Jun 17, 2021

Depends on #6507

Fails with

evil miner stopped
2021-06-17T14:09:11.914+0200	WARN	vm	vm/runtime.go:350	Abortf: caller f0100 is not one of [f0102 f0102]
2021-06-17T14:09:11.914+0200	WARN	vm	vm/runtime.go:149	VM.Call failure: caller f0100 is not one of [f0102 f0102] (RetCode=8):
    github.com/filecoin-project/lotus/chain/vm.(*Runtime).ValidateImmediateCallerIs
        /Users/dirk/go/src/github.com/filecoin-project/lotus/chain/vm/runtime.go:342
2021-06-17T14:09:11.914+0200	WARN	vm	vm/vm.go:534	Send actor error	{"from": "f3qufp6kqbomg7g26yhacbvkdestrznwfiyfto2lsfdygfbwt6v7c5fct2aucrvxqn3cgmsqjz5xca4sktfhxa", "to": "f01001", "nonce": 0, "method": "5", "height": "5917", "error": "caller f0100 is not one of [f0102 f0102] (RetCode=8):\n    github.com/filecoin-project/lotus/chain/vm.(*Runtime).ValidateImmediateCallerIs\n        /Users/dirk/go/src/github.com/filecoin-project/lotus/chain/vm/runtime.go:342"}
    wdpost_dispute_test.go:144: 
        	Error Trace:	wdpost_dispute_test.go:144
        	Error:      	Received unexpected error:
        	            	GasEstimateMessageGas error:
        	            	    github.com/filecoin-project/lotus/node/impl/full.(*MpoolAPI).MpoolPushMessage
        	            	        /Users/dirk/go/src/github.com/filecoin-project/lotus/node/impl/full/mpool.go:159
        	            	  - estimating gas used:
        	            	    github.com/filecoin-project/lotus/node/impl/full.(*GasModule).GasEstimateMessageGas
        	            	        /Users/dirk/go/src/github.com/filecoin-project/lotus/node/impl/full/gas.go:329
        	            	  - message execution failed: exit SysErrForbidden(8), reason: caller f0100 is not one of [f0102 f0102] (RetCode=8):
        	            	    github.com/filecoin-project/lotus/node/impl/full.gasEstimateGasLimit
        	            	        /Users/dirk/go/src/github.com/filecoin-project/lotus/node/impl/full/gas.go:295
        	Test:       	TestWindowPostDispute
        	Messages:   	evil proof not accepted

@dirkmc dirkmc requested a review from raulk June 17, 2021 12:23
@dirkmc dirkmc force-pushed the refactor/itest-sector-terminate branch from ce538f0 to 6567887 Compare June 17, 2021 12:28
@dirkmc dirkmc force-pushed the refactor/itest-wdpost-dispute branch from 9931e56 to 3de6bea Compare June 17, 2021 12:32
Base automatically changed from refactor/itest-sector-terminate to raulk/itests-refactor-kit June 18, 2021 09:23
Copy link
Member

@raulk raulk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. We were using the wrong owner address when posting proofs to the miner actor.

@raulk raulk merged commit a8bf7e7 into raulk/itests-refactor-kit Jun 18, 2021
@raulk raulk deleted the refactor/itest-wdpost-dispute branch June 18, 2021 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants