Merge pull request #49 from vulcanize/vdb-435-update-indexes

Update storage mapping indexes to hex values
This commit is contained in:
Elizabeth 2019-03-27 13:20:45 -05:00 committed by GitHub
commit 3bf6e84862

View File

@ -42,8 +42,8 @@ const (
IndexSeven = "0000000000000000000000000000000000000000000000000000000000000007" IndexSeven = "0000000000000000000000000000000000000000000000000000000000000007"
IndexEight = "0000000000000000000000000000000000000000000000000000000000000008" IndexEight = "0000000000000000000000000000000000000000000000000000000000000008"
IndexNine = "0000000000000000000000000000000000000000000000000000000000000009" IndexNine = "0000000000000000000000000000000000000000000000000000000000000009"
IndexTen = "0000000000000000000000000000000000000000000000000000000000000010" IndexTen = "000000000000000000000000000000000000000000000000000000000000000a"
IndexEleven = "0000000000000000000000000000000000000000000000000000000000000011 " IndexEleven = "000000000000000000000000000000000000000000000000000000000000000b"
) )
func GetMapping(indexOnContract, key string) common.Hash { func GetMapping(indexOnContract, key string) common.Hash {