import { RetrySolanaRpcFactory } from "../solana/retryRpcFactory";
// Creates mocked retry Solana RPC factory by using the mocked rate limited Solana RPC factory.
export class MockRetrySolanaRpcFactory extends RetrySolanaRpcFactory {
    constructor(mockRateLimitedSolanaRpcFactory, ...retryConstructorParams) {
        super(...retryConstructorParams);
        // Use the mock rate limited transport instead of creating a real one
        this.rateLimitedTransport = mockRateLimitedSolanaRpcFactory.createTransport();
        this.logger = mockRateLimitedSolanaRpcFactory.logger;
    }
}
//# sourceMappingURL=MockRetrySolanaRpcFactory.js.map