Skip to content

Crash in mandos tests #521

@dan-merlea

Description

@dan-merlea

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": []
        }
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions