fix(gnovm): Fix panic when calling len()
/cap()
on pointer array
#2709
68.18% of diff hit (target 60.15%)
View this Pull Request on Codecov
68.18% of diff hit (target 60.15%)
Annotations
Check warning on line 2139 in gnovm/pkg/gnolang/values.go
codecov / codecov/patch
gnovm/pkg/gnolang/values.go#L2139
Added line #L2139 was not covered by tests
Check warning on line 2161 in gnovm/pkg/gnolang/values.go
codecov / codecov/patch
gnovm/pkg/gnolang/values.go#L2161
Added line #L2161 was not covered by tests
Check warning on line 2173 in gnovm/pkg/gnolang/values.go
codecov / codecov/patch
gnovm/pkg/gnolang/values.go#L2173
Added line #L2173 was not covered by tests
Check warning on line 2182 in gnovm/pkg/gnolang/values.go
codecov / codecov/patch
gnovm/pkg/gnolang/values.go#L2180-L2182
Added lines #L2180 - L2182 were not covered by tests
Check warning on line 2198 in gnovm/pkg/gnolang/values.go
codecov / codecov/patch
gnovm/pkg/gnolang/values.go#L2198
Added line #L2198 was not covered by tests