diff --git a/Procfile b/Procfile deleted file mode 100644 index 36a287e8b..000000000 --- a/Procfile +++ /dev/null @@ -1,2 +0,0 @@ -keeper: keeper crank -liquidator: liquidator \ No newline at end of file diff --git a/client/src/client.rs b/client/src/client.rs index 58118a553..8d069d2c8 100644 --- a/client/src/client.rs +++ b/client/src/client.rs @@ -159,7 +159,6 @@ impl MangoClient { Some(tuple) => tuple.1.fixed.account_num + 1, None => 0u32, }; - Self::create_account(client, group, owner, payer, account_num, mango_account_name) .context("Failed to create account...")?; } diff --git a/keeper/Dockerfile.keeper b/keeper/Dockerfile.keeper index 4103f5428..5770c5476 100644 --- a/keeper/Dockerfile.keeper +++ b/keeper/Dockerfile.keeper @@ -1,6 +1,6 @@ # Dockerfile for keeper service in Heroku # heroku container:push keeper -R -a HEROKU_APP_NAME # heroku container:release -a HEROKU_APP_NAME -FROM gcr.io/mango-markets/mango-v4:latest +FROM us-docker.pkg.dev/mango-markets/gcr.io/mango-v4:latest ENTRYPOINT ["keeper"] CMD ["crank"] diff --git a/keeper/src/main.rs b/keeper/src/main.rs index 1a9ca52c7..825edf095 100644 --- a/keeper/src/main.rs +++ b/keeper/src/main.rs @@ -45,12 +45,6 @@ struct Cli { command: Command, } -fn keypair_from_path(p: &std::path::PathBuf) -> Keypair { - let path = std::path::PathBuf::from_str(&*shellexpand::tilde(p.to_str().unwrap())).unwrap(); - keypair::read_keypair_file(path) - .unwrap_or_else(|_| panic!("Failed to read keypair from {}", p.to_string_lossy())) -} - #[derive(Subcommand, Debug, Clone)] enum Command { Crank {}, diff --git a/liquidator/Dockerfile.liquidator b/liquidator/Dockerfile.liquidator index ada22b6fa..6257911e5 100644 --- a/liquidator/Dockerfile.liquidator +++ b/liquidator/Dockerfile.liquidator @@ -1,5 +1,5 @@ # Dockerfile for keeper service in Heroku # heroku container:push keeper -R -a HEROKU_APP_NAME # heroku container:release -a HEROKU_APP_NAME -FROM gcr.io/mango-markets/mango-v4:latest +FROM us-docker.pkg.dev/mango-markets/gcr.io/mango-v4:latest ENTRYPOINT ["liquidator"] diff --git a/ts/client/ids.json b/ts/client/ids.json index 14768d2ee..ac95ddf19 100644 --- a/ts/client/ids.json +++ b/ts/client/ids.json @@ -106,4 +106,4 @@ "perpMarkets": [] } ] -} +} \ No newline at end of file diff --git a/ts/client/src/scripts/example1-user2.ts b/ts/client/src/scripts/example1-user2.ts index ebb622765..2e05eae97 100644 --- a/ts/client/src/scripts/example1-user2.ts +++ b/ts/client/src/scripts/example1-user2.ts @@ -35,7 +35,6 @@ async function main() { JSON.parse(fs.readFileSync(process.env.ADMIN_KEYPAIR!, 'utf-8')), ), ); - const group = await client.getGroupForCreator(admin.publicKey, GROUP_NUM); console.log(group.toString());