This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve system readiness for deployment (paritytech#457)
- Loading branch information
Showing
58 changed files
with
3,481 additions
and
2,048 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
require("dotenv").config(); | ||
const fs = require('fs'); | ||
|
||
contractNames = [ | ||
"ETHApp", | ||
"ERC20App", | ||
"DOTApp", | ||
"BasicInboundChannel", | ||
"BasicOutboundChannel", | ||
"IncentivizedInboundChannel", | ||
"IncentivizedOutboundChannel" | ||
] | ||
|
||
module.exports = function (deployer, network, accounts) { | ||
deployer.then(async () => { | ||
|
||
addresses = {} | ||
|
||
for (const name of contractNames) { | ||
contract = await artifacts.require(name) | ||
instance = await contract.deployed() | ||
|
||
addresses[name] = instance.address | ||
} | ||
|
||
console.log(JSON.stringify(addresses, null, 2)) | ||
|
||
console.log("Dumped contract addresses at /tmp/addresses.json") | ||
fs.writeFileSync("/tmp/addresses.json", JSON.stringify(addresses, null, 2)) | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
infra/ansible/inventory/host_vars/parachain-node-0/node-key.yml
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
infra/ansible/inventory/host_vars/relaychain-node-0/node-key.yml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.