Skip to content

Commit

Permalink
Use polkadot metadata as default
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiEres committed Aug 22, 2023
1 parent da5505f commit c33a606
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file removed essentials/assets/kusama_metadata.scale
Binary file not shown.
Binary file removed essentials/assets/rococo_metadata.scale
Binary file not shown.
2 changes: 1 addition & 1 deletion essentials/src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// along with polkadot-introspector. If not, see <http://www.gnu.org/licenses/>.
//

#[subxt::subxt(runtime_metadata_path = "assets/rococo_metadata.scale")]
#[subxt::subxt(runtime_metadata_path = "assets/polkadot_metadata.scale")]
pub mod polkadot {}

pub use polkadot::runtime_types::polkadot_primitives::v4 as polkadot_primitives;
2 changes: 1 addition & 1 deletion essentials/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use crate::metadata::polkadot::runtime_types as subxt_runtime_types;
use std::collections::{BTreeMap, VecDeque};
use subxt::utils;
use subxt_runtime_types::rococo_runtime as runtime;
use subxt_runtime_types::polkadot_runtime as runtime;

pub type BlockNumber = u32;
pub type H256 = utils::H256;
Expand Down

0 comments on commit c33a606

Please sign in to comment.