Skip to content

Commit

Permalink
T
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized committed Dec 24, 2024
1 parent a81e7f8 commit 760f8df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 10 additions & 0 deletions docs/utils/safecastlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ Optimized for runtime gas for very high number of optimizer runs (i.e. >= 100000

<!-- customintro:start --><!-- customintro:end -->

## Custom Errors

### Overflow()

```solidity
error Overflow()
```

Unable to cast to the target type due to overflow.

## Unsigned Integer Safe Casting Operations

### toUint8(uint256)
Expand Down
2 changes: 0 additions & 2 deletions prep/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ const forEachWalkSync = (dirs, callback) => {
dirs.forEach(dir => walkSync(dir, callback));
};

<<<<<<< HEAD
=======
const readSolWithLineLengthSync = (srcPath, lineLength) => {
const withModifiedToml = callback => {
const originalFile = path.resolve('foundry.toml');
Expand Down

0 comments on commit 760f8df

Please sign in to comment.