bitxhub icon indicating copy to clipboard operation
bitxhub copied to clipboard

Register rule with unexisted contract address should fail, but not.

Open 0xtresser opened this issue 5 years ago • 0 comments

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. What did you do?

Register rule with unexisted contract address

2. What did you expect to see?

The receipt of the tx should be Receipt_FAILED.

3. What did you see instead?

The receipt of the tx should is Receipt_SUCCESS.

=== RUN   TestTester/TestRegisterUnexistedWasmRuleShouldFail
    TestTester/TestRegisterUnexistedWasmRuleShouldFail: case008_rule_test.go:90: 
                Error Trace:    case008_rule_test.go:90
                Error:          Expected value not to be nil.
                Test:           TestTester/TestRegisterUnexistedWasmRuleShouldFail
    TestTester/TestRegisterUnexistedWasmRuleShouldFail: case008_rule_test.go:91: 
                Error Trace:    case008_rule_test.go:91
                Error:          Should be true
                Test:           TestTester/TestRegisterUnexistedWasmRuleShouldFail

4. What version of BitXHub are you using? (bitxhub version on BitXHub)

BitXHub version: 1.0.0-rc1-master-7a00eb3
App build date: 2020-07-27T14:05:37
System version: darwin/amd64
Golang version: go1.14.4

0xtresser avatar Jul 27 '20 06:07 0xtresser