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

[EVM] Add index to logs based on order #1273

Merged
merged 3 commits into from
Jan 23, 2024
Merged

Conversation

stevenlanders
Copy link
Contributor

@stevenlanders stevenlanders commented Jan 23, 2024

Describe your changes and provide context

  • adds index to logs, which is included in receipts and logs

Testing performed to validate your change

  • added hardhat test

Copy link

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (aec6c49) 64.02% compared to head (09c1e70) 64.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              evm    #1273      +/-   ##
==========================================
- Coverage   64.02%   64.00%   -0.02%     
==========================================
  Files         346      346              
  Lines       23072    23073       +1     
==========================================
- Hits        14771    14768       -3     
- Misses       7465     7467       +2     
- Partials      836      838       +2     
Files Coverage Δ
x/evm/keeper/log.go 42.85% <100.00%> (+31.42%) ⬆️
x/evm/state/log.go 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

@stevenlanders stevenlanders force-pushed the add-support-for-log-index branch from d9b7491 to d55cd09 Compare January 23, 2024 19:36
@@ -428,7 +428,7 @@ describe("EVM Test", function () {
});

describe("Differing maxPriorityFeePerGas and maxFeePerGas", async function() {
testCases.forEach(async ([name, maxPriorityFeePerGas, maxFeePerGas]) => {
for (const [name, maxPriorityFeePerGas, maxFeePerGas] of testCases) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the difference?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not much, but my ide linter complains that the async function promise wasn't being used, and gave me yellow lines, so I accepted its change suggestion.

@stevenlanders stevenlanders merged commit a1f89a6 into evm Jan 23, 2024
38 checks passed
@stevenlanders stevenlanders deleted the add-support-for-log-index branch January 23, 2024 21:26
udpatil pushed a commit that referenced this pull request Jan 31, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Feb 28, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Feb 28, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Feb 28, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Mar 4, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Mar 4, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Mar 11, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Mar 26, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Apr 17, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Apr 17, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Apr 17, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Apr 18, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Apr 19, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
udpatil pushed a commit that referenced this pull request Apr 19, 2024
* add index to logs based on order

* add check for getLogs

* add log conversion test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants