Skip to content

Commit

Permalink
fix: doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich committed Mar 2, 2024
1 parent aa9b86d commit 5a2e00e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/dyn-abi/src/dynamic/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ impl DynSolError {
/// The list of all known panic codes can be found in the [PanicKind] enum.
///
/// [Solidity panic]: https://docs.soliditylang.org/en/latest/control-structures.html#panic-via-assert-and-error-via-require
/// [PanicKind]: alloy_sol_types::PanicKind
pub fn panic() -> Self {
Self { selector: PANIC_SELECTOR, body: DynSolType::Tuple(vec![DynSolType::Uint(256)]) }
}
Expand Down

0 comments on commit 5a2e00e

Please sign in to comment.