Comments (5)
As part of this overhaul, we may find it useful to break apart "units" into specialized units that are independently priced (ex: CPU, State, Size)
Related work: https://angeris.github.io/papers/block-space.pdf (https://arxiv.org/abs/2208.07919)
from hypersdk.
It would also be great if we can find some way to remove the notion of block cost and surplus fee.
We should ideally just refund anything above the required fee.
from hypersdk.
With the current parameters, a "full" block can sometimes only be ~200KB:
from hypersdk.
We should require a state deposit that is returned when state is freed (minus some penalty) to discourage state bloat attacks.
from hypersdk.
Have a few that is always charged and then have a storage fee that if not paid, causes the tx to revert.
Both should be included in the tx result (we should not deduct balance hidden).
We can also deduct keys requested to prefetch from this balance too.
from hypersdk.
Related Issues (20)
- add support for handling common.AppError
- this must be callable in the factory before initializing
- expose these knobs for developers
- take fee out of balance?
- integration tests require MinBlockGap to be 0, so that BuildBlock can be called
- create our own errors so no need for a dependecy to avalanche go here
- Make sure the minimum version of bytemuck_derive is codified
- Fix State Sync until Cancel Ignores Errors
- would be a good simulator test if we check token_x and token_y ID to be the same
- remove by returning an verification error from the submit tx api
- delete me (is there a mininum length for the bot to create an issue)
- don't use this const and instead adjust this per stored type
- Make Context Mockable for testing
- avalanchego `math` package `Add64` and `Mul64` are deprecated
- Track size of example output wasm as a type of benchmark
- Clarification of StateKeysMaxChunks HOT 1
- Should Automatic Marshaling Remove or Retain Size, Marshal, and Unmarshal in the Action Interface? HOT 3
- Bug Report : Validator not being able to produce block in the targeted time window HOT 3
- Conditionally compile `Context`
- Force users to call a `contract!()` marco at the top of the file
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 hypersdk.