Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Allow users to have an option to save or send CCU #8034

Closed
Tracked by #7210
ishantiw opened this issue Jan 17, 2023 · 0 comments · Fixed by #8112
Closed
Tracked by #7210

Allow users to have an option to save or send CCU #8034

ishantiw opened this issue Jan 17, 2023 · 0 comments · Fixed by #8112

Comments

@ishantiw
Copy link
Contributor

Description

Currently in ChainConnectorPlugin we simply create a CCU and send it using the privateKey set in the config.
We can give more flexibility to the user by saving the CCUs and exposing it via endpoints so that the user can send these CCUs when they want to send it (maybe at the time when fee is low to get in TxPool).

In order to achieve this,

  • We can add a boolean property where user can specify whether to send transaction or save it
  • When sending the transaction we can check this property and decide whether to send or save

Acceptance Criteria

  • Should have all the relevant unit test cases
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants