Skip to content

Update PVM test vectors 64 bit #723

Update PVM test vectors 64 bit

Update PVM test vectors 64 bit #723

Triggered via pull request February 18, 2025 14:53
Status Failure
Total duration 1m 36s
Artifacts

go-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: internal/authorization/authorization.go#L72
type func(hostCall uint32, gasCounter polkavm.Gas, regs polkavm.Registers, mem polkavm.Memory, ctx EmptyContext) (polkavm.Gas, polkavm.Registers, polkavm.Memory, EmptyContext, error) of hostCall does not match polkavm.HostCall[X] (cannot infer X) (typecheck)
Lint: internal/refine/refine.go#L110
type func(hostCall uint32, gasCounter polkavm.Gas, regs polkavm.Registers, mem polkavm.Memory, ctxPair polkavm.RefineContextPair) (polkavm.Gas, polkavm.Registers, polkavm.Memory, polkavm.RefineContextPair, error) of hostCall does not match polkavm.HostCall[X] (cannot infer X) (typecheck)
Lint: internal/polkavm/host_call/accumulate_functions_test.go#L900
invalid operation: rwAddress + uint32(len(v)) (mismatched types uint64 and uint32) (typecheck)
Lint: internal/polkavm/host_call/general_functions_test.go#L12
could not import github.com/eigerco/strawberry/internal/polkavm/host_call (-: # github.com/eigerco/strawberry/internal/polkavm/host_call [github.com/eigerco/strawberry/internal/polkavm/host_call.test]
Lint: internal/polkavm/host_call/accumulate_functions_test.go#L900
invalid operation: rwAddress + uint32(len(v)) (mismatched types uint64 and uint32)) (typecheck)
Lint: internal/polkavm/host_call/refine_functions_test.go#L483
invalid operation: uDataBase + uint32(len(uData)) (mismatched types uint64 and uint32) (typecheck)
Lint: internal/polkavm/host_call/refine_functions_test.go#L549
cannot use uint32(s) (value of type uint32) as uint64 value in argument to mem.Write (typecheck)
Lint: internal/polkavm/host_call/refine_functions_test.go#L582
cannot use uint32(o) (value of type uint32) as uint64 value in argument to (&vm.Ram).Read (typecheck)
Lint: internal/polkavm/host_call/refine_functions_test.go#L612
cannot use uint32(addr) (value of type uint32) as uint64 value in argument to mem.Write (typecheck)
Lint: internal/polkavm/host_call/refine_functions_test.go#L636
cannot use uint32(addr) (value of type uint32) as uint64 value in argument to innerPVMRam.Read (typecheck)