Adding v1 of the new ETH filter for pools#196
Adding v1 of the new ETH filter for pools#196Gerson2102 wants to merge 7 commits intotrovesfi:devfrom
Conversation
|
I dont know how to create the vercel link needed in the PR. I deleted the initial messages of the PRs description. |
|
|
I'm banned and I dont know why, I just posted an error that I'm facing in Vercel while deploying the app. @EjembiEmmanuel @akiraonstarknet I'm trying to deploy mi forked version of starkfarm, and I'm getting this error: Error occurred prerendering page "/api/strategies". Read more: https://nextjs.org/docs/messages/prerender-error |
Does the project build locally without errors? If yes, then it might be that you didn't configure the environment variables correctly. |
|
@Gerson2102 make sure you set the following env variables
|
|
I'm getting three errors locally: @EjembiEmmanuel |
|
These are my env variables: NEXT_PUBLIC_RPC_URL=https://starknet-mainnet.public.blastapi.io DATABASE_URL= ACCOUNT_PK=0x0574ba4998dd9aedf1c4d6e56b747b29256a795bc3846437d121cd64b972bdd8 CRON_SECRET= NEXT_PUBLIC_NETWORK=mainnet |
You don't need to set the HOSTNAME when deploying on vercel |
I will check and revert |
Yeah, I was sharing my local env variables. The env variables for vercel are the ones that you told me. |
Oh okay |
@EjembiEmmanuel can we add this to our .env.sample? Raise a new and PR for this. Also add necessary comments for variables on how people can get them which are not publicly availble. |
Alright |
|
@Gerson2102 I just pushed a minor fix. Can you try deploying on vercel again? |
|
@EjembiEmmanuel CI is failing but dont understand why. Locally is not working either. |
This url is for your private deployment. Please share the public url instead |
It's the same thing |
Can you explain how to do that? Don't you think is easier? |
|
Try this one: https://starkfarm-client-steel.vercel.app |
Still doesn't work. Maybe try deleting the deployment and creating a new one |
|
|
@EjembiEmmanuel I closed it but it was a mistake. |
|
This is the only link that I can share: https://starkfarm-client-steel.vercel.app/ |
The CI is failing because of unsuccessful RPC calls, it could be that the CI is using the RPC url for sepolia instead of mainnet. Try to create a |
Yea, that's why I said you should delete the current deployment and create a new one. Maybe it'll fix it |
|
Got it. Run the CI now please. |
Still failing. How did you set the create variable? |
Just like you said. I went to my fork and create a secret variable. RPC_URL and then the value. |
|
The CI is failing because there is errors on these paths: /api/stats/route: /api/stats But there is nothing wrong when I check the code in my IDE |
The error is not coming from the code, the code is fine |
Alright then, just ignore it for now |
|
The eth filter is working fine. |
EjembiEmmanuel
left a comment
There was a problem hiding this comment.
@Gerson2102 the Vercel link you provided doesn't work. Please deploy your app again on Vercel and provide the link in the description.
This one works! |
Ok, and now? |
Yea, it works |
EjembiEmmanuel
left a comment
There was a problem hiding this comment.
@akiraonstarknet lgtm!
|
@Gerson2102 had to modify some logic to properly implement the logic. Closing this PR in favour of https://github.com/strkfarm/starkfarm-client/pull/211 |






PR Fixes:
Adding version 1 of the ETH pool filter. This PR is ready for review.
Resolves #192
Vercel website link
https://starkfarm-client-steel.vercel.app?_vercel_share=Wn9sG02N8Lcja8AZoQSgNVkQR032rLFX
Checklist before requesting a review