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

feat: CCIP-1451 gasUsed for Execution to be emitted along with Execut… #1310

Merged
merged 8 commits into from
Aug 19, 2024

Conversation

defistar
Copy link
Contributor

@defistar defistar commented Aug 16, 2024

Motivation

gasUsed for Execution to be emitted along with ExecutionStateChangedEvent

Solution

compute gasUsed for execution of a message in EVM2EVMMultiOffRamp
this change is applicable to only 1.6 version
Test Assertion must be added to assert the event body parameters (excluding the gasUsed as it cant be hardcoded in tests)

** This is extension of the closed PR: #1297
got signature verification issue with other PR. so moving all changes over here

@defistar defistar requested review from makramkd, elatoskinas, RayXpub and a team as code owners August 16, 2024 09:47
Copy link
Contributor

github-actions bot commented Aug 16, 2024

LCOV of commit 1312eef during Solidity Foundry #7354

Summary coverage rate:
  lines......: 98.7% (1905 of 1930 lines)
  functions..: 96.4% (352 of 365 functions)
  branches...: 90.2% (801 of 888 branches)

Files changed coverage rate: n/a

@defistar defistar requested a review from RensR August 16, 2024 10:08
@defistar defistar self-assigned this Aug 16, 2024
Co-authored-by: Ryan <80392855+RayXpub@users.noreply.github.com>
@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@defistar defistar merged commit 91b0cbe into ccip-develop Aug 19, 2024
108 of 109 checks passed
@defistar defistar deleted the feature/CCIP-1451-GasUsedForExecutionInEvent branch August 19, 2024 12:43
dhaidashenko pushed a commit that referenced this pull request Sep 2, 2024
#1310)

## Motivation
gasUsed for Execution to be emitted along with
ExecutionStateChangedEvent

## Solution
compute `gasUsed` for execution of a message in EVM2EVMMultiOffRamp
this change is applicable to only 1.6 version
Test Assertion must be added to assert the event body parameters
(excluding the gasUsed as it cant be hardcoded in tests)

** This is extension of the closed PR:
#1297
got signature verification issue with other PR. so moving all changes
over here

---------

Co-authored-by: app-token-issuer-infra-releng[bot] <120227048+app-token-issuer-infra-releng[bot]@users.noreply.github.com>
Co-authored-by: Ryan <80392855+RayXpub@users.noreply.github.com>
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.

3 participants