Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ‘©β€πŸš’ Add bids provider #12

Merged
merged 15 commits into from
Apr 16, 2024
Merged

Conversation

b-tarczynski
Copy link
Collaborator

@b-tarczynski b-tarczynski commented Apr 16, 2024


@b-tarczynski b-tarczynski requested a review from p-sad April 16, 2024 11:34
Copy link

netlify bot commented Apr 16, 2024

❌ Deploy Preview for devcon-raffle failed.

Name Link
πŸ”¨ Latest commit c0e6ad6
πŸ” Latest deploy log https://app.netlify.com/sites/devcon-raffle/deploys/661e79d04cf176000891abb5

# Conflicts:
#	packages/frontend/src/blockchain/auctionAddresses.ts
#	packages/frontend/src/pages/_app.tsx
#	packages/frontend/src/pages/index.tsx
#	packages/frontend/src/providers/wagmi.tsx
@b-tarczynski b-tarczynski enabled auto-merge (squash) April 16, 2024 13:06
Comment on lines 71 to 77
if (a.amount === b.amount) {
return 0
}
if (a.amount > b.amount) {
return -1
}
return 1
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could be Number(b.amount - a.amount) I believe

Copy link
Collaborator

Choose a reason for hiding this comment

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

We could cover it with tests to make sure if the logic's right too

@b-tarczynski b-tarczynski merged commit 1223af1 into master Apr 16, 2024
0 of 4 checks passed
@b-tarczynski b-tarczynski deleted the bartek/bids-provider branch April 16, 2024 13:15
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