-
A custom executive is required in Subspace, specifically, we would like to have a hook right after `initialize_block` and `apply_extrinsic` to collect the intermediate storage root during the entire b…
-
## What is it?
A governance system on L2 which trustlessly determines user voting power based on their L1 account history.
## How does it work?
Users prove their voting power to an L2 contract …
-
## Cache storage values
Storage variables that are re-read in the same function can be cached to avoid expensive SLOAD and save gas
### Proof of concept
`versionNFTCollection` in
https://github.c…
-
this implementation currently relies on [merkletree.js](https://github.com/merkletreejs/merkletreejs) to handle the following: construcing the tree, generating proofs for each leaf in the tree, verify…
-
While writing a proof-of-concept importer for the [1Password Events API](https://developer.1password.com/docs/events-api/reference/#about-the-api), I wanted to store the API token in Keyring and lever…
-
I can emulate query storage at by fetching each key individually, but I don't see how I can substitute storage keys paged.
-
### Pitch
Occasionally an instance might be particularly interested in backfilling the posts of one remote user, for example because of a migration (https://github.com/mastodon/mastodon/issues/19902)…
-
1. Using bools for storage incurs overhead
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// …
-
# Lines of code
https://github.com/code-423n4/2024-03-acala/blob/9c71c05cf2d9f0a2603984c50f76fc8a315d4d65/src/modules/incentives/src/lib.rs#L230
# Vulnerability details
## Impact
The `deposit_dex…
-
### What is wrong
We need an auditing strategy for state network.
Ideally, the strategy avoids some of the inherent complexity such as:
- lack of easy access to knowing what state data exists…