Second pass over Address type and start impl in Subxt

This commit is contained in:
James Wilson
2025-09-26 15:20:22 +01:00
parent 9243ea739e
commit 331c54063f
13 changed files with 490 additions and 274 deletions
+6 -2
View File
@@ -73,8 +73,12 @@ unsafe impl<T> Sync for PhantomDataSendSync<T> {}
/// as `BTreeMap` which allows us to easily swap the two during codegen.
pub type KeyedVec<K, V> = Vec<(K, V)>;
/// A unit marker struct.
pub struct Yes;
/// A unit marker enum.
pub enum Yes {}
/// A unit marker enum.
pub enum Maybe {}
/// A unit marker enum.
pub enum No {}
/// A quick helper to encode some bytes to hex.
pub fn to_hex(bytes: impl AsRef<[u8]>) -> String {