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

Fix/pigeons attest rolledback txs #1284

Merged

Conversation

maharifu
Copy link
Contributor

@maharifu maharifu commented Sep 5, 2024

Related Github tickets

Background

Paloma was attesting to pigeon relayed messages using only the transaction, but not the receipt, meaning it couldn't actually attest the transaction was successful. This (and a corresponding PR in pigeon) makes paloma verify the transaction result from the transaction receipt and only attest to successful transactions.

Validated with an SLC message in the private testnet using Gnosis, but the result should be the same for all turnstone messages. This wasn't replicable in Arbitrum, where messages fail immediately on pigeons.

Also in this PR is a fix for SLC and User Smart Contract Upload retries. We need to clear the Fees from the message before a retry, otherwise we get an Invalid Signature error.

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
  • If there are breaking changes, there is a supporting migration.

@maharifu maharifu force-pushed the fix/pigeons_attest_rolledback_txs branch from f8c0c3e to 6bcac66 Compare September 5, 2024 13:09
@maharifu maharifu merged commit 0b67cf8 into palomachain:master Sep 5, 2024
4 checks passed
@maharifu maharifu deleted the fix/pigeons_attest_rolledback_txs branch September 5, 2024 15:06
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