Add support for account allocations

This commit is contained in:
Omar Abdulla
2025-09-21 07:37:07 +03:00
parent 0edfb3a36e
commit e2fb7a4322
11 changed files with 230 additions and 67 deletions
+4
View File
@@ -490,6 +490,10 @@ impl WalletConfiguration {
})
.clone()
}
pub fn highest_private_key_exclusive(&self) -> U256 {
U256::try_from(self.additional_keys).unwrap()
}
}
fn serialize_private_key<S>(value: &PrivateKeySigner, serializer: S) -> Result<S::Ok, S::Error>