-
# Switching from non-zero to non-zero is more efficient
By switching from non-zero to non-zero value, expensive SSTORE from 0/false to non-zero can be avoided.
and when boolean is used, writing to …
-
# Lines of code
https://github.com/code-423n4/2024-02-ai-arena/blob/1d18d1298729e443e14fea08149c77182a65da32/src/FighterFarm.sol#L372
# Vulnerability details
## Impact
Can reroll attributes based…
-
I believe the current assumption is that there is a signature from the submitter that is used to gate these updates. We would also like to be able to support Proof of Consensus (for e.g. tendermint), …
-
## FINDINGS
### Using unchecked blocks to save gas
Solidity version 0.8+ comes with implicit overflow and underflow checks on unsigned integers. When an overflow or an underflow isn’t possible (as an …
-
### Motivation
The [following security notice](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol#L46-L50) is incorrect
```
* IMPORTANT: …
-
**Github username:** --
**Twitter username:** --
**Submission hash (on-chain):** 0xb8fdbe65424eb007daea82fa0c63224f01bd2c8c730a98a5dd6652c670671dfa
**Severity:** medium
**Description:**
**Descriptio…
-
**Github username:** --
**Submission hash (on-chain):** 0xbd9d03097ba8802700da1cbe677718f13d8465caa294b375c3ac930723ab7a4f
**Severity:** medium
**Description:**
**Description**\
Loss of reward for ‘…
-
# Lines of code
https://github.com/code-423n4/2022-12-tigris/blob/588c84b7bb354d20cbca6034544c4faa46e6a80e/contracts/GovNFT.sol#L168
# Vulnerability details
## Impact
In the contract `GovNFT`, it…
-
# Lines of code
https://github.com/code-423n4/2023-10-ethena/blob/ee67d9b542642c9757a6b826c82d0cae60256509/contracts/StakedUSDeV2.sol#L95
https://github.com/code-423n4/2023-10-ethena/blob/ee67d9b5426…
-
## Summary
The move initiator does not use block height and time lock in the id creation:
Move Initiator:
```rust
// Create a single byte vector by concatenating all components
let combined_b…