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

update hub tokens, networks and channels contracts #33

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

Snedashkovsky
Copy link
Member

@Snedashkovsky Snedashkovsky commented May 20, 2023

hub-tokens contract:

  • change parameter channel(uint64) to channel_id (string)

hub-networks contract:

  • change validations of the genesis_hash parameter (from [a-z0-9-] to ipfs cid)
  • change validations of the chain_id parameter (from [a-z0-9-] to [a-z0-9-_])

hub-channels contract:

  • change validations of the source_chain_id parameter (from [a-z0-9-] to [a-z0-9-_])
  • change validations of the destination_chain_id parameter (from [a-z0-9-] to [a-z0-9-_])

@Snedashkovsky
Copy link
Member Author

@cyborgshead need to add validation for null value of `'logo' parameter in hub tokens contract

- fix validations of the `genesis_hash` parameter (from `[a-z0-9-]` to `ipfs cid`)
- fix validations of the `chain_id` parameter (from `[a-z0-9-]` to `[a-z0-9-_]`)
hub-channels contract:
- fix validations of the `source_chain_id` parameter (from `[a-z0-9-]` to `[a-z0-9-_]`)
- fix validations of the `destination_chain_id` parameter (from `[a-z0-9-]` to `[a-z0-9-_]`)
@Snedashkovsky Snedashkovsky changed the title update hub tokens contract update hub tokens, networks and channels contracts Jun 15, 2023
@Snedashkovsky Snedashkovsky removed the WIP label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

None yet

1 participant