Skip to content

Conversation

@ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Mar 14, 2025

Why this should be merged

Complete the transition of core/types to upstream code.

How this works

Note that #872 results in all upstream types / vars / consts being in the imports.go file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

  1. Globally change all imports from coreth/core/types to libevm/core/types;
  2. Rename all coreth/core/types imports to customtypes for ease of review here;
  3. Dot import libevm/core/types in tests only to avoid hundreds of noisy changes.

Note

This is part of a chain of PRs and will have its base changed once #872 is merged. The chain is split so that each one is "obviously" correct. I will not consider any review changes that deviate from this simplicity—if this is an issue, please explain why and add a "Do not merge" label.

How this was tested

CI of existing tests.

Need to be documented?

No

Need to update RELEASES.md?

No

@ARR4N ARR4N marked this pull request as ready for review March 14, 2025 11:54
@ARR4N ARR4N requested review from a team, ceyonur and darioush as code owners March 14, 2025 11:54
Base automatically changed from arr4n/remove-libevm-type-identities to libevm March 14, 2025 15:05
@ARR4N ARR4N enabled auto-merge (squash) March 14, 2025 18:05
@ARR4N ARR4N merged commit 197a784 into libevm Mar 14, 2025
6 checks passed
@ARR4N ARR4N deleted the arr4n/upstream-core-types branch March 14, 2025 18:14
qdm12 pushed a commit to ava-labs/subnet-evm that referenced this pull request Mar 19, 2025
Complete the transition of `core/types` to upstream code.

Note that the previous commit results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `subnet-evm/core/types` to `libevm/core/types`;
2. Rename all `subnet-evm/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.

See original PR ava-labs/coreth#875
qdm12 pushed a commit to ava-labs/subnet-evm that referenced this pull request Mar 19, 2025
Complete the transition of `core/types` to upstream code.

Note that the previous commit results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `subnet-evm/core/types` to `libevm/core/types`;
2. Rename all `subnet-evm/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.

See original PR ava-labs/coreth#875
qdm12 pushed a commit to ava-labs/subnet-evm that referenced this pull request Mar 21, 2025
Complete the transition of `core/types` to upstream code.

Note that the previous commit results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `subnet-evm/core/types` to `libevm/core/types`;
2. Rename all `subnet-evm/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.

See original PR ava-labs/coreth#875
qdm12 pushed a commit to ava-labs/subnet-evm that referenced this pull request Mar 21, 2025
Complete the transition of `core/types` to upstream code.

Note that the previous commit results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `subnet-evm/core/types` to `libevm/core/types`;
2. Rename all `subnet-evm/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.

See original PR ava-labs/coreth#875
qdm12 pushed a commit that referenced this pull request Mar 24, 2025
## Why this should be merged

Complete the transition of `core/types` to upstream code.

## How this works

Note that #872 results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `coreth/core/types` to `libevm/core/types`;
2. Rename all `coreth/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.
qdm12 pushed a commit to ava-labs/subnet-evm that referenced this pull request Mar 24, 2025
Complete the transition of `core/types` to upstream code.

Note that the previous commit results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `subnet-evm/core/types` to `libevm/core/types`;
2. Rename all `subnet-evm/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.

See original PR ava-labs/coreth#875
qdm12 pushed a commit to ava-labs/subnet-evm that referenced this pull request Mar 24, 2025
Complete the transition of `core/types` to upstream code.

Note that the previous commit results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `subnet-evm/core/types` to `libevm/core/types`;
2. Rename all `subnet-evm/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.

See original PR ava-labs/coreth#875
qdm12 pushed a commit that referenced this pull request Mar 24, 2025
## Why this should be merged

Complete the transition of `core/types` to upstream code.

## How this works

Note that #872 results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `coreth/core/types` to `libevm/core/types`;
2. Rename all `coreth/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.
qdm12 pushed a commit to ava-labs/subnet-evm that referenced this pull request Mar 24, 2025
Complete the transition of `core/types` to upstream code.

Note that the previous commit results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `subnet-evm/core/types` to `libevm/core/types`;
2. Rename all `subnet-evm/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.

See original PR ava-labs/coreth#875
qdm12 pushed a commit to ava-labs/subnet-evm that referenced this pull request Mar 28, 2025
Complete the transition of `core/types` to upstream code.

Note that the previous commit results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `subnet-evm/core/types` to `libevm/core/types`;
2. Rename all `subnet-evm/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.

See original PR ava-labs/coreth#875
qdm12 pushed a commit to ava-labs/subnet-evm that referenced this pull request Apr 1, 2025
Complete the transition of `core/types` to upstream code.

Note that the previous commit results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `subnet-evm/core/types` to `libevm/core/types`;
2. Rename all `subnet-evm/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.

See original PR ava-labs/coreth#875
node-druidx56y added a commit to node-druidx56y/subnet-evm that referenced this pull request Sep 28, 2025
Complete the transition of `core/types` to upstream code.

Note that the previous commit results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.

1. Globally change all imports from `subnet-evm/core/types` to `libevm/core/types`;
2. Rename all `subnet-evm/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.

See original PR ava-labs/coreth#875
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants