diff --git a/src/solidity/types/Mapping.js b/src/solidity/types/Mapping.js index ed5194c9cf..66a848fefb 100644 --- a/src/solidity/types/Mapping.js +++ b/src/solidity/types/Mapping.js @@ -6,16 +6,20 @@ class Mapping extends RefType { super(1, 32, 'mapping') } - decodeValue (value) { - return '' - } - decodeFromStorage (location, storageContent) { - return '' + return { + value: '', + length: '0x', + type: this.typeName + } } decodeFromMemoryInternal (offset, memory) { - return '' + return { + value: '', + length: '0x', + type: this.typeName + } } }