Skip to content

Conversation

@cctdaniel
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Feb 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 7:01pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 7:01pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 7:01pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2025 7:01pm
entropy-debugger ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2025 7:01pm
insights ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2025 7:01pm

@cctdaniel cctdaniel changed the title feat(pulse): add getLastActiveRequests function to retrieve active requests feat(pulse): add getFirstActiveRequests function to retrieve active requests Feb 12, 2025
Copy link
Collaborator

@ali-behjati ali-behjati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment on lines +934 to +953
function testRequestScenarios(
bytes32[] memory priceIds,
bytes[] memory updateData
) private {
// Test 1: Request more than available
checkMoreThanAvailable();

// Test 2: Request exact number
checkExactNumber();

// Test 3: Request fewer than available
checkFewerThanAvailable();

// Test 4: Request zero
checkZeroRequest();

// Test 5: Clear all and check empty
clearAllRequests(updateData, priceIds);
checkEmptyState();
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a strong opinion but if these are different tests maybe they can be different tests?

@cctdaniel cctdaniel merged commit 9b2b626 into main Feb 25, 2025
11 checks passed
@cctdaniel cctdaniel deleted the pulse-request branch February 25, 2025 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants