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

Rename CustomCallOperation #9782

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

kselveliev
Copy link
Contributor

Description:

Currently when trying to run transaction using Reusables services transactionExecutor
we are getting the following error -

java.lang.RuntimeException: java.lang.NoSuchMethodError: 'void com.hedera.node.app.service.contract.impl.exec.operations.CustomCallOperation.<init>(com.hedera.node.app.service.contract.impl.exec.FeatureFlags, org.hyperledger.besu.evm.gascalculator.GasCalculator, com.hedera.node.app.service.contract.impl.exec.AddressChecks)'

Services CustomCallOperation clashes with our CustomCallOperation.java causing the issue.
Renaming our CustomCallOperation to HederaCustomCallOperation similar to the other custom operations that we have fixes the conflict.

This PR modifies
Rename CustomCallOperation to HederaCustomCallOperation

Related issue(s):

Fixes #

Notes for reviewer:

Checklist

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

Signed-off-by: Kristiyan Selveliev <[email protected]>
@kselveliev kselveliev added enhancement Type: New feature web3 Area: Web3 API labels Nov 19, 2024
@kselveliev kselveliev self-assigned this Nov 19, 2024
@kselveliev kselveliev requested a review from a team as a code owner November 19, 2024 14:21
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.25%. Comparing base (d84e4c2) to head (3792c41).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #9782   +/-   ##
=========================================
  Coverage     92.25%   92.25%           
  Complexity     7769     7769           
=========================================
  Files           950      950           
  Lines         32450    32450           
  Branches       4113     4113           
=========================================
+ Hits          29936    29937    +1     
  Misses         1546     1546           
+ Partials        968      967    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@steven-sheehy steven-sheehy added this to the 0.119.0 milestone Nov 19, 2024
Copy link
Contributor

@bilyana-gospodinova bilyana-gospodinova left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@xin-hedera xin-hedera left a comment

Choose a reason for hiding this comment

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

LGTM

@steven-sheehy steven-sheehy merged commit 608171b into main Nov 19, 2024
34 checks passed
@steven-sheehy steven-sheehy deleted the 09261-fix-custom-call-operation-conflict branch November 19, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature web3 Area: Web3 API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants