3838 IsModule : true ,
3939 ModuleError : ModuleError {
4040 Index : 4 ,
41- Error : 5 ,
41+ Error : [ 4 ] U8 { 5 , 0 , 0 , 0 } ,
4242 },
4343 }
4444 testDispatchError5 = DispatchError {
@@ -163,7 +163,7 @@ func TestDispatchError_Encode(t *testing.T) {
163163 {testDispatchError1 , MustHexDecodeString ("0x00" )},
164164 {testDispatchError2 , MustHexDecodeString ("0x01" )},
165165 {testDispatchError3 , MustHexDecodeString ("0x02" )},
166- {testDispatchError4 , MustHexDecodeString ("0x030405 " )},
166+ {testDispatchError4 , MustHexDecodeString ("0x030405000000 " )},
167167 {testDispatchError5 , MustHexDecodeString ("0x04" )},
168168 {testDispatchError6 , MustHexDecodeString ("0x05" )},
169169 {testDispatchError7 , MustHexDecodeString ("0x06" )},
@@ -178,7 +178,7 @@ func TestDispatchError_Decode(t *testing.T) {
178178 {MustHexDecodeString ("0x00" ), testDispatchError1 },
179179 {MustHexDecodeString ("0x01" ), testDispatchError2 },
180180 {MustHexDecodeString ("0x02" ), testDispatchError3 },
181- {MustHexDecodeString ("0x030405 " ), testDispatchError4 },
181+ {MustHexDecodeString ("0x030405000000 " ), testDispatchError4 },
182182 {MustHexDecodeString ("0x04" ), testDispatchError5 },
183183 {MustHexDecodeString ("0x05" ), testDispatchError6 },
184184 {MustHexDecodeString ("0x06" ), testDispatchError7 },
0 commit comments