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

Verify scheduled transaction only happens once #421

Closed
Tracked by #419
ghost opened this issue Jun 29, 2022 · 3 comments
Closed
Tracked by #419

Verify scheduled transaction only happens once #421

ghost opened this issue Jun 29, 2022 · 3 comments
Labels
feature New feature request oracle chain Involve OracleChain shared secrets Involve SharedSecrets

Comments

@ghost
Copy link

ghost commented Jun 29, 2022

Is your feature request related to a problem?

Network transaction which are self-triggered should be sent only once in their respective interval.
Hence we should provide some verification during transaction validation

Describe the solution you'd like

To do so, we can leverage the last time for a given scheduler for a given transaction type and check if a previous transaction have been already sent

Additional context

No response

@ghost ghost added feature New feature request oracle chain Involve OracleChain shared secrets Involve SharedSecrets labels Jun 29, 2022
@ghost ghost mentioned this issue Jun 29, 2022
4 tasks
@ghost
Copy link
Author

ghost commented Jul 1, 2022

Hey team! Please add your planning poker estimate with ZenHub @apoorv-2204 @imnik11 @Neylix @prix-uniris

@Neylix
Copy link
Member

Neylix commented Jul 1, 2022

We can create a common function which takes the transaction type in parameters and depending of the type it will get the last schedule time and check there is no transaction for the expected chain since this time

@ghost ghost self-assigned this Aug 19, 2022
@ghost
Copy link
Author

ghost commented Aug 25, 2022

Closed by #534

@ghost ghost closed this as completed Aug 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request oracle chain Involve OracleChain shared secrets Involve SharedSecrets
Projects
None yet
Development

No branches or pull requests

2 participants