Skip to content

chore(core/types): remove Blocks's Timestamp() method #3063

chore(core/types): remove Blocks's Timestamp() method

chore(core/types): remove Blocks's Timestamp() method #3063

Triggered via pull request January 16, 2025 15:55
Status Failure
Total duration 18m 28s
Artifacts

ci.yml

on: pull_request
Matrix: avalanchego_e2e
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 2 warnings
Lint: core/vm/analysis.go#L1
: # github.com/ava-labs/coreth/core/vm [github.com/ava-labs/coreth/core/vm.test]
Lint: core/vm/contracts_stateful_test.go#L77
unknown field Time in struct literal of type BlockContext (typecheck)
Lint: core/vm/runtime/doc.go#L1
: # github.com/ava-labs/coreth/core/vm/runtime [github.com/ava-labs/coreth/core/vm/runtime.test]
Lint: core/vm/runtime/env.go#L49
unknown field Time in struct literal of type "github.com/ava-labs/coreth/core/vm".BlockContext
Lint: core/vm/runtime/runtime.go#L138
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Lint: core/vm/runtime/runtime.go#L172
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Lint: core/vm/runtime/runtime.go#L201
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules (typecheck)
Lint: core/vm/runtime/runtime_example_test.go#L32
could not import github.com/ava-labs/coreth/core/vm/runtime (-: # github.com/ava-labs/coreth/core/vm/runtime [github.com/ava-labs/coreth/core/vm/runtime.test]
Lint: core/vm/runtime/env.go#L49
unknown field Time in struct literal of type "github.com/ava-labs/coreth/core/vm".BlockContext
Lint: core/vm/runtime/runtime.go#L138
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (ubuntu-20.04): core/vm/contracts_stateful_test.go#L77
unknown field Time in struct literal of type BlockContext
Golang Unit Tests (ubuntu-20.04): core/vm/runtime/env.go#L49
unknown field Time in struct literal of type "github.com/ava-labs/coreth/core/vm".BlockContext
Golang Unit Tests (ubuntu-20.04): core/vm/runtime/runtime.go#L138
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (ubuntu-20.04): core/vm/runtime/runtime.go#L172
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (ubuntu-20.04): core/vm/runtime/runtime.go#L201
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (ubuntu-20.04): eth/tracers/tracers_test.go#L69
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (ubuntu-20.04): eth/tracers/internal/tracetest/calltrace_test.go#L143
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (ubuntu-20.04): eth/tracers/internal/tracetest/calltrace_test.go#L242
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (ubuntu-20.04): eth/tracers/internal/tracetest/calltrace_test.go#L287
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (ubuntu-20.04): eth/tracers/internal/tracetest/flat_calltrace_test.go#L103
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (ubuntu-latest): core/vm/contracts_stateful_test.go#L77
unknown field Time in struct literal of type BlockContext
Golang Unit Tests (ubuntu-latest): core/vm/runtime/env.go#L49
unknown field Time in struct literal of type "github.com/ava-labs/coreth/core/vm".BlockContext
Golang Unit Tests (ubuntu-latest): core/vm/runtime/runtime.go#L138
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (ubuntu-latest): core/vm/runtime/runtime.go#L172
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (ubuntu-latest): core/vm/runtime/runtime.go#L201
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (ubuntu-latest): eth/tracers/tracers_test.go#L69
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (ubuntu-latest): eth/tracers/internal/tracetest/calltrace_test.go#L143
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (ubuntu-latest): eth/tracers/internal/tracetest/calltrace_test.go#L242
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (ubuntu-latest): eth/tracers/internal/tracetest/calltrace_test.go#L287
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (ubuntu-latest): eth/tracers/internal/tracetest/flat_calltrace_test.go#L103
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (macos-latest): core/vm/contracts_stateful_test.go#L77
unknown field Time in struct literal of type BlockContext
Golang Unit Tests (macos-latest): core/vm/runtime/env.go#L49
unknown field Time in struct literal of type "github.com/ava-labs/coreth/core/vm".BlockContext
Golang Unit Tests (macos-latest): core/vm/runtime/runtime.go#L138
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (macos-latest): core/vm/runtime/runtime.go#L172
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (macos-latest): core/vm/runtime/runtime.go#L201
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (macos-latest): eth/tracers/tracers_test.go#L69
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (macos-latest): eth/tracers/internal/tracetest/calltrace_test.go#L143
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (macos-latest): eth/tracers/internal/tracetest/calltrace_test.go#L242
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (macos-latest): eth/tracers/internal/tracetest/calltrace_test.go#L287
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (macos-latest): eth/tracers/internal/tracetest/flat_calltrace_test.go#L103
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (windows-latest): core/vm/contracts_stateful_test.go#L77
unknown field Time in struct literal of type BlockContext
Golang Unit Tests (windows-latest): core/vm/runtime/env.go#L49
unknown field Time in struct literal of type "github.com/ava-labs/coreth/core/vm".BlockContext
Golang Unit Tests (windows-latest): core/vm/runtime/runtime.go#L138
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (windows-latest): core/vm/runtime/runtime.go#L172
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (windows-latest): core/vm/runtime/runtime.go#L201
cannot use vmenv.Context.Time (value of type func() uint64) as uint64 value in argument to cfg.ChainConfig.Rules
Golang Unit Tests (windows-latest): eth/tracers/tracers_test.go#L69
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (windows-latest): eth/tracers/internal/tracetest/calltrace_test.go#L143
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (windows-latest): eth/tracers/internal/tracetest/calltrace_test.go#L242
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (windows-latest): eth/tracers/internal/tracetest/calltrace_test.go#L287
unknown field Time in struct literal of type vm.BlockContext
Golang Unit Tests (windows-latest): eth/tracers/internal/tracetest/flat_calltrace_test.go#L103
unknown field Time in struct literal of type vm.BlockContext
AvalancheGo E2E Tests (ubuntu-20.04)
No files were found with the provided path: ~/.tmpnet/networks/1000. No artifacts will be uploaded.
Golang Unit Tests (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636