Skip to content

Commit

Permalink
".git/.scripts/commands/fmt/fmt.sh"
Browse files Browse the repository at this point in the history
  • Loading branch information
command-bot committed Oct 4, 2024
1 parent d374385 commit 35b6e2a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions substrate/frame/revive/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,11 +371,9 @@ impl<T: Config> ContractInfo<T> {
/// On success, returns the storage deposit to be charged.
///
/// Returns `Err(InvalidImmutableAccess)` if:
/// - The immutable bytes of this contract are not 0.
/// This indicates that the immutable data have already been set;
/// it is only valid to set the immutable data exactly once.
/// - The provided `immutable_bytes` value was 0;
/// it is invalid to set empty immutable data.
/// - The immutable bytes of this contract are not 0. This indicates that the immutable data
/// have already been set; it is only valid to set the immutable data exactly once.
/// - The provided `immutable_bytes` value was 0; it is invalid to set empty immutable data.
pub fn set_immutable_bytes(
&mut self,
immutable_bytes: u32,
Expand Down

0 comments on commit 35b6e2a

Please sign in to comment.