@@ -92,7 +92,7 @@ func TestAccumulatorProofAPI_Basic(t *testing.T) {
9292 storage .SetStorageValue (address , storageKey , storageValue )
9393
9494 // Add some data to accumulator for height 100
95- fullKey := append (address , storageKey ... )
95+ fullKey := append (append ([] byte ( nil ), address ... ) , storageKey ... )
9696 changeset := AccumulatorChangeset {
9797 Version : 100 ,
9898 Entries : []AccumulatorKVPair {
@@ -153,7 +153,7 @@ func TestAccumulatorProofAPI_GetProof(t *testing.T) {
153153 storage .SetStorageValue (address , storageKey , storageValue )
154154
155155 // Add data to accumulator
156- fullKey := append (address , storageKey ... )
156+ fullKey := append (append ([] byte ( nil ), address ... ) , storageKey ... )
157157 changeset := AccumulatorChangeset {
158158 Version : 200 ,
159159 Entries : []AccumulatorKVPair {
@@ -259,7 +259,7 @@ func TestAccumulatorProofAPI_VerifyProof(t *testing.T) {
259259 storage .SetStorageValue (address , storageKey , storageValue )
260260
261261 // Add data to accumulator
262- fullKey := append (address , storageKey ... )
262+ fullKey := append (append ([] byte ( nil ), address ... ) , storageKey ... )
263263 changeset := AccumulatorChangeset {
264264 Version : 300 ,
265265 Entries : []AccumulatorKVPair {
0 commit comments