mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 22:51:03 +00:00
remove prelude from core, use alloc directly
This commit is contained in:
Generated
+1
-1
@@ -675,9 +675,9 @@ version = "0.34.0"
|
||||
dependencies = [
|
||||
"base58",
|
||||
"blake2",
|
||||
"cfg-if",
|
||||
"derivative",
|
||||
"derive_more",
|
||||
"either",
|
||||
"frame-metadata 16.0.0",
|
||||
"hex",
|
||||
"impl-serde",
|
||||
|
||||
@@ -36,6 +36,7 @@ extern crate alloc;
|
||||
// Note: Panics in this function will lead to `Aborted (core dumped)` and a non-zero exit status => suitable for CI tests.
|
||||
fn run_tests() {
|
||||
subxt_metadata_test();
|
||||
subxt_core_test();
|
||||
}
|
||||
|
||||
/// Makes sure, subxt-metadata works in a no-std-context:
|
||||
@@ -49,5 +50,5 @@ fn subxt_metadata_test() {
|
||||
}
|
||||
|
||||
fn subxt_core_test() {
|
||||
let era = subxt_core::utils::Era::Immortal;
|
||||
let _ = subxt_core::utils::Era::Immortal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user