-
# Lines of code
https://github.com/code-423n4/2023-12-particle/blob/a3af40839b24aa13f5764d4f84933dbfa8bc8134/contracts/protocol/ParticlePositionManager.sol#L217
https://github.com/code-423n4/2023-12-…
-
With #100, then Monero now has an infinitely growing nullifier set.
However it's possible to put a bound on this using merkle trees. Basically all coins belong to a large batch, call this index k. …
-
What requirements do we actually have on offchain XCMP and how does it compare to ISMP?
Some good overview on XCMP can be found [here](https://forum.polkadot.network/t/xcmp-design-discussion/7328).…
-
**What is an Mad Science Project Idea?**
A Mad Science Project Idea is an idea for a project within the Optimism ecosystem that may not have clear value but is generally cool as heck. Mad Science P…
-
# 1. Loops can be more efficient
## Impact
The local variable used as for loop index need not be initialized to 0 because the default value is 0. Avoiding this anti-pattern can save a few opcodes an…
-
**Table of Contents:**
- [Use of the `memory` keyword when `storage` should be used](#use-of-the-memory-keyword-when-storage-should-be-used)
- [Caching storage values in memory](#caching-storage-valu…
-
In 0.4.0 SourceJS got a [HTML API](http://sourcejs.com/docs/api/rest-api/#get-html) and parsing module, that allowed to automatically cache all code examples in API storage (using phantomjs script). T…
-
# Lines of code
https://github.com/code-423n4/2022-02-foundation/blob/main/contracts/FETH.sol#L232-L242
# Vulnerability details
## Impact
The function `depositFor(address account)` allows `accoun…
-
As we are building manta (https://github.com/Manta-Network), we figured out that we need an incremental merkle tree that has `Log N` internal nodes, which is not supported in the current MerkleTree im…
-
The monolog PHP library makes it very easy to follow PSRx logging standards and make log storage pluggable: https://symfony.com/doc/current/logging.html
Monolog has a concept of "Handlers" that alo…