Giter VIP home page Giter VIP logo

Comments (20)

kdembler avatar kdembler commented on August 15, 2024 2

Joystream is facing the same issue (Redirecting from route "/staking" to "/explorer", missing the following APIs: ["query.staking.erasStakersOverview"]) due to older staking runtime pallet. Hopefully this page could be made backwards compatible, otherwise we will need to host old version of apps ourselves.

from apps.

TarikGul avatar TarikGul commented on August 15, 2024 2

My main question is whether the apps-ui team has any plans for providing backwards compatibility to address this issue, or if the fix requires upgrading to the latest version of substrate. Understanding the roadmap for resolving this would be immensely helpful for our next steps.

First apologies on any issues this causes. Usually speaking I would aim from the start to ensure backwards compatibility but this specific problem with the new staking changes was a pretty wide net that extended from the @polkadot/api-derive package all the way to apps. So it wasn't as simple as providing compatibility in just the UI. Also it's hard to track every chain and what they use, especially when things become urgent.

The compatibility on the api level is the hardest here, as that is where all the observable calls, aggregation, and structuring happens for all the information that the staking UI leverages.

Hopefully this page could be made backwards compatible, otherwise we will need to host old version of apps ourselves.

This is never a bad idea.

That all being said, I am OOO for the next week (including today), but when back I will try to look into potential solutions to bring this compatibility solution to a more manageable and maintainable path moving forward. Maybe the best most reasonable solution (for now) is bringing compatibility to the api-derive staking level first, and just make a copy of the old staking page, call it staking-legacy, and alias the text to be staking in the UI so the experience feels the same.

from apps.

marc-aurele-besner avatar marc-aurele-besner commented on August 15, 2024 2

In the meantime, anyone can use the Old IPFS CID 😄

from apps.

nuel77 avatar nuel77 commented on August 15, 2024 2

Thanks alot @TarikGul 👍

from apps.

PdexFan avatar PdexFan commented on August 15, 2024 1

In the meantime, anyone can use the Old IPFS CID 😄

I can confirm that this solution is not working for Polkadex Main Network.

from apps.

TarikGul avatar TarikGul commented on August 15, 2024 1

@nuel77 Just as a heads up I am now tackling this along with fixing staking for the relay chains simultaneously. Hopefully this will all be fixed on the API level today, then I can start tackling the UI bits.

from apps.

TarikGul avatar TarikGul commented on August 15, 2024 1

This is now fixed in the live version!

from apps.

kdembler avatar kdembler commented on August 15, 2024

@jacogr @TarikGul

from apps.

marc-aurele-besner avatar marc-aurele-besner commented on August 15, 2024

In the meantime, anyone can use the Old IPFS CID 😄

I can confirm that this solution is not working for Polkadex Main Network.

I apologize if this solution doesn't help you. An ex-colleague had asked me how to find an old IPFS version of the app due to issues with the current app affecting him on another network, so I thought I would share this link here as well.

For reference, see the CID Log History if needing older CID

from apps.

nuel77 avatar nuel77 commented on August 15, 2024

Thanks a lot for the update @TarikGul , looking forward to it 🥂

from apps.

MoyStell74 avatar MoyStell74 commented on August 15, 2024

Good morning everyone, I'm in the same situation, I can't see my goal on the mainet page polkadot.js polkadex network....I trust the team for a prompt update. We are aware
Success

from apps.

TarikGul avatar TarikGul commented on August 15, 2024

The basis for backwards compatibility was merged into the API yesterday polkadot-js/api#5868, I just have one more porblem to tackle in the API to fix for claimed rewards with the new staking pallet then the changes will be released and reflected in apps.

from apps.

MoyStell74 avatar MoyStell74 commented on August 15, 2024

La base para la compatibilidad con versiones anteriores se fusionó en la API ayer polkadot-js/api#5868 . Solo tengo un problema más que abordar en la API para solucionar las recompensas reclamadas con la nueva paleta de apuestas, luego los cambios se publicarán y se reflejarán en las aplicaciones. .

I have been using the polkadex mainnet in polkadot.js for staking since 2021 and for about 3 weeks I have not been able to see the staking section on the network.
I can't make validator changes
I can't add more pdex
I can't withdraw
I can only make transactions with my rewards.
Can you tell me if this is going to be updated or is there another way to enter?
please
thank you

from apps.

TarikGul avatar TarikGul commented on August 15, 2024

@MoyStell74 Yes, I am currently working on it as we speak: #10553

from apps.

MoyStell74 avatar MoyStell74 commented on August 15, 2024

@MoyStell74Sí, actualmente estoy trabajando en ello mientras hablamos: #10553
THANK YOU

from apps.

TarikGul avatar TarikGul commented on August 15, 2024

@MoyStell74 If you really need to access the staking page for polkadex you can just run apps locally, at the commit before the changes.

The commit is ca3f368

You just need to pull down apps, and run the following.

$ git checkout ca3f368d47d381e128435ebb6dc587b704940bd1
$ yarn install && yarn start

Then go to http://localhost:3000/?rpc=wss%3A%2F%2Fpolkadex-mainnet-rpc.dwellir.com#/staking

And it will work as it previously did.

from apps.

nuel77 avatar nuel77 commented on August 15, 2024

La base para la compatibilidad con versiones anteriores se fusionó en la API ayer polkadot-js/api#5868 . Solo tengo un problema más que abordar en la API para solucionar las recompensas reclamadas con la nueva paleta de apuestas, luego los cambios se publicarán y se reflejarán en las aplicaciones. .

I have been using the polkadex mainnet in polkadot.js for staking since 2021 and for about 3 weeks I have not been able to see the staking section on the network. I can't make validator changes I can't add more pdex I can't withdraw I can only make transactions with my rewards. Can you tell me if this is going to be updated or is there another way to enter? please thank you

@MoyStell74 you can also try this which is an a old version of the apps UI hosted by the PolkaGate team. if you are facing any emergency use case.

from apps.

TarikGul avatar TarikGul commented on August 15, 2024

PR is up and basically donte to fix the missing staking page: #10557

The tab is the same the only difference is the routing which is now legacy-staking

from apps.

TarikGul avatar TarikGul commented on August 15, 2024

Feel free to test it locally if you would like!

from apps.

polkadot-js-bot avatar polkadot-js-bot commented on August 15, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

from apps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.