diff --git a/packages/transactions/src/contract-abi.ts b/packages/transactions/src/contract-abi.ts index 541b2c703..3bc014277 100644 --- a/packages/transactions/src/contract-abi.ts +++ b/packages/transactions/src/contract-abi.ts @@ -245,14 +245,8 @@ export interface ClarityAbiVariable { export interface ClarityAbiMap { name: string; - key: { - name: string; - type: ClarityAbiType; - }[]; - value: { - name: string; - type: ClarityAbiType; - }[]; + key: ClarityAbiType; + value: ClarityAbiType; } export interface ClarityAbiTypeFungibleToken { diff --git a/packages/transactions/tests/abi/kv-store-abi.json b/packages/transactions/tests/abi/kv-store-abi.json index 4a2858e5b..e80e20f9a 100644 --- a/packages/transactions/tests/abi/kv-store-abi.json +++ b/packages/transactions/tests/abi/kv-store-abi.json @@ -22,8 +22,8 @@ "maps": [ { "name": "store", - "key": [{ "name": "key", "type": { "buffer": { "length": 3 } } }], - "value": [{ "name": "value", "type": { "buffer": { "length": 3 } } }] + "key": { "buffer": { "length": 3 } }, + "value": { "buffer": { "length": 3 } } } ], "fungible_tokens": [],