From b535ddc30ca7d267c8b692ad19aa266ab6bf8cc9 Mon Sep 17 00:00:00 2001 From: "Jean Marchand (Exotic Markets)" Date: Thu, 22 Feb 2024 11:31:09 +0100 Subject: [PATCH] chore: Update keys (#19) --- Anchor.toml | 34 +++++++++++++++++++++------------- programs/network/src/lib.rs | 2 +- programs/thread/src/lib.rs | 2 +- programs/webhook/src/lib.rs | 2 +- utils/src/thread.rs | 2 +- 5 files changed, 25 insertions(+), 17 deletions(-) diff --git a/Anchor.toml b/Anchor.toml index 62d7c96b..3809dbf0 100644 --- a/Anchor.toml +++ b/Anchor.toml @@ -1,18 +1,26 @@ -[provider] -cluster = "localnet" -wallet = "~/.config/solana/id.json" +[toolchain] +anchor_version = "0.29.0" +solana_version = "1.18.2" + +[features] +seeds = false +skip-lint = false [programs.localnet] -sablier_network_program = "F8dKseqmBoAkHx3c58Lmb9TgJv5qeTf3BbtZZSEzYvUa" -sablier_thread_program = "CLoCKyJ6DXBJqqu2VWx9RLbgnwwR6BMHHuyasVmfMzBh" -sablier_webhook_program = "E7p5KFo8kKCDm6BUnWtnVFkQSYh6ZA6xaGAuvpv8NXTa" +sablier_network_program = "9ESdCQBeSnUspsKFmyoJTu1k4moMG6qbuK1BYVQsZ6Qc" +sablier_thread_program = "sabJknyNCneSXYhbNX1S1yU9fnT2tb7kUXA8SjHhDBX" +sablier_webhook_program = "GDZTj1Lxhp7cKoa69xzQRpYBSjN5bvp5KERpiojAoVAx" + +[programs.mainnet] +sablier_network_program = "9ESdCQBeSnUspsKFmyoJTu1k4moMG6qbuK1BYVQsZ6Qc" +sablier_thread_program = "sabJknyNCneSXYhbNX1S1yU9fnT2tb7kUXA8SjHhDBX" +sablier_webhook_program = "GDZTj1Lxhp7cKoa69xzQRpYBSjN5bvp5KERpiojAoVAx" [programs.testnet] -sablier_network_program = "F8dKseqmBoAkHx3c58Lmb9TgJv5qeTf3BbtZZSEzYvUa" -sablier_thread_program = "CLoCKyJ6DXBJqqu2VWx9RLbgnwwR6BMHHuyasVmfMzBh" -sablier_webhook_program = "E7p5KFo8kKCDm6BUnWtnVFkQSYh6ZA6xaGAuvpv8NXTa" +sablier_network_program = "9ESdCQBeSnUspsKFmyoJTu1k4moMG6qbuK1BYVQsZ6Qc" +sablier_thread_program = "sabJknyNCneSXYhbNX1S1yU9fnT2tb7kUXA8SjHhDBX" +sablier_webhook_program = "GDZTj1Lxhp7cKoa69xzQRpYBSjN5bvp5KERpiojAoVAx" -[programs.mainnet] -sablier_network_program = "F8dKseqmBoAkHx3c58Lmb9TgJv5qeTf3BbtZZSEzYvUa" -sablier_thread_program = "CLoCKyJ6DXBJqqu2VWx9RLbgnwwR6BMHHuyasVmfMzBh" -sablier_webhook_program = "E7p5KFo8kKCDm6BUnWtnVFkQSYh6ZA6xaGAuvpv8NXTa" +[provider] +cluster = "Localnet" +wallet = "~/.config/solana/id.json" diff --git a/programs/network/src/lib.rs b/programs/network/src/lib.rs index 0a2c69c0..83b9f350 100644 --- a/programs/network/src/lib.rs +++ b/programs/network/src/lib.rs @@ -16,7 +16,7 @@ use jobs::*; use sablier_utils::thread::*; use state::*; -declare_id!("F8dKseqmBoAkHx3c58Lmb9TgJv5qeTf3BbtZZSEzYvUa"); +declare_id!("9ESdCQBeSnUspsKFmyoJTu1k4moMG6qbuK1BYVQsZ6Qc"); #[program] pub mod network_program { diff --git a/programs/thread/src/lib.rs b/programs/thread/src/lib.rs index 19fb5f9d..446c0f8e 100644 --- a/programs/thread/src/lib.rs +++ b/programs/thread/src/lib.rs @@ -18,7 +18,7 @@ use sablier_utils::{ }; use state::*; -declare_id!("CLoCKyJ6DXBJqqu2VWx9RLbgnwwR6BMHHuyasVmfMzBh"); +declare_id!("sabJknyNCneSXYhbNX1S1yU9fnT2tb7kUXA8SjHhDBX"); /// Program for creating transaction threads on Solana. #[program] diff --git a/programs/webhook/src/lib.rs b/programs/webhook/src/lib.rs index 9af26a69..1f164e32 100644 --- a/programs/webhook/src/lib.rs +++ b/programs/webhook/src/lib.rs @@ -8,7 +8,7 @@ use anchor_lang::prelude::*; use instructions::*; use state::*; -declare_id!("E7p5KFo8kKCDm6BUnWtnVFkQSYh6ZA6xaGAuvpv8NXTa"); +declare_id!("GDZTj1Lxhp7cKoa69xzQRpYBSjN5bvp5KERpiojAoVAx"); #[program] pub mod webhook_program { diff --git a/utils/src/thread.rs b/utils/src/thread.rs index ee2e8f0c..c64effdc 100644 --- a/utils/src/thread.rs +++ b/utils/src/thread.rs @@ -11,7 +11,7 @@ use serde::{Deserialize, Serialize}; use static_pubkey::static_pubkey; /// The stand-in pubkey for delegating a payer address to a worker. All workers are re-imbursed by the user for lamports spent during this delegation. -pub static PAYER_PUBKEY: Pubkey = static_pubkey!("C1ockworkPayer11111111111111111111111111111"); +pub static PAYER_PUBKEY: Pubkey = static_pubkey!("Sab1ierPayer1111111111111111111111111111111"); /// The clock object, representing a specific moment in time recorded by a Solana cluster. #[derive(AnchorDeserialize, AnchorSerialize, InitSpace, BorshSchema, Clone, Debug, PartialEq)]