From a7a63d88261243d014907e914d69197be185f089 Mon Sep 17 00:00:00 2001 From: Chris Heaney Date: Wed, 21 Sep 2022 11:59:28 -0400 Subject: [PATCH] deploy devnet --- Anchor.toml | 2 +- programs/clearing_house/src/lib.rs | 2 +- sdk/src/config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Anchor.toml b/Anchor.toml index c59546b5f..c4fd68c00 100644 --- a/Anchor.toml +++ b/Anchor.toml @@ -11,7 +11,7 @@ watch_build = 'find ./programs/clearing_house/src/* ./tests ./sdk/src | entr -c watch_cargo = 'find ./programs/clearing_house/src/* ./tests ./sdk/src | entr -c cargo test -- --show-output' [programs.localnet] -clearing_house = "CUowJP5Dea7pkc2mKrkX2RuZUrPXL3u419iBRXyZEWQz" +clearing_house = "6MVFno8SFkVffGuCCQzg2wi8FvF8sPRFDNHa13ZPP9cK" pyth = "gSbePebfvPy7tRqimPoVecS2UsBvYv46ynrzWocc92s" [[test.genesis]] diff --git a/programs/clearing_house/src/lib.rs b/programs/clearing_house/src/lib.rs index cdfba2016..39a385671 100644 --- a/programs/clearing_house/src/lib.rs +++ b/programs/clearing_house/src/lib.rs @@ -36,7 +36,7 @@ use std::convert::identity; #[cfg(feature = "mainnet-beta")] declare_id!("dammHkt7jmytvbS3nHTxQNEcP59aE57nxwV21YdqEDN"); #[cfg(not(feature = "mainnet-beta"))] -declare_id!("CUowJP5Dea7pkc2mKrkX2RuZUrPXL3u419iBRXyZEWQz"); +declare_id!("6MVFno8SFkVffGuCCQzg2wi8FvF8sPRFDNHa13ZPP9cK"); #[program] pub mod clearing_house { diff --git a/sdk/src/config.ts b/sdk/src/config.ts index 2b0a789c6..6cf87e41a 100644 --- a/sdk/src/config.ts +++ b/sdk/src/config.ts @@ -28,7 +28,7 @@ export const configs: { [key in DriftEnv]: DriftConfig } = { devnet: { ENV: 'devnet', PYTH_ORACLE_MAPPING_ADDRESS: 'BmA9Z6FjioHJPpjT39QazZyhDRUdZy2ezwx4GiDdE2u2', - CLEARING_HOUSE_PROGRAM_ID: 'CUowJP5Dea7pkc2mKrkX2RuZUrPXL3u419iBRXyZEWQz', + CLEARING_HOUSE_PROGRAM_ID: '6MVFno8SFkVffGuCCQzg2wi8FvF8sPRFDNHa13ZPP9cK', USDC_MINT_ADDRESS: '8zGuJQqwhZafTah7Uc7Z4tXRnguqkn5KLFAP8oV6PHe2', PERP_MARKETS: DevnetPerpMarkets, SPOT_MARKETS: DevnetSpotMarkets,