Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v15: Add tests for ksm_metadata_v15.bin #52

Open
lexnv opened this issue Mar 15, 2023 · 0 comments
Open

v15: Add tests for ksm_metadata_v15.bin #52

lexnv opened this issue Mar 15, 2023 · 0 comments
Assignees

Comments

@lexnv
Copy link
Contributor

lexnv commented Mar 15, 2023

Once the metadata V15 is deployed on the Kusama chain, add the metadata v15 binary to this repo.
The V15 metadata is then used to add a test that ensures metadata V15 can be decoded properly.

	#[test]
	fn should_decode_metadatav15() {
		let meta: RuntimeMetadataPrefixed =
			Decode::decode(&mut load_metadata(15).as_slice()).unwrap();
		assert!(matches!(meta.1, RuntimeMetadata::V15(_)));
	}

Depends on: paritytech/substrate#13302.

@lexnv lexnv self-assigned this Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant