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

feat: process lightnode sale events #414

Merged
merged 6 commits into from
Aug 6, 2024

Conversation

maharifu
Copy link
Contributor

@maharifu maharifu commented Aug 2, 2024

Related Github tickets

Background

We need pigeon to pick up on node sale events and report them to paloma. These events will come from compass, following the implementation in palomachain/compass-evm#38. This PR adds support to read and relay those events.

Note: This uses dev16 branch as base since it builds on top of the renamed skyway calls.

Testing completed

  • test coverage exists or has been added/updated
  • tested in a private testnet

Breaking changes

  • I have checked my code for breaking changes

@byte-bandit
Copy link
Collaborator

Should this go into dev16? We can bring it back to master instead if you'd like. I will have to rebase my changes anyway, but that way we decouple the node sale stuff from PF a bit more.

@maharifu
Copy link
Contributor Author

maharifu commented Aug 2, 2024

Should this go into dev16? We can bring it back to master instead if you'd like. I will have to rebase my changes anyway, but that way we decouple the node sale stuff from PF a bit more.

I think we should merge the current (after this PR) dev16 branch into master. The skyway rename changes are already in paloma master, so we need to update pigeon to stay compatible.

We can leave this PR into dev16 so it's easier to read, then merge everything to master, and push a new dev16 branch. The same we did on paloma. What do you think?

chain/evm/compass.go Outdated Show resolved Hide resolved
Also, increase logging.
Copy link
Collaborator

@byte-bandit byte-bandit left a comment

Choose a reason for hiding this comment

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

LGTM, I think this is a much cleaner solution now.

@maharifu maharifu merged commit 3cf4941 into palomachain:dev16 Aug 6, 2024
2 checks passed
@maharifu maharifu deleted the lcarvalho/feat-lightnode-sale branch August 6, 2024 13:57
@maharifu maharifu mentioned this pull request Aug 6, 2024
3 tasks
maharifu added a commit that referenced this pull request Aug 6, 2024
* chore: rename eth messages (#412)

* feat: process lightnode sale events (#414)

* chore: update paloma deps to local development

* feat: read node sale events from compass

* chore: add unified skyway events handler

* feat: use unified skyway event handler

* chore: remove left pad on paloma address

* fix: wrong NodeSaleEvent hash

Also, increase logging.

* chore: update REAME to point to 1.12.4

---------

Co-authored-by: Christian Lohr <christian@volume.finance>
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