diff --git a/basics/account-data/poseidon/Anchor.toml b/basics/account-data/poseidon/Anchor.toml index 7555a3cb8..84542abec 100644 --- a/basics/account-data/poseidon/Anchor.toml +++ b/basics/account-data/poseidon/Anchor.toml @@ -5,7 +5,7 @@ resolution = true skip-lint = false [programs.localnet] -account_data = "5wF2itZNsDcf5s1SdcdJPdgBSTFAKjj6YbdicLFYi8vN" +account_data = "5p8KvdgFw7VygwT3J19dqDRDHDFUt6wKdDiA4s1kctdf" [registry] url = "https://api.apr.dev" diff --git a/basics/account-data/poseidon/programs/account_data/src/lib.rs b/basics/account-data/poseidon/programs/account_data/src/lib.rs index a1aef49bd..3949c9b77 100644 --- a/basics/account-data/poseidon/programs/account_data/src/lib.rs +++ b/basics/account-data/poseidon/programs/account_data/src/lib.rs @@ -1,5 +1,5 @@ use anchor_lang::prelude::*; -declare_id!("5wF2itZNsDcf5s1SdcdJPdgBSTFAKjj6YbdicLFYi8vN"); +declare_id!("5p8KvdgFw7VygwT3J19dqDRDHDFUt6wKdDiA4s1kctdf"); #[program] pub mod address_info { use super::*; diff --git a/basics/account-data/poseidon/ts-programs/src/accountData.ts b/basics/account-data/poseidon/ts-programs/src/accountData.ts index ca4b54b73..9455e6b5b 100644 --- a/basics/account-data/poseidon/ts-programs/src/accountData.ts +++ b/basics/account-data/poseidon/ts-programs/src/accountData.ts @@ -1,7 +1,7 @@ import { Account, Pubkey, Result, Signer, u8, u16, u32 } from '@solanaturbine/poseidon'; export default class AddressInfo { - static PROGRAM_ID = new Pubkey('5wF2itZNsDcf5s1SdcdJPdgBSTFAKjj6YbdicLFYi8vN'); + static PROGRAM_ID = new Pubkey("5p8KvdgFw7VygwT3J19dqDRDHDFUt6wKdDiA4s1kctdf"); initialize(owner: Signer, state: AddressInfoState, houseNumber: u8, streetNumber: u16, zipCode: u32, countryCode: u16): Result { state.derive(['account_data', owner.key]).init();