node icon indicating copy to clipboard operation
node copied to clipboard

Add ability to test CCTXs when paused

Open lumtis opened this issue 1 year ago • 1 comments

Describe the Issue A the CCTXs can be paused using an emergency mechanism. In some context, it would be great to test the CCTX functionality before it is enabled back to the end user.

Expected Outcome I see two solutions right now:

  • Having an authorized message that can initiate a specific withdraw, or other interaction - most secure but not very flexible
  • Defining an address in crosschain params like cctx-tester that can process cctxs (has a sender) even when the functionality is paused. Might be less secure although the rate limiting for cctxs would decrease the attack vector on this side

lumtis avatar Mar 18 '24 15:03 lumtis

Still very relevant and I think it can be implemented in a simple way unlike the original description:

  • in CrosschainFlags we add a field for authorized address for actions
  • this address can be set with a operation admin action
  • we can set this address to the same value as our E2E tester address

lumtis avatar Sep 02 '25 11:09 lumtis