-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
feat: integrate offer button #4554
Conversation
✅ Deploy Preview for koda-nuxt ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
WARNING @preschian PR for issue #4542 which isn't assigned to you. Please be warned that this PR may get rejected if there's another assignee for issue #4542 |
I need your help @roiLeo @Jarsen136. Does the offer button work on your side on this PR? I just followed the |
wfm, block hash 0xa537886e39455a2d6e0cde1f96177433b5d4c65d996422f9abf0dc1431c6c9ad it's been a few weeks that Snek [Rococo] endpoint is "stuck" but you can see that the call has been made on chain note: success toast didn't show up |
WFM too |
I see, thanks. I will refactor a little bit and then would be ready for review |
After Brick I sense @vikiival updated only snek@05 for BSX, not for Rococo? |
Looks like something is wrong with offers. I pinged BSX team |
I've made offer on this one https://deploy-preview-4554--koda-nuxt.netlify.app/bsx/gallery/2608295324-7 But it seems on old one doesn't show up. https://basilisk.subscan.io/extrinsic/2460385-2 Oh, seems it's on Basilisk team side something ... |
Offers should be already available |
Tx is good but it's not visible for me on snek Rococo |
Because the one that @yangwao made was on BSX |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On dark mode text is hard to see
I've tested it on /snek/gallery/659233203-7?redesign=true
and when I log item
I find a wrong tokenId
{
"interaction": "MAKE_OFFER",
"currentOwner": "bXhWeVLtArWauM8UmbaVdDmXmo5uSDk6DAa2YxQ5zbt2sDcbW",
"day": 3,
"price": ".1",
"tokenId": "659233203-659233203-7",
"urlPrefix": "snek",
"successMessage": "Offer successfully created",
"errorMessage": "Failed to send item"
}
ouch, updated |
✅ Block hash: 0xe77afe69d0712c73bfc45df5a9ac5300ba46d22bb05bf548bfd281ab24e76546 on Rococo Still blocked by kodadot/snek#130 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
Merged |
https://squiki.kodadot.workers.dev/status/snekk new endpoint again??? ( |
Following good practises |
should I change it to this endpoint in this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ wfm 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Smol
|
||
import type { ActionOffer } from './types' | ||
|
||
export async function execTsxOffer(item: ActionOffer, api, executeTransaction) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
execTsxOffer
exec{What}Tx
?
export async function execTsxOffer(item: ActionOffer, api, executeTransaction) { | |
export async function exectMakeOfferTx(item: ActionOffer, api, executeTransaction) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let it roll 🎲
Code Climate has analyzed commit 698aea9 and detected 0 issues on this pull request. View more on Code Climate. |
Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type
Context
Before submitting pull request, please make sure:
Optional
Had issue bounty label?
Community participation
Screenshot 📸