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

Provide an implementation of EncryptedTransactionAnalyzer inside skaled #973

Open
sync-by-unito bot opened this issue Jan 27, 2022 · 2 comments · May be fixed by #982
Open

Provide an implementation of EncryptedTransactionAnalyzer inside skaled #973

sync-by-unito bot opened this issue Jan 27, 2022 · 2 comments · May be fixed by #982
Assignees
Labels
enhancement New feature or request

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Jan 27, 2022

Threshold encryption needs to be able to get the last argument of a smart contract call from Ethereum transaction

Provide an implementation of the following interface

class EncryptedTransactionAnalyzer {

public: virtual shared_ptr<std::vector<uint8_t>> getEncryptedData( const std::vector<uint8_t>& transaction) = 0;

};

  • If transaction data includes a byte segment:
  • starting wth TE_MAGIC_START=0xf84a1cf7214ae051cae8
  • ending with TE_MAGIC_END=0x98a773d884b2f1c4ac27

Return this byte segment (without magic numbers) as a shared pointer to bytes

Otherwise, return null

┆Issue is synchronized with this Jira Task

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Feb 2, 2022

➤ Automation for Jira commented:

Corresponding Pull Request #982

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Feb 4, 2022

➤ Automation for Jira commented:

Corresponding Pull Request skalenetwork/skale-consensus#579

@sync-by-unito sync-by-unito bot closed this as completed Feb 4, 2022
@sync-by-unito sync-by-unito bot reopened this Feb 15, 2022
@PolinaKiporenko PolinaKiporenko moved this from Todo to Code Review in SKALE Engineering 🚀 Apr 5, 2022
@cstrangedk cstrangedk linked a pull request Apr 6, 2022 that will close this issue
@gannakulikova gannakulikova moved this from Code Review to In Progress in SKALE Engineering 🚀 May 6, 2022
@gannakulikova gannakulikova moved this from In Progress to Blocked in SKALE Engineering 🚀 May 16, 2022
@PolinaKiporenko PolinaKiporenko moved this from To Do to Code Review in SKALE Engineering 🚀 Jan 31, 2023
@olehnikolaiev olehnikolaiev moved this from Code Review to To Do in SKALE Engineering 🚀 Feb 2, 2023
@DmytroNazarenko DmytroNazarenko added the enhancement New feature or request label Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants