Commit 944b2a06 authored by yann300's avatar yann300

fix mapping type

parent fe9a6076
...@@ -6,16 +6,20 @@ class Mapping extends RefType { ...@@ -6,16 +6,20 @@ class Mapping extends RefType {
super(1, 32, 'mapping') super(1, 32, 'mapping')
} }
decodeValue (value) {
return '<not implemented>'
}
decodeFromStorage (location, storageContent) { decodeFromStorage (location, storageContent) {
return '<not implemented>' return {
value: '<not implemented>',
length: '0x',
type: this.typeName
}
} }
decodeFromMemoryInternal (offset, memory) { decodeFromMemoryInternal (offset, memory) {
return '<not implemented>' return {
value: '<not implemented>',
length: '0x',
type: this.typeName
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment