From 4de17bf4bc4d62d69b3df42baa31543124e48e90 Mon Sep 17 00:00:00 2001 From: acheron Date: Thu, 28 Mar 2024 01:57:33 +0100 Subject: [PATCH] tests: Remove cloning `token-2022` from mainnet RPC Cloning doesn't work properly (see https://github.com/anza-xyz/agave/issues/436). New Solana releases also include stable `token-2022` version, which makes cloning from live clusters redundant. --- tests/escrow/Anchor.toml | 8 -------- tests/spl/token-proxy/Anchor.toml | 8 -------- tests/spl/token-wrapper/Anchor.toml | 8 -------- tests/spl/transfer-hook/Anchor.toml | 8 -------- 4 files changed, 32 deletions(-) diff --git a/tests/escrow/Anchor.toml b/tests/escrow/Anchor.toml index 494e0f3c5f..6639e2a570 100644 --- a/tests/escrow/Anchor.toml +++ b/tests/escrow/Anchor.toml @@ -7,11 +7,3 @@ escrow = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS" [scripts] test = "yarn run ts-mocha -t 1000000 tests/*.ts" - -[features] - -[test.validator] -url = "https://api.mainnet-beta.solana.com" - -[[test.validator.clone]] -address = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" diff --git a/tests/spl/token-proxy/Anchor.toml b/tests/spl/token-proxy/Anchor.toml index 46bef61d28..5c5f278453 100644 --- a/tests/spl/token-proxy/Anchor.toml +++ b/tests/spl/token-proxy/Anchor.toml @@ -7,11 +7,3 @@ token_proxy = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS" [scripts] test = "yarn run mocha -t 1000000 tests/" - -[features] - -[test.validator] -url = "https://api.mainnet-beta.solana.com" - -[[test.validator.clone]] -address = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" diff --git a/tests/spl/token-wrapper/Anchor.toml b/tests/spl/token-wrapper/Anchor.toml index 0ad934e07d..bc8910bfa9 100644 --- a/tests/spl/token-wrapper/Anchor.toml +++ b/tests/spl/token-wrapper/Anchor.toml @@ -7,11 +7,3 @@ token_wrapper = "4ZPcGU8MX8oL2u1EtErHzixAbgNBNeE9yoYq3kKMqnAy" [scripts] test = "yarn run ts-mocha -t 1000000 tests/*.ts" - -[features] - -[test.validator] -url = "https://api.mainnet-beta.solana.com" - -[[test.validator.clone]] -address = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" diff --git a/tests/spl/transfer-hook/Anchor.toml b/tests/spl/transfer-hook/Anchor.toml index fe0caa8f55..b57671cfb2 100644 --- a/tests/spl/transfer-hook/Anchor.toml +++ b/tests/spl/transfer-hook/Anchor.toml @@ -7,11 +7,3 @@ transfer_hook = "9vaEfNU4HquQJuNQ6HYrpJW518a3n4wNUt5mAMY2UUHW" [scripts] test = "yarn run ts-mocha -t 1000000 tests/*.ts" - -[features] - -[test.validator] -url = "https://api.mainnet-beta.solana.com" - -[[test.validator.clone]] -address = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"