Skip to content

Commit f52e668

Browse files
authored
chore(contracts): rename addPausers task (#960)
1 parent 46ff48e commit f52e668

10 files changed

Lines changed: 8 additions & 157 deletions

File tree

gateway-contracts/hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ task("test", "Runs the test suite, optionally skipping setup tasks")
6565
await hre.run("task:addHostChainsToGatewayConfig", { useInternalGatewayConfigAddress: true });
6666
// Contrary to deployment, here we consider the PauserSet address from the `addresses/` directory
6767
// for local testing
68-
await hre.run("task:addPausers", { useInternalGatewayConfigAddress: true });
68+
await hre.run("task:addGatewayPausers", { useInternalGatewayConfigAddress: true });
6969
} else {
7070
console.log("Skipping contracts setup.");
7171
}

gateway-contracts/tasks/addPausers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { getRequiredEnvVar } from "./utils/loadVariables";
88
// Add pausers to the PauserSet contract
99
// Note: Internal PauserSet address is defined in the `addresses/` directory. It should be used
1010
// for local testing. By default, we use the PAUSER_SET_ADDRESS env var, as done in deployment
11-
task("task:addPausers")
11+
task("task:addGatewayPausers")
1212
.addParam("useInternalPauserSetAddress", "If internal PauserSet address should be used", false, types.boolean)
1313
.setAction(async function ({ useInternalGatewayConfigAddress }, hre) {
1414
await hre.run("compile:specific", { contract: "contracts/immutable" });

host-contracts/hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ task('test', async (taskArgs, hre, runSuper) => {
5555
await hre.run('task:deployAllHostContracts');
5656
// Contrary to deployment, here we consider the PauserSet address from the `addresses/` directory
5757
// for local testing
58-
await hre.run('task:addPausers', { useInternalPauserSetAddress: true });
58+
await hre.run('task:addHostPausers', { useInternalPauserSetAddress: true });
5959
}
6060
await hre.run('compile:specific', { contract: 'examples' });
6161
await runSuper();

host-contracts/tasks/addPausers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { getRequiredEnvVar } from './utils/loadVariables';
77
// Add pausers to the PauserSet contract
88
// Note: Internal PauserSet address is defined in the `addresses/` directory. It should be used
99
// for local testing. By default, we use the PAUSER_SET_ADDRESS env var, as done in deployment
10-
task('task:addPausers')
10+
task('task:addHostPausers')
1111
.addParam('useInternalPauserSetAddress', 'If internal PauserSet address should be used', false, types.boolean)
1212
.setAction(async function ({ useInternalPauserSetAddress }, hre) {
1313
await hre.run('compile:specific', { contract: 'contracts/immutable' });

library-solidity/hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ task('test', async (_taskArgs, hre, runSuper) => {
5959
// Run modified test task
6060
if (hre.network.name === 'hardhat') {
6161
await hre.run('task:deployAllHostContracts');
62-
await hre.run('task:addPausers', { useInternalPauserSetAddress: true });
62+
await hre.run('task:addHostPausers', { useInternalPauserSetAddress: true });
6363
}
6464

6565
await runSuper();

library-solidity/tasks/addPausers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { getRequiredEnvVar } from './utils/loadVariables';
77
// Add pausers to the PauserSet contract
88
// Note: Internal PauserSet address is defined in the `addresses/` directory. It should be used
99
// for local testing. By default, we use the PAUSER_SET_ADDRESS env var, as done in deployment
10-
task('task:addPausers')
10+
task('task:addHostPausers')
1111
.addParam('useInternalPauserSetAddress', 'If internal PauserSet address should be used', false, types.boolean)
1212
.setAction(async function ({ useInternalPauserSetAddress }, hre) {
1313
await hre.run('compile:specific', { contract: 'fhevmTemp/contracts/contracts/immutable' });

test-suite/fhevm/docker-compose/gateway-docker-compose.yml

Lines changed: 0 additions & 89 deletions
This file was deleted.

test-suite/fhevm/docker-compose/gateway-sc-docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ services:
5151
env_file:
5252
- ../env/staging/.env.gateway-sc.local
5353
command:
54-
- npx hardhat task:addPausers
54+
- npx hardhat task:addGatewayPausers
5555
depends_on:
5656
gateway-sc-deploy:
5757
condition: service_completed_successfully

test-suite/fhevm/docker-compose/host-docker-compose.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

test-suite/fhevm/docker-compose/host-sc-docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
env_file:
2828
- ../env/staging/.env.host-sc.local
2929
command:
30-
- npx hardhat task:addPausers
30+
- npx hardhat task:addHostPausers
3131
depends_on:
3232
host-sc-deploy:
3333
condition: service_completed_successfully

0 commit comments

Comments
 (0)