Monorepo for apps in phala.
phala-network / apps Goto Github PK
View Code? Open in Web Editor NEWMonorepo for apps in phala.
Monorepo for apps in phala.
I am unable to connect the polkadot.js browser extension to the Phala Web App. This worked until late last week and has failed since then. I have tried the following:
OS: Windows
Polkadot.js Extension Version: 0.41.2 on Chrome, 0.41.1 on Brave
I have also noticed a similar problem with the Karura app. I posted this issue here as well, but per the response they say that this is an application development issue on the Khala side.
Feture request
Add ownerReward column in Mining Page
Add claim ownerReward button for each pool
Please see the video. it looks like overflow.
TypeError is occurred when I entered page https://app.phala.network/mining/ and saw the console log.
Sometimes after refresh the webpage a few times, the website can no longer connect to the Polkadot.js extension. Refresh a few times may help, but not always. If open an incognito window or switch to another browser where never opened the app, it can connect without any problem.
Not sure if cleaning the website cache & data can help.
When it fails, we can get the console outputs:
app-136d2c85c795ebcd7ed9.js:2 i18next: languageChanged it-IT
app-136d2c85c795ebcd7ed9.js:2 i18next: initialized Object
app-136d2c85c795ebcd7ed9.js:2 defaultNetwork khala
inpage.js:1 You are accessing the MetaMask window.web3.currentProvider shim. This property is deprecated; use window.ethereum instead. For details, see: https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3
get @ inpage.js:1
app-136d2c85c795ebcd7ed9.js:2 web3Enable: Enabled 1 extension: polkadot-js/0.40.1
app-136d2c85c795ebcd7ed9.js:2 [Web3Context] Injected extensions: polkadot-js (0.40.1)
app-136d2c85c795ebcd7ed9.js:2 2021-09-18 20:31:57 REGISTRY: Unknown signed extensions CheckMqSequence found, treating them as no-effect
(anonymous) @ app-136d2c85c795ebcd7ed9.js:2
app-136d2c85c795ebcd7ed9.js:2 Uncaught Error: Expected a valid key to convert, with length 1, 2, 4, 8, 32, 33
at i (app-136d2c85c795ebcd7ed9.js:2)
at c (app-136d2c85c795ebcd7ed9.js:2)
at 564-85e1de33cb2f7cd14a24.js:1
at Array.map (<anonymous>)
at S (564-85e1de33cb2f7cd14a24.js:1)
at 564-85e1de33cb2f7cd14a24.js:1
at Array.reduce (<anonymous>)
at i (564-85e1de33cb2f7cd14a24.js:1)
at Object.subscriber (564-85e1de33cb2f7cd14a24.js:1)
at page.js:2
at page.js:2
app-136d2c85c795ebcd7ed9.js:2 web3Accounts: Found 0 addresses:
app-136d2c85c795ebcd7ed9.js:2 [Web3Context] Injected accounts:
The intro of the stake pools offer various social media channels but none for a simple website.
Now imToken can connect to app and see account info after fixed #108
However, imToken failed to found wallet when trying to claim stake rewards.
Report from some miners:
app-136d2c85c795ebcd7ed9.js:2 i18next: languageChanged it-IT
app-136d2c85c795ebcd7ed9.js:2 i18next: initialized Object
app-136d2c85c795ebcd7ed9.js:2 defaultNetwork khala
app-136d2c85c795ebcd7ed9.js:2 web3Enable: Enabled 1 extension: polkadot-js/0.40.1
app-136d2c85c795ebcd7ed9.js:2 [Web3Context] Injected extensions: polkadot-js (0.40.1)
app-136d2c85c795ebcd7ed9.js:2 2021-09-19 04:23:13 REGISTRY: Unknown signed extensions CheckMqSequence found, treating them as no-effect
(anonymous) @ app-136d2c85c795ebcd7ed9.js:2
app-136d2c85c795ebcd7ed9.js:2 [Web3Context] Updated injected accounts: 45mqMLPYj2tAJNbzRuUwhds2GdQAeryYcZtQ9YRj8duKHKPM
app-136d2c85c795ebcd7ed9.js:2 web3Accounts: Found 1 address: 45mqMLPYj2tAJNbzRuUwhds2GdQAeryYcZtQ9YRj8duKHKPM
app-136d2c85c795ebcd7ed9.js:2 [Web3Context] Injected accounts: 45mqMLPYj2tAJNbzRuUwhds2GdQAeryYcZtQ9YRj8duKHKPM
app-136d2c85c795ebcd7ed9.js:2 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bdisplay%2C%20verified%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Sa (framework-05d3f9acc72f0711a6e8.js:2)
at framework-05d3f9acc72f0711a6e8.js:2
at Do (framework-05d3f9acc72f0711a6e8.js:2)
at Qu (framework-05d3f9acc72f0711a6e8.js:2)
at Ni (framework-05d3f9acc72f0711a6e8.js:2)
at Ci (framework-05d3f9acc72f0711a6e8.js:2)
at xi (framework-05d3f9acc72f0711a6e8.js:2)
at gi (framework-05d3f9acc72f0711a6e8.js:2)
at framework-05d3f9acc72f0711a6e8.js:2
at t.unstable_runWithPriority (framework-05d3f9acc72f0711a6e8.js:2)
at $l (framework-05d3f9acc72f0711a6e8.js:2)
at ql (framework-05d3f9acc72f0711a6e8.js:2)
at Ql (framework-05d3f9acc72f0711a6e8.js:2)
at t.yi [as batchNotifyFn] (framework-05d3f9acc72f0711a6e8.js:2)
at app-136d2c85c795ebcd7ed9.js:2
(anonymous) @ app-136d2c85c795ebcd7ed9.js:2
app-136d2c85c795ebcd7ed9.js:2 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bdisplay%2C%20verified%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Sa (framework-05d3f9acc72f0711a6e8.js:2)
at framework-05d3f9acc72f0711a6e8.js:2
at Do (framework-05d3f9acc72f0711a6e8.js:2)
at Qu (framework-05d3f9acc72f0711a6e8.js:2)
at Ni (framework-05d3f9acc72f0711a6e8.js:2)
at Ci (framework-05d3f9acc72f0711a6e8.js:2)
at xi (framework-05d3f9acc72f0711a6e8.js:2)
at gi (framework-05d3f9acc72f0711a6e8.js:2)
at framework-05d3f9acc72f0711a6e8.js:2
at t.unstable_runWithPriority (framework-05d3f9acc72f0711a6e8.js:2)
at $l (framework-05d3f9acc72f0711a6e8.js:2)
at ql (framework-05d3f9acc72f0711a6e8.js:2)
at Ql (framework-05d3f9acc72f0711a6e8.js:2)
at t.yi [as batchNotifyFn] (framework-05d3f9acc72f0711a6e8.js:2)
at app-136d2c85c795ebcd7ed9.js:2
(anonymous) @ app-136d2c85c795ebcd7ed9.js:2
app-136d2c85c795ebcd7ed9.js:2 Uncaught Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bdisplay%2C%20verified%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Sa (framework-05d3f9acc72f0711a6e8.js:2)
at framework-05d3f9acc72f0711a6e8.js:2
at Do (framework-05d3f9acc72f0711a6e8.js:2)
at Qu (framework-05d3f9acc72f0711a6e8.js:2)
at Ni (framework-05d3f9acc72f0711a6e8.js:2)
at Ci (framework-05d3f9acc72f0711a6e8.js:2)
at xi (framework-05d3f9acc72f0711a6e8.js:2)
at gi (framework-05d3f9acc72f0711a6e8.js:2)
at framework-05d3f9acc72f0711a6e8.js:2
at t.unstable_runWithPriority (framework-05d3f9acc72f0711a6e8.js:2)
at $l (framework-05d3f9acc72f0711a6e8.js:2)
at ql (framework-05d3f9acc72f0711a6e8.js:2)
at Ql (framework-05d3f9acc72f0711a6e8.js:2)
at t.yi [as batchNotifyFn] (framework-05d3f9acc72f0711a6e8.js:2)
at app-136d2c85c795ebcd7ed9.js:2
It seems that yarn cache still doesn't work properly in github workflow and netlify CI, will leave a issue and fix it later.
Originally posted by @kingsleydon in #111 (comment)
https://khala.subscan.io/account/3zzvndqUgtBBNitv2nCFokFvGZdJnjQvPw55bgYVpjYrBGns
Found someone using emoji in their id, pretending to be verified but actually not. It's a kind of fraud. Emoji symbol should not be parsed for pool owner.
Currently, even without entering the address and the amount, we can still click "Approve" button in the bridge page:
It's ok in the common sense but still not optimal for the noob users. We have heard reports saying they didn't understand how the bridge works and what they need to do, but still wasted the gas fee.
Suggestion: make "Approve" button disabled if the input address or the amount is empty or invalid.
Firefox 101.0.1 (64 bits)
Mac os 10.14.6
on app.phala.network, on the dashboard, I click the dots on the PHA asset line and select "brigde"
a new tab open with URL "https://subbridge.io/"
then the navigation crashes, impossible to load other pages on app.phala.network
in the console I see a CORS error :
Blocage d’une requête multiorigine (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://phalahelp.zendesk.com/embeddable_blip?type=pageView&data=eyJjaGFubmVsIjoid2ViX3dpZGdldCIsInBhZ2VWaWV3Ijp7InRpbWUiOjM4OTEyOCwibG9hZFRpbWUiOjgsIm5hdmlnYXRvckxhbmd1YWdlIjoiZnIiLCJwYWdlVGl0bGUiOiJEYXNoYm9hcmQgfCBQaGFsYSBBcHAiLCJ1c2VyQWdlbnQiOiJNb3ppbGxhLzUuMCAoTWFjaW50b3NoOyBJbnRlbCBNYWMgT1MgWCAxMC4xNDsgcnY6MTAxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTAxLjAiLCJpc01vYmlsZSI6ZmFsc2UsImlzUmVzcG9uc2l2ZSI6dHJ1ZSwidmlld3BvcnRNZXRhIjoid2lkdGg9ZGV2aWNlLXdpZHRoLCBpbml0aWFsLXNjYWxlPTEsIHNocmluay10by1maXQ9bm8iLCJoZWxwQ2VudGVyRGVkdXAiOmZhbHNlLCJyZWZlcnJlciI6Imh0dHBzOi8vYXBwLnBoYWxhLm5ldHdvcmsvZGVsZWdhdGUvIn0sImJ1aWQiOiIxMzk0YjI2N2UyMmY0MjJiYTM4OWFmN2NjODQ3OTAzOCIsInN1aWQiOiJmMDhiNGI5ZDU2ZDI0MGQwODg3OWEyMDc4NGI4Zjg5NCIsInZlcnNpb24iOiJhYWE4YWY5IiwidGltZXN0YW1wIjoiMjAyMi0wNi0yMVQyMTo0NTo1NC43NjZaIiwidXJsIjoiaHR0cHM6Ly9hcHAucGhhbGEubmV0d29yay9kZWxlZ2F0ZS8ifQ==. Raison : échec de la requête CORS. Code d’état : (null).
After trying to connect using polkadot.js extension app crashes.
I have tried clearing local storage.
Firefox updated.
Chrome works fine.
I'm sending details from console:
Uncaught Error: Permission denied to access property "nodeType"
NextJS 38
_app-c90be9ac6eaa4d4b.js:161:49917
Uncaught Error: Permission denied to access property "parentNode"
NextJS 36
_app-c90be9ac6eaa4d4b.js:161:54338
Uncaught Error: Permission denied to access property "parentNode"
NextJS 36
_app-c90be9ac6eaa4d4b.js:161:54338
Uncaught Error: Permission denied to access property "parentNode"
NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
Uncaught Error: Permission denied to access property "parentNode"
NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://phalahelp.zendesk.com/embeddable/config. (Reason: CORS request did not succeed). Status code: (null).
Uncaught Error: Permission denied to access property "parentNode"
NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
Uncaught Error: Permission denied to access property "parentNode"
NextJS 37
2 _app-c90be9ac6eaa4d4b.js:161:61421
Firefox can’t establish a connection to the server at wss://widget-mediator.zopim.com/s/W/ws/JBFUwUTIg4Fvz+a9/c/1710724370549. web-widget-chat-sdk-a8e2471.js:2:55023
Uncaught Error: Permission denied to access property "parentNode"
NextJS 37
3 _app-c90be9ac6eaa4d4b.js:161:61421
XHRPOST
https://app.phala.network/monitoring?o=812739&p=5879132
[HTTP/3 429 104ms]
Uncaught Error: Permission denied to access property "parentNode"
NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
Error: Permission denied to access property "getAttribute"
NextJS 54
_app-c90be9ac6eaa4d4b.js:156:6927
Error: Permission denied to access property "getAttribute"
NextJS 54
_app-c90be9ac6eaa4d4b.js:156:6927
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred _app-c90be9ac6eaa4d4b.js:156:6927
TypeError: i is undefined
NextJS 52
_app-c90be9ac6eaa4d4b.js:156:6927
Uncaught TypeError: i is undefined
NextJS 52
_app-c90be9ac6eaa4d4b.js:74:67899
Uncaught Error: Permission denied to access property "parentNode"
NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
Uncaught Error: Permission denied to access property "parentNode"
NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
XHRPOST
https://app.phala.network/monitoring?o=812739&p=5879132
[HTTP/3 429 99ms]
EDIT: This looks interesting, cuz I tried on different browser profile and it works fine.
May be hard to reproduce.
When switching wallets in mining page, if the previous account switches to page 2, but the other account does not have page 2, nothing will be displayed.
Want a feature that add a filter in delegate page to show verified owners only .
User Story : I recently encountered a situation in which I had a widthraw request from past 6 days and un-knowingly I clicked on widthraw again .
[OBJECTIVE]
If a Widthraw request already exist on the stake pool then the second widthraw transaction should be reverted .
[SOLUTION]
To solve this following things can be done :
Due to the failure of netlify, it is necessary to deploy on more services to ensure availability
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.