Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix getLogs mapping to retrieve unique execution logs (2.0) #273

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

Nana-EC
Copy link
Collaborator

@Nana-EC Nana-EC commented Jun 27, 2022

Signed-off-by: Nana-EC nana@swirldslabs.com

Description:
Cherry pick #270
eth-getLogs logic was grouping transactions via contractId-timestamp.
This resulted in logs getting missed since the contractId of logs from called contracts differ from the caller

  • Update eth_getLogs call to group log results via timestamp to determine unique executions
  • Update integration tests
  • Updated acceptance test image versions

Related issue(s):

Addresses #268

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

* Fix getLogs mapping to retrieve uniqu execution logs

`eth-getLogs` logic was grouping transactions via `contractId-timestamp`.
This resulted in logs getting missed since the contractId of logs from called contracts differ from the caller

- Update `eth_getLogs` call to group log results via timestamp to determine unique executions
- Update integration tests
- Updated acceptance test image versions

Signed-off-by: Nana-EC <nana@swirldslabs.com>
@Nana-EC Nana-EC self-assigned this Jun 27, 2022
@Nana-EC Nana-EC added bug Something isn't working P1 dev tools Features enabling dev tool integration labels Jun 27, 2022
@Nana-EC Nana-EC added this to the 0.2.0 milestone Jun 27, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@shemnon shemnon changed the title Fix getLogs mapping to retrieve uniquq execution logs (2.0) Fix getLogs mapping to retrieve unique execution logs (2.0) Jun 27, 2022
@Nana-EC Nana-EC merged commit 494bdb6 into release/0.2 Jun 27, 2022
@Nana-EC Nana-EC deleted the 268-cherry-pick-2-0 branch June 27, 2022 20:39
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working dev tools Features enabling dev tool integration P1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants