Commit 56efcc6b authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #182 from ethereum/fixmapping

Fix mapping
parents fe9a6076 67649832
...@@ -3,19 +3,23 @@ var RefType = require('./RefType') ...@@ -3,19 +3,23 @@ var RefType = require('./RefType')
class Mapping extends RefType { class Mapping extends RefType {
constructor () { constructor () {
super(1, 32, 'mapping') super(1, 32, 'mapping', 'storage')
}
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