Remark is trivial and doesn't deserve such a big weight (#3372)

This commit is contained in:
Gavin Wood
2019-08-12 17:23:09 +02:00
committed by GitHub
parent 6435df16f1
commit 248237647b
+1 -1
View File
@@ -239,7 +239,7 @@ decl_module! {
}
/// Make some on-chain remark.
#[weight = SimpleDispatchInfo::FixedNormal(1_000_000)]
#[weight = SimpleDispatchInfo::FixedNormal(10_000)]
fn remark(origin, _remark: Vec<u8>) {
ensure_signed(origin)?;
}