Token swap pallet benchmarks (#1174)

* token swap benchmarks

* spellcheck
This commit is contained in:
Svyatoslav Nikolsky authored and Bastian Köcher committed 2024-04-10 10:28:37 +02:00
1 parent c0df990b90
commit 4b525f4fe1
14 files changed
+500 -49

No files matched your search

+6
View File
@@ -131,6 +131,12 @@ pub trait Size {
fn size_hint(&self) -> u32;
}
impl Size for &[u8] {
fn size_hint(&self) -> u32 {
self.len() as _
}
}
impl Size for () {
fn size_hint(&self) -> u32 {
0