Skip to content

cross chain simplify - #698

Merged
giorgilagidze merged 1 commit into
fix/crosschain-hardening-delegatecallfrom
feat/cross-chain-amendments
Jul 24, 2026
Merged

cross chain simplify#698
giorgilagidze merged 1 commit into
fix/crosschain-hardening-delegatecallfrom
feat/cross-chain-amendments

Conversation

@giorgilagidze

Copy link
Copy Markdown
Contributor

Description

@xavikh xavikh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The simplification looks good. Better approach than before 👍🏻

Comment thread src/common/crosschain/adapters/CCIP/CCIPAdapter.sol
@@ -433,10 +315,10 @@ contract CrossChainController is DaoAuthorizable {
function retryFailedMessage(

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We have a small issue with failed messages and is that they stay executable forever. So a future change, even 1 year after can make the message executable. We might need to add a timestamp/deadline to the messages or to the failed ones to only allow retries for X amount of time.

@@ -433,10 +315,10 @@ contract CrossChainController is DaoAuthorizable {
function retryFailedMessage(
bytes32 _callId
) public auth(RETRY_MESSAGE_PERMISSION_ID) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think we can consider opening the retry to anyone. Interesting enough if the DAO tries to retry it would fail due to reentrancy (DAO.execute() --> retry() -X-> DAO.execute), so the call has to come from another address.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Let's make sure we add a way to pause the send/receive/retry functions

@giorgilagidze
giorgilagidze merged commit 2791801 into fix/crosschain-hardening-delegatecall Jul 24, 2026
0 of 2 checks passed
@giorgilagidze
giorgilagidze deleted the feat/cross-chain-amendments branch July 24, 2026 09:05
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