Skip to content

Commit

Permalink
Remove not needed setHomeDailyLimit script
Browse files Browse the repository at this point in the history
  • Loading branch information
patitonar committed Feb 28, 2020
1 parent 1badc94 commit 20b46ff
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 62 deletions.
8 changes: 0 additions & 8 deletions upgrade/.env.example
@@ -1,9 +1,3 @@
HOME_RPC_URL=https://dai.poa.network
HOME_PRIVKEY=0x...
HOME_BRIDGE_ADDRESS=0x7301CFA0e1756B71869E93d4e4Dca5c7d0eb0AA6
HOME_START_BLOCK=7384314
HOME_GAS_PRICE=1000000000

FOREIGN_RPC_URL=https://mainnet.infura.io/v3/API_KEY
FOREIGN_PRIVKEY=0x...
FOREING_BRIDGE_ADDRESS=0x4aa42145Aa6Ebf72e164C9bBC74fbD3788045016
Expand All @@ -13,8 +7,6 @@ FOREIGN_GAS_PRICE=1000000000
# leader or confirm
ROLE=confirm


# Optional parameters, depends on the script used
NEW_IMPLEMENTATION_ETH_BRIDGE=
HOME_DAILY_LIMIT=100000000000000000000001
CHAI_INTEREST_RECEIVER=
5 changes: 0 additions & 5 deletions upgrade/README.md
Expand Up @@ -21,10 +21,5 @@ cp .env.example .env
Complete the variables in `.env` file. The `ROLE` variable indicates if the validator will send the creation transaction on the multisig wallet or if it will send the confirmation.

Run the script. The following are available:

Scripts related to Chai upgrade:
* `npm run chaiUpgrade:upgradeBridgeOnForeign` (Requires `NEW_IMPLEMENTATION_ETH_BRIDGE` .env param)
* `npm run chaiUpgrade:initializeChai` (Requires `CHAI_INTEREST_RECEIVER` .env param)

Scripts useful for changing bridge parameters:
* `npm run setHomeDailyLimit` (Requires `HOME_DAILY_LIMIT` .env param)
1 change: 0 additions & 1 deletion upgrade/package.json
Expand Up @@ -6,7 +6,6 @@
"scripts": {
"upgradeBridgeOnForeign": "node src/upgradeBridgeOnForeign.js",
"initializeChai": "node src/initializeChai.js",
"setHomeDailyLimit": "node src/setHomeDailyLimit.js",
"lint": "eslint ."
},
"dependencies": {
Expand Down
48 changes: 0 additions & 48 deletions upgrade/src/setHomeDailyLimit.js

This file was deleted.

0 comments on commit 20b46ff

Please sign in to comment.