-
Notifications
You must be signed in to change notification settings - Fork 525
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
RegionX: Milestone 2 Delivery #1147
Conversation
Thanks for the delivery @Szegoo I will look into it tomorrow. |
Hi @Szegoo sorry for the delay: In
I'm assuming this is probably an issue with the path? Will look into it further tomorrow. |
@keeganquigley Thanks for reporting this. I looked into it and it seems like there was an error with the |
|
Output```js > [6/6] RUN npm run build: 0.897 0.897 > build 0.897 > next build 0.897 1.899 Attention: Next.js now collects completely anonymous telemetry regarding usage. 1.899 This information is used to shape Next.js' roadmap and prioritize features. 1.899 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: 1.899 https://nextjs.org/telemetry 1.899 2.043 Linting and checking validity of types ... 8.721 8.721 ./src/components/Modals/Partition/index.tsx 8.721 85:6 Warning: React Hook useEffect has missing dependencies: 'regionMetadata.region' and 'timeslicePeriod'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/components/Modals/TaskAssign/index.tsx 8.721 120:6 Warning: React Hook useEffect has a missing dependency: 'tasks'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/components/elements/ListingCard/index.tsx 8.721 103:6 Warning: React Hook useEffect has missing dependencies: 'api', 'apiState', 'region', and 'timeslicePeriod'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/components/elements/RegionCard/index.tsx 8.721 116:6 Warning: React Hook useEffect has missing dependencies: 'api', 'apiState', 'region', and 'timeslicePeriod'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/components/elements/SaleInfo/index.tsx 8.721 54:6 Warning: React Hook useEffect has a missing dependency: 'saleInfo.saleStart'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/contexts/apis/CoretimeApi/index.tsx 8.721 43:6 Warning: React Hook useEffect has a missing dependency: 'toastError'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 48:6 Warning: React Hook useEffect has a missing dependency: 'toastSuccess'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/contexts/apis/RelayApi/index.tsx 8.721 32:6 Warning: React Hook useEffect has a missing dependency: 'toastError'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 37:6 Warning: React Hook useEffect has a missing dependency: 'toastSuccess'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 52:6 Warning: React Hook useEffect has a missing dependency: 'state'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/contexts/common/index.tsx 8.721 52:6 Warning: React Hook useEffect has a missing dependency: 'collectContextData'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/contexts/market/index.tsx 8.721 194:6 Warning: React Hook useEffect has a missing dependency: 'fetchMarket'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/contexts/regions/index.tsx 8.721 146:6 Warning: React Hook useEffect has a missing dependency: 'fetchRegions'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 150:6 Warning: React Hook useEffect has a missing dependency: 'fetchRegions'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/contexts/sales/index.tsx 8.721 109:6 Warning: React Hook useEffect has a missing dependency: 'fetchSaleInfo'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/pages/purchase.tsx 8.721 59:6 Warning: React Hook useEffect has missing dependencies: 'fetchBalance', 'fetchCurreentPrice', and 'fetchCurrentPhase'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 ./src/pages/transfer/ChainSelector.tsx 8.721 26:1 Warning: Assign arrow function to a variable before exporting as module default import/no-anonymous-default-export 8.721 8.721 ./src/pages/transfer/RegionSelector.tsx 8.721 36:1 Warning: Assign arrow function to a variable before exporting as module default import/no-anonymous-default-export 8.721 8.721 ./src/pages/transfer/index.tsx 8.721 86:6 Warning: React Hook useEffect has a missing dependency: 'handleNonWrappedRegions'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 8.721 8.721 info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules 9.343 Failed to compile. 9.343 9.345 ./src/components/Modals/TaskAssign/index.tsx:132:15 9.345 Type error: Type 'string | number' is not assignable to type 'string | undefined'. 9.345 Type 'number' is not assignable to type 'string'. 9.345 9.345 130 | 9.345 131 | 132 | value={taskSelected || ''} 9.345 | ^ 9.345 133 | onChange={(e) => selectTask(Number(e.target.value))} 9.345 134 | > 9.345 135 | {tasks.map(({ name, id }, index) => ( 9.386 npm notice 9.386 npm notice New minor version of npm available! 10.2.4 -> 10.5.0 9.387 npm notice Changelog: 9.387 npm notice Run `npm install -g [email protected]` to update! 9.387 npm notice ------ Dockerfile:22 -------------------- 20 | RUN npm i; 21 | 22 | >>> RUN npm run build 23 | CMD ["npm", "start"] 24 | EXPOSE 3000 -------------------- ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1 ubuntu@ip-172-31-25-23:~/CoreHub$ ``` |
Hi @Szegoo I was able to get everything to work successfully on my Mac locally so you can disregard the above. However, I am trying to use purachase cores at https://app.regionx.tech/purchase and it says I have a 0 ROC balance on the coretime chain. I have a ROC balance on both the relay chain and contracts chain so how can I transfer some over? Otherwise can you send some to 5H1SgrToMp1RYhbUjzQmVxpRGRvo3s2j4xKUjCWJ9GQAVREM thanks! |
@keeganquigley The linting warnings have now been resolved, so could you please pull the changes from the master branch? However, I was unable to replicate the error. I will test it today on a Linux machine.
The initialization script will set up your account with some initial balance:
A page for cross-chain transferring ROC from the relay chain will be added once we receive improved designs: RegionX-Labs/CoretimeHub#53. Until then, ROC can be teleported with PJS. I have also sent some ROC to your account. I also transferred a region from the previous bulk sale. |
Thanks for your help @Szegoo everything looks great now. Here is my final evaluation. It was fun being able to play around with coretime in such an easy and intuitive interface. Thanks for your hard work and congrats on completion of the grant. Hope to see RegionX succeed! |
🪙 Please fill out the invoice form in order to initiate the payment process. Thank you! |
We noticed that this is the last milestone of your project. Congratulations on completing your grant! 🎊 So, where to from here? First of all, you should join our Grants Community chat, if you haven't already, so we can stay in touch. For a more comprehensive list, see our Alternative Funding page. Let us know if you have any questions regarding the above. We are more than happy to point you to additional resources and help you determine the best course of action. |
hi @Szegoo we sent the payment today |
Milestone Delivery Checklist
Link to the application pull request: w3f/Grants-Program#2080