Skip to content

Conversation

@dvc94ch
Copy link
Contributor

@dvc94ch dvc94ch commented Jun 4, 2020

No description provided.

@dvc94ch dvc94ch force-pushed the zero-sized-types branch from 9e91517 to 414142e Compare June 4, 2020 22:51
@dvc94ch dvc94ch force-pushed the zero-sized-types branch from f6e0f43 to ca0d28c Compare June 6, 2020 10:16
@ascjones
Copy link
Contributor

ascjones commented Jun 8, 2020

Can you describe briefly what this fix was about?

@dvc94ch
Copy link
Contributor Author

dvc94ch commented Jun 8, 2020

Using a zero sized type like () is ok, it's not an error. For our identity module, we set the System AccountData type to (). This causes with_system to fail because it tries to register AccountData with a zero value.

Copy link
Contributor

@ascjones ascjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ascjones ascjones merged commit 91203b9 into paritytech:master Jun 8, 2020
@ascjones ascjones mentioned this pull request Jun 25, 2020
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

Successfully merging this pull request may close these issues.

2 participants