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

[parentchain] provide vault mirror and native token origin #227

Closed
brenzi opened this issue Oct 11, 2023 · 0 comments · Fixed by #241
Closed

[parentchain] provide vault mirror and native token origin #227

brenzi opened this issue Oct 11, 2023 · 0 comments · Fixed by #241

Comments

@brenzi
Copy link
Contributor

brenzi commented Oct 11, 2023

introduce new storage:

we need to make sure that only one (the correct) parentchain can shield and unshield

  • NativeTokenIssuingParentchainId -> ParentchainId
  • NativeTokenIssuingParentchainGenesis -> H256

to store the shard vault account and mirror its L1 balance

  • ShardVaultAccount -> AccountId,
  • ShardVaultBalance -> Balance,
@brenzi brenzi changed the title [parentchain] provide vault mirror [parentchain] provide vault mirror and native token origin Oct 11, 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

Successfully merging a pull request may close this issue.

1 participant