fix: Update subxt 0.44 API compatibility for workspace-wide compilation

- txtesttool: Update dynamic storage API (try_fetch, Value type)
- txtesttool: Add From<ExtrinsicError> for Error
- omni-node-lib: Replace StorageEntryType with keys()/value_ty() API

Workspace cargo check now passes successfully.
This commit is contained in:
2025-12-19 21:38:01 +03:00
parent a15cc1d76c
commit a2bc2cd671
3 changed files with 24 additions and 11 deletions
+6
View File
@@ -17,3 +17,9 @@ pub enum Error {
#[error("Mortal transaction lifetime surpassed, block number: {0}")]
MortalLifetimeSurpassed(u64),
}
impl From<subxt::error::ExtrinsicError> for Error {
fn from(err: subxt::error::ExtrinsicError) -> Self {
Error::Subxt(subxt::Error::from(err))
}
}