Comments (4)
Aha, just dawned on me what the issue is - for type Timestamp
we allocate a new Date object, here we try to work with a BN.
However, this one shouldn't be visible, it is an inherent extrinsic - the hidden flag is set, so the filtering is not checking for these to hide them -
https://github.com/polkadot-js/types/blob/master/packages/extrinsics/src/timestamp.js#L14
There is no filtering here -
And some filtering here which doesn't lock out isHidden (not on the section, not on methods inside the section - methods should get filtered, when none left, section is also not displayed)
Contrast this to storage, where actual filtering does take place -
https://github.com/polkadot-js/apps/blob/master/packages/ui-app/src/InputStorage/options/key.js#L23
from apps.
poc-1 chain I see... It could be that something broke in my last types
(or even util
) update - not sure what, will have to dig :(
EDIT: And the above is funky, since after the last noticiable upgrade, did do a couple of spot-checks, and that was exactly one of them.
from apps.
@jacogr In the files https://github.com/polkadot-js/apps/blob/master/packages/ui-app/src/InputStorage/options/key.tsx and https://github.com/polkadot-js/apps/blob/master/packages/ui-app/src/InputStorage/options/section.tsx, it doesn't contain type: 'private' | 'public'
in the creationOptions
function. Should we change it so it considers methods values that are contained within both the private
and public
keys (as it only seems to care about public
ones at the moment), as can be seen performed in https://github.com/polkadot-js/apps/blob/master/packages/ui-app/src/InputExtrinsic/options/method.tsx?
Also, in https://github.com/polkadot-js/apps/blob/master/packages/ui-app/src/InputStorage/options/section.tsx, should the line return !section.isDeprecated && methods.length !== 0;
instead be return !section.isDeprecated && !section.isHidden && methods.length !== 0;
?
from apps.
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)
- Add generator to api.derive.staking.query HOT 1
- Unavailable chain endpoints Thu, Apr 25 2024, 3:09:41 am
- Staking Page Missing in Polkadex UI After Latest Changes HOT 6
- Aaa HOT 2
- Unavailable chain endpoints Fri, Apr 26 2024, 3:08:03 am
- Clipboard buttons for Block Details HOT 1
- please add icon to the coretime chain HOT 4
- Bug report - Network>Staking>Payouts - Own Stash not loading HOT 6
- Network>Staking>Payout displays old Eras that have already been paid HOT 2
- Unavailable chain endpoints Sat, Apr 27 2024, 3:03:35 am HOT 2
- Explorer not Decoding Blocks with Some Asset Transfers HOT 4
- Unavailable chain endpoints Sun, Apr 28 2024, 3:06:08 am
- Unavailable chain endpoints Mon, Apr 29 2024, 3:04:49 am HOT 1
- Staking Interface Not Appearing in SORA HOT 4
- Wallet Selector for Polkadot.js Apps UI
- Era HOT 1
- Unavailable chain endpoints Tue, Apr 30 2024, 3:05:33 am HOT 1
- Unavailable chain endpoints Wed, May 1 2024, 3:05:28 am HOT 1
- Unavailable chain endpoints Thu, May 2 2024, 3:05:33 am HOT 1
- Unavailable chain endpoints Fri, May 3 2024, 3:05:24 am HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apps.