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

Add registration message handling #324

Merged
merged 2 commits into from
Aug 17, 2024

Conversation

Thomasvdam
Copy link
Member

@Thomasvdam Thomasvdam commented Aug 16, 2024

Motivation

Also introduces an admin address to make updates to the proxy config easier for operators. An alternative would be to use a sequence number, but that makes the whole managamenet process more cumbersome for the operator.

Explanation of Changes

  • Wire the module into the app so it's possible to test the CLI
  • Add CLI command for the registration transaction (although we expect these to be done through the explorer)
  • Add message handling for the registration

Testing

Added tests for the message server. If there are other tests that make sense at this stage I would love to learn!

Warning

The happy_path_with_memo test fails since we don't have a test vector where a message with memo was signed.

Related PRs and Issues

Part-of: #316

@Thomasvdam Thomasvdam requested review from hacheigriega and a team August 16, 2024 14:51
Copy link
Contributor

@gluax gluax left a comment

Choose a reason for hiding this comment

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

The simulation test doesn't look like it calls the failing unit test, so I think we need to update that somehow as well? Otherwise LGTM.

app/app.go Outdated Show resolved Hide resolved
Also introduces an admin address to make updates to the proxy config
easier for operators. An alternative would be to use a sequence number,
but that makes the whole managamenet process more cumbersome for the
operator.

Part-of: #316
@Thomasvdam Thomasvdam force-pushed the chore/data-proxy-registration branch from 926a38d to 2ddb4d1 Compare August 17, 2024 12:21
@Thomasvdam Thomasvdam merged commit 2ddb4d1 into feat/data-proxy-registry Aug 17, 2024
15 of 17 checks passed
@Thomasvdam Thomasvdam deleted the chore/data-proxy-registration branch August 17, 2024 12:24
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.

3 participants