-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Updates scale metadata after adding beacon pallet. #656
Conversation
Could you also add a note to the parachain readme about how to how to update the metadata. I'm assuming you're using the steps at https://github.com/paritytech/subxt#downloading-metadata-from-a-substrate-node for fetching the new metadata? |
@vgeddes I used these steps that @alistair-singh provided:
I will try the subxt way too and update the readme. I'll do that in a separate PR because it may not be necessary to update the metadata. Alistair did a clean build with the metadata in main and it worked fine. I will try the same later, just want to finish off the E2E tests first since a clean build takes some time. |
I think this could related to the type name issue we saw earlier. Where on some machines the type name has extra bytes. paritytech/subxt#591 I closed the above issue because Parity opened up another issue to remove type name from the hash check. I believe this will fix our issues. paritytech/subxt#595 But also in previous PRs we did change metadata. I have On my machine |
I will try this this afternoon. 👍 |
Ok, cool. sounds fine if that works better for you 👍 |
I did a clean build from main with no issues so the updated scale metadata isn't necessarily. I will still update the readme. |
The metadata.scale file should be updated after adding the beacon client.