Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadkaouk committed Feb 28, 2024
1 parent 0a40c2f commit 73d32bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frame/evm/precompile/storage-cleaner/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//! Storage cleaner precompile. This precompile is used to clean the storage entries of smart contract that
//! Storage cleaner precompile. This precompile is used to clean the storage entries of smart contract that
//! has been marked as suicided (self-destructed).

extern crate alloc;
Expand Down Expand Up @@ -45,8 +45,8 @@ where
{
/// Clear Storage entries of smart contracts that has been marked as suicided (self-destructed) up to a certain limit.
///
/// The function iterates over the addresses, checks if each address is marked as suicided, and then deletes the storage
/// entries associated with that address. If there are no remaining entries, the function clears the suicided contract
/// The function iterates over the addresses, checks if each address is marked as suicided, and then deletes the storage
/// entries associated with that address. If there are no remaining entries, the function clears the suicided contract
/// by removing the address from the list of suicided contracts and decrementing the sufficients of the associated account.
#[precompile::public("clearSuicidedStorage(address[],uint32)")]
fn clear_suicided_storage(
Expand Down

0 comments on commit 73d32bd

Please sign in to comment.