Skip to content

Commit

Permalink
feat: merge dev into master (#415)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
maharifu and byte-bandit authored Aug 6, 2024
1 parent c8ef391 commit f7dad16
Show file tree
Hide file tree
Showing 14 changed files with 447 additions and 352 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ This repo does not accept issues. Please use <https://github.com/palomachain/pal
### To get the latest prebuilt `pigeon` binary

```shell
wget -O - https://github.com/palomachain/pigeon/releases/download/v1.12.3/pigeon_Linux_x86_64.tar.gz | \
wget -O - https://github.com/palomachain/pigeon/releases/download/v1.12.4/pigeon_Linux_x86_64.tar.gz | \
sudo tar -C /usr/local/bin -xvzf - pigeon
sudo chmod +x /usr/local/bin/pigeon

Expand All @@ -94,7 +94,7 @@ mkdir ~/.pigeon
```shell
git clone https://github.com/palomachain/pigeon.git
cd pigeon
git checkout v1.12.3
git checkout v1.12.4
make build
sudo mv ./build/pigeon /usr/local/bin/pigeon

Expand Down
7 changes: 4 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,12 @@ func palomaClientConfig(palomaConfig config.Paloma) *ion.ChainClientConfig {
&consensustypes.MsgSetPublicAccessData{},
&consensustypes.MsgSetErrorData{},
&palomatypes.MsgAddStatusUpdate{},
&skywaytypes.MsgSendToEth{},
&skywaytypes.MsgSendToRemote{},
&skywaytypes.MsgConfirmBatch{},
&skywaytypes.MsgSendToPalomaClaim{},
&skywaytypes.MsgBatchSendToEthClaim{},
&skywaytypes.MsgCancelSendToEth{},
&skywaytypes.MsgLightNodeSaleClaim{},
&skywaytypes.MsgBatchSendToRemoteClaim{},
&skywaytypes.MsgCancelSendToRemote{},
&skywaytypes.MsgSubmitBadSignatureEvidence{},
},
},
Expand Down
3 changes: 2 additions & 1 deletion chain/evm/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ type PalomaClienter interface {
SetPublicAccessData(ctx context.Context, queueTypeName string, messageID uint64, valsetID uint64, data []byte) error
SetErrorData(ctx context.Context, queueTypeName string, messageID uint64, data []byte) error
QueryGetEVMValsetByID(ctx context.Context, id uint64, chainID string) (*types.Valset, error)
SendBatchSendToEVMClaim(ctx context.Context, claim skywaytypes.MsgBatchSendToEthClaim) error
SendBatchSendToEVMClaim(ctx context.Context, claim skywaytypes.MsgBatchSendToRemoteClaim) error
SendSendToPalomaClaim(ctx context.Context, claim skywaytypes.MsgSendToPalomaClaim) error
SendLightNodeSaleClaim(ctx context.Context, claim skywaytypes.MsgLightNodeSaleClaim) error
QueryLastObservedSkywayNonceByAddr(ctx context.Context, chainReferenceID string, orchestrator string) (uint64, error)
QueryBatchRequestByNonce(ctx context.Context, nonce uint64, contract string) (skywaytypes.OutgoingTxBatch, error)
QueryGetLatestPublishedSnapshot(ctx context.Context, chainReferenceID string) (*valset.Snapshot, error)
Expand Down
Loading

0 comments on commit f7dad16

Please sign in to comment.