Portal beacon: Remove unneeded and confusing (fork specific) imports (#2776)
This commit is contained in:
parent
0d4de335df
commit
3d31911f1d
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
{.push raises: [].}
|
{.push raises: [].}
|
||||||
|
|
||||||
import results, beacon_chain/spec/forks, beacon_chain/spec/datatypes/bellatrix
|
import results, beacon_chain/spec/forks
|
||||||
|
|
||||||
export results
|
export results
|
||||||
|
|
||||||
|
|
|
@ -15,12 +15,7 @@
|
||||||
|
|
||||||
{.push raises: [].}
|
{.push raises: [].}
|
||||||
|
|
||||||
import
|
import stew/arrayops, results, beacon_chain/spec/forks, ../../common/common_types
|
||||||
stew/arrayops,
|
|
||||||
results,
|
|
||||||
beacon_chain/spec/forks,
|
|
||||||
beacon_chain/spec/datatypes/capella,
|
|
||||||
../../common/common_types
|
|
||||||
|
|
||||||
export results
|
export results
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,6 @@ import
|
||||||
results,
|
results,
|
||||||
ssz_serialization,
|
ssz_serialization,
|
||||||
beacon_chain/db_limits,
|
beacon_chain/db_limits,
|
||||||
beacon_chain/spec/datatypes/[phase0, altair, bellatrix],
|
|
||||||
beacon_chain/spec/forks,
|
beacon_chain/spec/forks,
|
||||||
beacon_chain/spec/forks_light_client,
|
beacon_chain/spec/forks_light_client,
|
||||||
./beacon_content,
|
./beacon_content,
|
||||||
|
|
|
@ -11,7 +11,6 @@ import
|
||||||
chronicles,
|
chronicles,
|
||||||
beacon_chain/networking/network_metadata,
|
beacon_chain/networking/network_metadata,
|
||||||
beacon_chain/spec/forks,
|
beacon_chain/spec/forks,
|
||||||
beacon_chain/spec/datatypes/altair,
|
|
||||||
beacon_chain/beacon_clock,
|
beacon_chain/beacon_clock,
|
||||||
beacon_chain/conf
|
beacon_chain/conf
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ import
|
||||||
chronicles,
|
chronicles,
|
||||||
eth/p2p/discoveryv5/random2,
|
eth/p2p/discoveryv5/random2,
|
||||||
beacon_chain/gossip_processing/light_client_processor,
|
beacon_chain/gossip_processing/light_client_processor,
|
||||||
beacon_chain/spec/datatypes/altair,
|
|
||||||
beacon_chain/beacon_clock,
|
beacon_chain/beacon_clock,
|
||||||
"."/[beacon_init_loader, beacon_network, beacon_light_client_manager]
|
"."/[beacon_init_loader, beacon_network, beacon_light_client_manager]
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,7 @@ import
|
||||||
stew/base10,
|
stew/base10,
|
||||||
results,
|
results,
|
||||||
eth/p2p/discoveryv5/random2,
|
eth/p2p/discoveryv5/random2,
|
||||||
beacon_chain/spec/datatypes/[phase0, altair, bellatrix, capella, deneb, electra],
|
beacon_chain/spec/[forks, forks_light_client, digest],
|
||||||
beacon_chain/spec/[forks_light_client, digest],
|
|
||||||
beacon_chain/beacon_clock,
|
beacon_chain/beacon_clock,
|
||||||
beacon_chain/sync/light_client_sync_helpers,
|
beacon_chain/sync/light_client_sync_helpers,
|
||||||
"."/[beacon_network, beacon_content, beacon_db]
|
"."/[beacon_network, beacon_content, beacon_db]
|
||||||
|
|
|
@ -14,7 +14,6 @@ import
|
||||||
results,
|
results,
|
||||||
beacon_chain/networking/network_metadata,
|
beacon_chain/networking/network_metadata,
|
||||||
beacon_chain/spec/forks,
|
beacon_chain/spec/forks,
|
||||||
beacon_chain/spec/datatypes/altair,
|
|
||||||
../../network/beacon/beacon_content,
|
../../network/beacon/beacon_content,
|
||||||
../../eth_data/yaml_utils,
|
../../eth_data/yaml_utils,
|
||||||
"."/light_client_test_data
|
"."/light_client_test_data
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
import
|
import
|
||||||
unittest2,
|
unittest2,
|
||||||
beacon_chain/spec/forks,
|
beacon_chain/spec/forks,
|
||||||
beacon_chain/spec/datatypes/bellatrix,
|
|
||||||
# Test helpers
|
# Test helpers
|
||||||
beacon_chain /../ tests/testblockutil,
|
beacon_chain /../ tests/testblockutil,
|
||||||
beacon_chain /../ tests/mocking/mock_genesis,
|
beacon_chain /../ tests/mocking/mock_genesis,
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
import
|
import
|
||||||
unittest2,
|
unittest2,
|
||||||
beacon_chain/spec/forks,
|
beacon_chain/spec/forks,
|
||||||
beacon_chain/spec/datatypes/capella,
|
|
||||||
# Test helpers
|
# Test helpers
|
||||||
beacon_chain /../ tests/testblockutil,
|
beacon_chain /../ tests/testblockutil,
|
||||||
beacon_chain /../ tests/mocking/mock_genesis,
|
beacon_chain /../ tests/mocking/mock_genesis,
|
||||||
|
|
|
@ -12,7 +12,6 @@ import
|
||||||
chronos,
|
chronos,
|
||||||
eth/p2p/discoveryv5/protocol as discv5_protocol,
|
eth/p2p/discoveryv5/protocol as discv5_protocol,
|
||||||
beacon_chain/spec/forks,
|
beacon_chain/spec/forks,
|
||||||
beacon_chain/spec/datatypes/altair,
|
|
||||||
beacon_chain/spec/helpers,
|
beacon_chain/spec/helpers,
|
||||||
../../network/wire/[portal_protocol, portal_stream],
|
../../network/wire/[portal_protocol, portal_stream],
|
||||||
../../network/beacon/[beacon_init_loader, beacon_light_client],
|
../../network/beacon/[beacon_init_loader, beacon_light_client],
|
||||||
|
|
|
@ -10,7 +10,6 @@ import
|
||||||
chronos,
|
chronos,
|
||||||
eth/p2p/discoveryv5/protocol as discv5_protocol,
|
eth/p2p/discoveryv5/protocol as discv5_protocol,
|
||||||
beacon_chain/spec/forks,
|
beacon_chain/spec/forks,
|
||||||
beacon_chain/spec/datatypes/altair,
|
|
||||||
# Test helpers
|
# Test helpers
|
||||||
beacon_chain /../ tests/testblockutil,
|
beacon_chain /../ tests/testblockutil,
|
||||||
beacon_chain /../ tests/mocking/mock_genesis,
|
beacon_chain /../ tests/mocking/mock_genesis,
|
||||||
|
|
Loading…
Reference in New Issue