We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8637be commit 1eee2e8Copy full SHA for 1eee2e8
1 file changed
runtime/common/src/payment.rs
@@ -156,13 +156,15 @@ where
156
}
157
Ok(())
158
159
-
160
- // These two are unused but must satisfy the trait impl
+
161
#[cfg(feature = "runtime-benchmarks")]
162
- fn endow_account(_who: &<T>::AccountId, _amount: Self::Balance) {}
+ fn endow_account(who: &<T>::AccountId, amount: Self::Balance) {
+ let _ = C::deposit_creating(who, amount);
163
+ }
164
165
166
fn minimum_balance() -> Self::Balance {
- Self::Balance::zero()
167
+ C::minimum_balance()
168
169
170
0 commit comments