Skip to content

Commit 5ac8fee

Browse files
authored
[CCIP-5323] Remove unused Functions* mocks. (smartcontractkit#16738)
* Minor * Minor * Minor * Minor
1 parent e975376 commit 5ac8fee

12 files changed

+6
-525
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@chainlink/contracts': minor
3+
---
4+
5+
#removed [CCIP-5323] Remove unused Functions\* mocks.

contracts/.prettierignore

-3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,3 @@ venv/
3636
.github/**/*.yml
3737
.golangci.yml
3838
.solhint.json
39-
40-
src/v0.8/mocks/FunctionsOracleEventsMock.sol
41-
src/v0.8/mocks/FunctionsBillingRegistryEventsMock.sol

contracts/scripts/native_solc_compile_all

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ python3 -m pip install --require-hashes -r $SCRIPTPATH/requirements.txt
1212
# 6 and 7 are legacy contracts, for each other product we have a native_solc_compile_all_$product script
1313
# These scripts can be run individually, or all together with this script.
1414
# To add new CL products, simply write a native_solc_compile_all_$product script and add it to the list below.
15-
for product in automation events_mock feeds functions keystone llo-feeds operatorforwarder shared vrf ccip workflow data-feeds
15+
for product in automation feeds functions keystone llo-feeds operatorforwarder shared vrf ccip workflow data-feeds
1616
do
1717
$SCRIPTPATH/native_solc_compile_all_$product
1818
done

contracts/scripts/native_solc_compile_all_events_mock

-33
This file was deleted.

contracts/src/v0.8/mocks/FunctionsBillingRegistryEventsMock.sol

-80
This file was deleted.

contracts/src/v0.8/mocks/FunctionsOracleEventsMock.sol

-63
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
GETH_VERSION: 1.15.3
2-
functions: ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsRequest.abi ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsRequest.bin 3c972870b0afeb6d73a29ebb182f24956a2cebb127b21c4f867d1ecf19a762db
32
functions_allow_list: ../../../contracts/solc/functions/TermsOfServiceAllowList/TermsOfServiceAllowList.sol/TermsOfServiceAllowList.abi.json ../../../contracts/solc/functions/TermsOfServiceAllowList/TermsOfServiceAllowList.sol/TermsOfServiceAllowList.bin b9a4aeba7da7d3b98e6cf4366d73d03b861232b3b89a53040fedcb0953ccf1d3
4-
functions_billing_registry_events_mock: ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsBillingRegistryEventsMock.abi ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsBillingRegistryEventsMock.bin 50deeb883bd9c3729702be335c0388f9d8553bab4be5e26ecacac496a89e2b77
53
functions_client: ../../../contracts/solc/functions/FunctionsClient/FunctionsClient.sol/FunctionsClient.abi.json ../../../contracts/solc/functions/FunctionsClient/FunctionsClient.sol/FunctionsClient.bin 266c3a9f2b6539e43486af588a7bc3c58694061d7155917c59b106f4217f68e5
64
functions_client_example: ../../../contracts/solc/functions/FunctionsClientExample/FunctionsClientExample.sol/FunctionsClientExample.abi.json ../../../contracts/solc/functions/FunctionsClientExample/FunctionsClientExample.sol/FunctionsClientExample.bin e52846aad97167917823e93aa105804e6a0d66acd7d07cc514b5bf4488b0a19f
75
functions_coordinator: ../../../contracts/solc/functions/FunctionsCoordinator/FunctionsCoordinator.sol/FunctionsCoordinator.abi.json ../../../contracts/solc/functions/FunctionsCoordinator/FunctionsCoordinator.sol/FunctionsCoordinator.bin f4ea51a9f44c9191eec5aab5dde08002a297caad08e8ba345f343557ad3a3304
86
functions_load_test_client: ../../../contracts/solc/functions/FunctionsLoadTestClient/FunctionsLoadTestClient.sol/FunctionsLoadTestClient.abi.json ../../../contracts/solc/functions/FunctionsLoadTestClient/FunctionsLoadTestClient.sol/FunctionsLoadTestClient.bin af4cccdbebfd0841b143601de5f9912b199508b5b79e85342d1dc9ede21fbd9c
9-
functions_oracle_events_mock: ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsOracleEventsMock.abi ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsOracleEventsMock.bin 3ca70f966f8fe751987f0ccb50bebb6aa5be77e4a9f835d1ae99e0e9bfb7d52c
107
functions_request: ../../../contracts/solc/functions/FunctionsRequest/FunctionsRequest.sol/FunctionsRequest.abi.json ../../../contracts/solc/functions/FunctionsRequest/FunctionsRequest.sol/FunctionsRequest.bin 625c8610b3ea483809dd21c2a3a893cd626670216b9d87bbadb2ecd4aa2b447c
118
functions_router: ../../../contracts/solc/functions/FunctionsRouter/FunctionsRouter.sol/FunctionsRouter.abi.json ../../../contracts/solc/functions/FunctionsRouter/FunctionsRouter.sol/FunctionsRouter.bin ba218c8feb73cb8669b452d1c72860a6262d327a72e5e906e39d329e9b9fb8d5
129
functions_v1_events_mock: ../../../contracts/solc/functions/FunctionsV1EventsMock/FunctionsV1EventsMock.sol/FunctionsV1EventsMock.abi.json ../../../contracts/solc/functions/FunctionsV1EventsMock/FunctionsV1EventsMock.sol/FunctionsV1EventsMock.bin a4b4cb19ab5fce8fd4fca28564aeddd95bb321adb632cdc261bca6a8b517c11a
13-
ocr2dr: ../../../contracts/solc/v0.8.6/functions/v0_0_0/Functions.abi ../../../contracts/solc/v0.8.6/functions/v0_0_0/Functions.bin d9a794b33f47cc57563d216f7cf3a612309fc3062356a27e30005cf1d59e449d
14-
ocr2dr_client: ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsClient.abi ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsClient.bin 84aa63f9dbc5c7eac240db699b09e613ca4c6cd56dab10bdc25b02461b717e21
15-
ocr2dr_client_example: ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsClientExample.abi ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsClientExample.bin a978d9b52a5a2da19eef0975979de256e62980a0cfb3084fe6d66a351b4ef534
16-
ocr2dr_oracle: ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsOracleWithInit.abi ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsOracleWithInit.bin b9084b34b0ee2e89adc72f068a868f0f22e361c96677fe20e44801e84bbd0c18
17-
ocr2dr_registry: ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsBillingRegistryWithInit.abi ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsBillingRegistryWithInit.bin be588d5036cbeb8d67bbc124fefbdc6fd354802a30b8e87093b2b94a6549741b

0 commit comments

Comments
 (0)