aptos-labs / aptos-dotnet-sdk

Aptos C#/.NET SDK for building Web3 applications
https://aptos.dev/en/build/sdks/dotnet-sdk
Apache License 2.0
1 stars 0 forks source link

[Bug] ABI Parsing Error #5

Closed actin closed 1 week ago

actin commented 1 week ago

🐛 Bug Description

How to reproduce

Aptos.Exceptions.TypeTagParserException: 'Failed to parse TypeTag 'vector', vector type expected to have exactly one type argument'

Move Contract function

    public entry fun mint_to(
        creator: &signer,
        collection: String,
        description: String,
        name: String,
        uri: String,
        category: String,
        type: String,
        rarity: String,
        property_keys: vector<String>,
        property_types: vector<String>,
        property_values: vector<vector<u8>>,
        to: address,
    ) acquires CrimeChaseCollection, CrimeChaseToken, CrimeChaseSubCollection {
        // it is only permmited for package publisher
        assert!(is_authorized(creator), ENOT_AUTHORIZED);

        let token = mint_token_object(creator, collection, description, name, uri, category, type, rarity, property_keys, property_types, property_values);
        object::transfer(creator, token, to);        
    }

Stack trace / error message image

image

System information

System details:

GhostWalker562 commented 1 week ago

Fixed in v0.0.5-beta