feat: remove AMM devnet (#2587)

The AMM dev network will be decommissioned on the 12/8
This commit is contained in:
Caleb Kniffen
2023-11-28 15:03:41 -06:00
committed by GitHub
parent d1ca360537
commit b555f39e40
4 changed files with 4 additions and 17 deletions

View File

@@ -6,6 +6,9 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
### Added
- Support for the DID amendment (XLS-40).
### Changed
- Remove AMM devnet which is being decommissioned
### Added
* Support for `server_definitions` RPC

View File

@@ -14,14 +14,12 @@ export interface FaucetWallet {
export enum FaucetNetwork {
Testnet = 'faucet.altnet.rippletest.net',
Devnet = 'faucet.devnet.rippletest.net',
AMMDevnet = 'ammfaucet.devnet.rippletest.net',
HooksV3Testnet = 'hooks-testnet-v3.xrpl-labs.com',
}
export const FaucetNetworkPaths: Record<string, string> = {
[FaucetNetwork.Testnet]: '/accounts',
[FaucetNetwork.Devnet]: '/accounts',
[FaucetNetwork.AMMDevnet]: '/accounts',
[FaucetNetwork.HooksV3Testnet]: '/accounts',
}
@@ -44,10 +42,6 @@ export function getFaucetHost(client: Client): FaucetNetwork | undefined {
return FaucetNetwork.Testnet
}
if (connectionUrl.includes('amm')) {
return FaucetNetwork.AMMDevnet
}
if (connectionUrl.includes('sidechain-net2')) {
throw new XRPLFaucetError(
'Cannot fund an account on an issuing chain. Accounts must be created via the bridge.',

View File

@@ -67,7 +67,7 @@ const MAX_ATTEMPTS = 20
* @param wallet - An existing XRPL Wallet to fund. If undefined or null, a new Wallet will be created.
* @param options - See below.
* @param options.faucetHost - A custom host for a faucet server. On devnet,
* testnet, AMM devnet, and HooksV3 testnet, `fundWallet` will
* testnet, devnet, and HooksV3 testnet, `fundWallet` will
* attempt to determine the correct server automatically. In other environments,
* or if you would like to customize the faucet host in devnet or testnet,
* you should provide the host using this option.

View File

@@ -82,16 +82,6 @@ describe('fundWallet', function () {
// )
// })
it(
'can generate and fund wallets on AMM devnet',
async function () {
await generate_faucet_wallet_and_fund_again(
'wss://amm.devnet.rippletest.net:51233',
)
},
TIMEOUT,
)
it(
'can generate wallet on hooks v3 testnet',
async function () {