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

Crash in mandos tests #521

Open
dan-merlea opened this issue Feb 23, 2022 · 0 comments
Open

Crash in mandos tests #521

dan-merlea opened this issue Feb 23, 2022 · 0 comments

Comments

@dan-merlea
Copy link

Scenario: mandos/buy.scen.json ... FAIL: unexpected log. Tx purchase-nft. Log index: 0. Log:{
"address": "address:buyer",
"endpoint": "str:internalVMErrors",
"topics": [
"00000000000000006e66742d737761705f5f5f5f5f5f5f5f5f5f5f5f5f5f5f5f",
"7075726368617365"
],
"data": "0a092f55736572732f6d65726c65612f656c726f6e6473646b2f766d746f6f6c732f76312e342e34322f7761736d2d766d2d312e342e34322f617277656e2f636f6e74657874732f72756e74696d652e676f3a31303233205b6572726f72207369676e616c6c656420627920736d617274636f6e74726163745d205b70757263686173655d0a092f55736572732f6d65726c65612f656c726f6e6473646b2f766d746f6f6c732f76312e342e34322f7761736d2d766d2d312e342e34322f617277656e2f636f6e74657874732f72756e74696d652e676f3a31303233205b6572726f72207369676e616c6c656420627920736d617274636f6e74726163745d0a092f55736572732f6d65726c65612f656c726f6e6473646b2f766d746f6f6c732f76312e342e34322f7761736d2d766d2d312e342e34322f617277656e2f636f6e74657874732f72756e74696d652e676f3a31303230205b4e6f7420656e6f75676820737570706c792e5d"
}

Decoded:
/Users/me/elrondsdk/vmtools/v1.4.42/wasm-vm-1.4.42/arwen/contexts/runtime.go:1023 [error signalled by smartcontract] [purchase]
/Users/me/elrondsdk/vmtools/v1.4.42/wasm-vm-1.4.42/arwen/contexts/runtime.go:1023 [error signalled by smartcontract]
/Users/me/elrondsdk/vmtools/v1.4.42/wasm-vm-1.4.42/arwen/contexts/runtime.go:1020 [Not enough supply.]

{
        "step": "scCall",
        "txId": "purchase-nft",
        "tx": {
            "from": "address:buyer",
            "to": "sc:nft-swap",
            "function": "purchase",
			"value": "300",
            "arguments": [
                "1",
				"300"
            ],
            "gasLimit": "20,000,000",
            "gasPrice": "0"
        },
        "expect": {
            "out": [],
            "status": "4",
            "message": "str:Not enough supply.",
            "gas": "*",
            "refund": "*",
			"logs": []
        }
    },
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

No branches or pull requests

1 participant