Bundle Explorer (prototype) shows modules, sizes from InstallBundle tx #8416
Replies: 6 comments
-
deployed at https://bundle-explorer1.netlify.app/unbundle.html also:
For example: KREAd aux proposal bundle tx 95B037... |
Beta Was this translation helpful? Give feedback.
-
I looked into differential bundle loading. The last half of the rows in summary.csv suggest that we'd save about 90% on contract uploads if we exclude stuff that's already on chain. And the remaining 10% is dominated by |
Beta Was this translation helpful? Give feedback.
-
@dckc thanks for Bundle Explorer. I took the code and ported it to the explorer I am playing with using Appsmith. Following features were added in it.
|
Beta Was this translation helpful? Give feedback.
-
I added showing the bundle hash in the gist |
Beta Was this translation helpful? Give feedback.
-
I'm starting to add bundle upload. Things were getting a little complex, so I started migrating to vite + lit-ts https://github.com/agoric-labs/bundle-tool2
|
Beta Was this translation helpful? Give feedback.
-
I tried adding a download as zip feature, but got bogged down. IOU a copy of my WIP. |
Beta Was this translation helpful? Give feedback.
-
@anilhelvaci asked about the cost of deploying bundles and if there's a way to reduce bundle size. I offered to take a look at their bundle for opportunities.
I made a quick-n-dirty bundle explorer:
It started as a bundle explorer gist to look at the swingset.MsgInstallBundle transaction for the crabble contract on
agoricdev-21
..
To use it, you currently have to download unbundle.html an unbundle.js and use a static HTTP server. I suppose I could host it somewhere...
Browsing through the bundle contents, I'm reminded that in due course, you should only need to pay for new modules:
In the shorter term, there's some possible clean-up we are looking into:
cc @kriskowal @turadg @warner
Beta Was this translation helpful? Give feedback.
All reactions