-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Norman Meier <[email protected]>
- Loading branch information
Showing
5 changed files
with
52 additions
and
97 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,32 @@ | ||
import { program } from "commander"; | ||
import fs from "fs/promises"; | ||
|
||
import { buildCosmos, startCosmosLocalnet } from "./cosmos"; | ||
import { teritoriLocalnetNetwork } from "../../networks/teritori-localnet"; | ||
import { deployTeritoriEcosystem } from "../network-setup/deployLib"; | ||
|
||
const main = async () => { | ||
program.argument( | ||
"<repo-path>", | ||
"Path to the repo to build latest binary from", | ||
); | ||
program.parse(); | ||
const [repoPath] = program.args; | ||
|
||
const binary = await buildCosmos(repoPath, "teritorid"); | ||
|
||
const { home, kill } = await startCosmosLocalnet(binary); | ||
|
||
await deployTeritoriEcosystem( | ||
{ binaryPath: binary, home }, | ||
teritoriLocalnetNetwork.id, | ||
"testnet-adm", | ||
); | ||
|
||
// stop | ||
await kill(); | ||
|
||
await fs.rm(home, { recursive: true, force: true }); | ||
}; | ||
|
||
main(); |
This file was deleted.
Oops, something went wrong.
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
66 changes: 0 additions & 66 deletions
66
packages/scripts/integration-testing/upgradeTest142to204.ts
This file was deleted.
Oops, something went wrong.
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