From b49bba3621af60a36f7b909e5328dd3295e75c98 Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Wed, 18 Sep 2024 09:14:52 -0500 Subject: [PATCH] gaz --- api/db/BUILD.bazel | 2 +- assertions/BUILD.bazel | 2 +- chain-abstraction/sol-implementation/BUILD.bazel | 2 +- challenge-manager/BUILD.bazel | 2 +- challenge-manager/chain-watcher/BUILD.bazel | 2 +- challenge-manager/challenge-tree/BUILD.bazel | 2 +- containers/BUILD.bazel | 2 +- containers/events/BUILD.bazel | 2 +- containers/fsm/BUILD.bazel | 2 +- containers/threadsafe/BUILD.bazel | 2 +- layer2-state-provider/BUILD.bazel | 2 +- math/BUILD.bazel | 2 +- runtime/BUILD.bazel | 2 +- state-commitments/history/BUILD.bazel | 2 +- state-commitments/inclusion-proofs/BUILD.bazel | 2 +- state-commitments/optimized/BUILD.bazel | 5 +---- state-commitments/prefix-proofs/BUILD.bazel | 2 +- testing/mocks/state-provider/BUILD.bazel | 2 +- time/BUILD.bazel | 2 +- 19 files changed, 19 insertions(+), 22 deletions(-) diff --git a/api/db/BUILD.bazel b/api/db/BUILD.bazel index 92eead285..a3b0627b2 100644 --- a/api/db/BUILD.bazel +++ b/api/db/BUILD.bazel @@ -21,6 +21,7 @@ go_library( go_test( name = "db_test", + size = "small", srcs = ["db_test.go"], embed = [":db"], deps = [ @@ -32,5 +33,4 @@ go_test( "@com_github_mattn_go_sqlite3//:go-sqlite3", "@com_github_stretchr_testify//require", ], - size = "small", ) diff --git a/assertions/BUILD.bazel b/assertions/BUILD.bazel index dd36786c3..e162bd3e4 100644 --- a/assertions/BUILD.bazel +++ b/assertions/BUILD.bazel @@ -34,6 +34,7 @@ go_library( go_test( name = "assertions_test", + size = "small", srcs = [ "manager_test.go", "poster_test.go", @@ -57,5 +58,4 @@ go_test( "@com_github_ethereum_go_ethereum//common", "@com_github_stretchr_testify//require", ], - size = "small", ) diff --git a/chain-abstraction/sol-implementation/BUILD.bazel b/chain-abstraction/sol-implementation/BUILD.bazel index e74b43a6f..3be3e0571 100644 --- a/chain-abstraction/sol-implementation/BUILD.bazel +++ b/chain-abstraction/sol-implementation/BUILD.bazel @@ -42,6 +42,7 @@ go_library( go_test( name = "sol-implementation_test", + size = "small", srcs = [ "assertion_chain_helper_test.go", "assertion_chain_test.go", @@ -69,5 +70,4 @@ go_test( "@com_github_ethereum_go_ethereum//core/types", "@com_github_stretchr_testify//require", ], - size = "small", ) diff --git a/challenge-manager/BUILD.bazel b/challenge-manager/BUILD.bazel index e735c95d8..1ad2b24a7 100644 --- a/challenge-manager/BUILD.bazel +++ b/challenge-manager/BUILD.bazel @@ -38,6 +38,7 @@ go_library( go_test( name = "challenge-manager_test", + size = "small", srcs = ["manager_test.go"], embed = [":challenge-manager"], deps = [ @@ -56,5 +57,4 @@ go_test( "@com_github_ethereum_go_ethereum//common", "@com_github_stretchr_testify//require", ], - size = "small", ) diff --git a/challenge-manager/chain-watcher/BUILD.bazel b/challenge-manager/chain-watcher/BUILD.bazel index 90378b3e5..5ec51a872 100644 --- a/challenge-manager/chain-watcher/BUILD.bazel +++ b/challenge-manager/chain-watcher/BUILD.bazel @@ -27,6 +27,7 @@ go_library( go_test( name = "chain-watcher_test", + size = "small", srcs = ["watcher_test.go"], embed = [":chain-watcher"], deps = [ @@ -39,5 +40,4 @@ go_test( "@com_github_ethereum_go_ethereum//common", "@com_github_stretchr_testify//require", ], - size = "small", ) diff --git a/challenge-manager/challenge-tree/BUILD.bazel b/challenge-manager/challenge-tree/BUILD.bazel index f174fffbe..a2a462a82 100644 --- a/challenge-manager/challenge-tree/BUILD.bazel +++ b/challenge-manager/challenge-tree/BUILD.bazel @@ -26,6 +26,7 @@ go_library( go_test( name = "challenge-tree_test", + size = "small", srcs = [ "ancestors_test.go", "compute_ancestors_test.go", @@ -45,5 +46,4 @@ go_test( "@com_github_ethereum_go_ethereum//common", "@com_github_stretchr_testify//require", ], - size = "small", ) diff --git a/containers/BUILD.bazel b/containers/BUILD.bazel index 65df879e9..379bd2020 100644 --- a/containers/BUILD.bazel +++ b/containers/BUILD.bazel @@ -9,8 +9,8 @@ go_library( go_test( name = "containers_test", + size = "small", srcs = ["slice_test.go"], embed = [":containers"], deps = ["@com_github_stretchr_testify//require"], - size = "small", ) diff --git a/containers/events/BUILD.bazel b/containers/events/BUILD.bazel index 208f13c1d..00335ab9e 100644 --- a/containers/events/BUILD.bazel +++ b/containers/events/BUILD.bazel @@ -9,8 +9,8 @@ go_library( go_test( name = "events_test", + size = "small", srcs = ["producer_test.go"], embed = [":events"], deps = ["@com_github_stretchr_testify//require"], - size = "small", ) diff --git a/containers/fsm/BUILD.bazel b/containers/fsm/BUILD.bazel index 5d911e6d5..0d0df4d5e 100644 --- a/containers/fsm/BUILD.bazel +++ b/containers/fsm/BUILD.bazel @@ -10,8 +10,8 @@ go_library( go_test( name = "fsm_test", + size = "small", srcs = ["fsm_test.go"], embed = [":fsm"], deps = ["@com_github_stretchr_testify//require"], - size = "small", ) diff --git a/containers/threadsafe/BUILD.bazel b/containers/threadsafe/BUILD.bazel index f6b14df47..58f10afbc 100644 --- a/containers/threadsafe/BUILD.bazel +++ b/containers/threadsafe/BUILD.bazel @@ -20,6 +20,7 @@ go_library( go_test( name = "threadsafe_test", + size = "small", srcs = [ "collections_test.go", "map_test.go", @@ -28,5 +29,4 @@ go_test( ], embed = [":threadsafe"], deps = ["@com_github_stretchr_testify//require"], - size = "small", ) diff --git a/layer2-state-provider/BUILD.bazel b/layer2-state-provider/BUILD.bazel index ae9f80adb..ea8ed45ed 100644 --- a/layer2-state-provider/BUILD.bazel +++ b/layer2-state-provider/BUILD.bazel @@ -23,11 +23,11 @@ go_library( go_test( name = "layer2-state-provider_test", + size = "small", srcs = ["history_commitment_provider_test.go"], embed = [":layer2-state-provider"], deps = [ "//containers/option", "@com_github_stretchr_testify//require", ], - size = "small", ) diff --git a/math/BUILD.bazel b/math/BUILD.bazel index 04620a62b..361ff43a7 100644 --- a/math/BUILD.bazel +++ b/math/BUILD.bazel @@ -9,8 +9,8 @@ go_library( go_test( name = "math_test", + size = "small", srcs = ["math_test.go"], embed = [":math"], deps = ["@com_github_stretchr_testify//require"], - size = "small", ) diff --git a/runtime/BUILD.bazel b/runtime/BUILD.bazel index bf93f02e9..fd0af2a74 100644 --- a/runtime/BUILD.bazel +++ b/runtime/BUILD.bazel @@ -13,8 +13,8 @@ go_library( go_test( name = "runtime_test", + size = "small", srcs = ["retry_test.go"], embed = [":runtime"], deps = ["@com_github_stretchr_testify//require"], - size = "small", ) diff --git a/state-commitments/history/BUILD.bazel b/state-commitments/history/BUILD.bazel index 29a862486..a5066cdf2 100644 --- a/state-commitments/history/BUILD.bazel +++ b/state-commitments/history/BUILD.bazel @@ -14,6 +14,7 @@ go_library( go_test( name = "history_test", + size = "small", srcs = ["commitments_test.go"], embed = [":history"], deps = [ @@ -21,5 +22,4 @@ go_test( "@com_github_ethereum_go_ethereum//common", "@com_github_stretchr_testify//require", ], - size = "small", ) diff --git a/state-commitments/inclusion-proofs/BUILD.bazel b/state-commitments/inclusion-proofs/BUILD.bazel index ac94c7fe3..3fa4b7697 100644 --- a/state-commitments/inclusion-proofs/BUILD.bazel +++ b/state-commitments/inclusion-proofs/BUILD.bazel @@ -15,6 +15,7 @@ go_library( go_test( name = "inclusion-proofs_test", + size = "small", srcs = ["inclusion_proofs_test.go"], embed = [":inclusion-proofs"], deps = [ @@ -22,5 +23,4 @@ go_test( "@com_github_ethereum_go_ethereum//common", "@com_github_stretchr_testify//require", ], - size = "small", ) diff --git a/state-commitments/optimized/BUILD.bazel b/state-commitments/optimized/BUILD.bazel index 30b01dcc9..6674f5db5 100644 --- a/state-commitments/optimized/BUILD.bazel +++ b/state-commitments/optimized/BUILD.bazel @@ -16,10 +16,7 @@ go_library( go_test( name = "optimized_test", - srcs = [ - "history_commitment_test.go", - "inclusion_proofs_test.go", - ], + srcs = ["history_commitment_test.go"], embed = [":optimized"], deps = [ "//containers/option", diff --git a/state-commitments/prefix-proofs/BUILD.bazel b/state-commitments/prefix-proofs/BUILD.bazel index 1a3274264..d3347e991 100644 --- a/state-commitments/prefix-proofs/BUILD.bazel +++ b/state-commitments/prefix-proofs/BUILD.bazel @@ -17,6 +17,7 @@ go_library( go_test( name = "prefix-proofs_test", + size = "small", srcs = [ "merkle_expansions_test.go", "prefix_proofs_test.go", @@ -36,5 +37,4 @@ go_test( "@com_github_ethereum_go_ethereum//ethclient/simulated", "@com_github_stretchr_testify//require", ], - size = "small", ) diff --git a/testing/mocks/state-provider/BUILD.bazel b/testing/mocks/state-provider/BUILD.bazel index ab0694cab..5c8b47bc2 100644 --- a/testing/mocks/state-provider/BUILD.bazel +++ b/testing/mocks/state-provider/BUILD.bazel @@ -24,6 +24,7 @@ go_library( go_test( name = "state-provider_test", + size = "small", srcs = [ "execution_engine_test.go", "history_provider_test.go", @@ -39,5 +40,4 @@ go_test( "@com_github_ethereum_go_ethereum//crypto", "@com_github_stretchr_testify//require", ], - size = "small", ) diff --git a/time/BUILD.bazel b/time/BUILD.bazel index 341eb765c..2d289a715 100644 --- a/time/BUILD.bazel +++ b/time/BUILD.bazel @@ -9,7 +9,7 @@ go_library( go_test( name = "time_test", + size = "small", srcs = ["time_reference_test.go"], embed = [":time"], - size = "small", )