mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 20:26:19 +00:00
Implement support for renaming runtime api functions (#2160)
* Implement support for renaming runtime api functions * Redelete the wasm files * FIxes test * Fix test correctly... * Bring back old `authorities` * Tag as deprecated * Fixes compilation on WASM * Add missing method implementations * Fixes tests * Increase `spec_version`
This commit is contained in:
1 parent
e89ce263bd
commit
345145326b
13 files changed
+288
-81
No files matched your search
@@ -241,6 +241,10 @@ impl_runtime_apis! {
|
||||
fn initialize_block(header: &<Block as BlockT>::Header) {
|
||||
Executive::initialize_block(header)
|
||||
}
|
||||
|
||||
fn authorities() -> Vec<AuthorityId> {
|
||||
panic!("Deprecated, please use `AuthoritiesApi`.")
|
||||
}
|
||||
}
|
||||
|
||||
impl runtime_api::Metadata<Block> for Runtime {
|
||||
|
||||
Reference in new issue
Block a user