Skip to content

Commit

Permalink
fix: LayerZero AMBMessage generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanmigimeno committed Jul 19, 2024
1 parent a51694e commit 8b514a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/collector/layer-zero/layer-zero.worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,10 @@ class LayerZeroWorker {
amb: 'layer-zero',
fromChainId: srcEidMapped.toString(),
toChainId: dstEidMapped.toString(),
fromIncentivesAddress: packet.sender,
fromIncentivesAddress: '0x' + packet.sender.slice(24), // Keep only the relevant bytes (i.e. discard the first 12 bytes)
// toIncentivesAddress: , //TODO

incentivesPayload: '0x' + decodedMessage.message,
incentivesPayload: '0x' + packet.message,

transactionBlockNumber,

Expand Down

0 comments on commit 8b514a6

Please sign in to comment.