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

Need access to block in EventDataNewBlock #308

Closed
ancazamfir opened this issue Jun 9, 2020 · 1 comment · Fixed by #312
Closed

Need access to block in EventDataNewBlock #308

ancazamfir opened this issue Jun 9, 2020 · 1 comment · Fixed by #312

Comments

@ancazamfir
Copy link
Contributor

The IBC relayer subscribes for block notifications and on EventDataNewBlock it needs access to the block height only ...for now.
But content is not public:

pub struct EventDataNewBlock {

Is there an access function I don't see?

@liamsi
Copy link
Member

liamsi commented Jun 9, 2020

Is there an access function I don't see?

I don't think so. Maybe we should make all fields public here. I still need to work on the event subscription refactoring and ADR.

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.

2 participants