Skip to content

Commit

Permalink
deploy devnet
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Sep 21, 2022
1 parent 7804a39 commit a7a63d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down
2 changes: 1 addition & 1 deletion programs/clearing_house/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a7a63d8

Please sign in to comment.