Skip to content

Conversation

@natanasow
Copy link
Member

@natanasow natanasow commented Jul 11, 2025

Description:

Once we remove the list of selectors for consensus redirection (ETH_CALL_CONSENSUS_SELECTORS) here #3902. Now we can remove ETH_CALL_DEFAULT_TO_CONSENSUS_NODE because its usage is tightly related to the ETH_CALL_CONSENSUS_SELECTORS.

Also, there are 2 more envs that are not being used within the codebase OPERATOR_ID_ETH_SENDRAWTRANSACTION and OPERATOR_KEY_ETH_SENDRAWTRANSACTION.

Solution:

  • remove ETH_CALL_DEFAULT_TO_CONSENSUS_NODE env and all its usage
  • remove OPERATOR_ID_ETH_SENDRAWTRANSACTION
  • remove OPERATOR_KEY_ETH_SENDRAWTRANSACTION

Related issue(s):

Fixes #3918

Notes for reviewer:

Checklist

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

Signed-off-by: nikolay <[email protected]>
@natanasow natanasow self-assigned this Jul 11, 2025
@natanasow natanasow added the enhancement New feature or request label Jul 11, 2025
@natanasow natanasow added this to the 0.70.0 milestone Jul 11, 2025
@github-actions
Copy link

github-actions bot commented Jul 11, 2025

Test Results

 20 files  ±0  277 suites  ±0   17m 59s ⏱️ -3s
702 tests ±0  697 ✅ ±0  5 💤 ±0  0 ❌ ±0 
718 runs  ±0  713 ✅ ±0  5 💤 ±0  0 ❌ ±0 

Results for commit a397818. ± Comparison against base commit 34ce7f7.

♻️ This comment has been updated with latest results.

Signed-off-by: nikolay <[email protected]>
@natanasow natanasow marked this pull request as ready for review July 11, 2025 14:20
@natanasow natanasow requested review from a team as code owners July 11, 2025 14:20
@natanasow natanasow requested a review from quiet-node July 11, 2025 14:20
Copy link
Contributor

@acuarica acuarica left a comment

Choose a reason for hiding this comment

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

looking good, left some small comments

…transaction-operator-envs

# Conflicts:
#	packages/relay/src/utils.ts
Copy link
Contributor

@simzzz simzzz 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
Contributor

@quiet-node quiet-node left a comment

Choose a reason for hiding this comment

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

LGTM & Nice one! Feels much clearer and less indrection when it comes to handle eth_call logic and operator specification in general! Great work as always!

Copy link
Contributor

@acuarica acuarica left a comment

Choose a reason for hiding this comment

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

Nice stuff.

@natanasow natanasow merged commit d33559f into main Jul 15, 2025
46 of 48 checks passed
@natanasow natanasow deleted the 3918-deprecate-call_to_consensus-and-sendrawtransaction-operator-envs branch July 15, 2025 05:00
@codecov
Copy link

codecov bot commented Jul 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

@@            Coverage Diff             @@
##             main    #3925      +/-   ##
==========================================
+ Coverage   86.60%   86.74%   +0.14%     
==========================================
  Files          87       87              
  Lines        5090     5039      -51     
  Branches     1040     1020      -20     
==========================================
- Hits         4408     4371      -37     
+ Misses        413      407       -6     
+ Partials      269      261       -8     
Flag Coverage Δ
config-service 95.78% <ø> (ø)
relay 81.27% <100.00%> (+0.07%) ⬆️
server 80.81% <ø> (ø)
ws-server 61.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ckages/config-service/src/services/globalConfig.ts 100.00% <ø> (ø)
...kages/config-service/src/services/loggerService.ts 100.00% <ø> (ø)
packages/relay/src/formatters.ts 77.77% <ø> (+0.79%) ⬆️
...ices/ethService/contractService/ContractService.ts 78.42% <100.00%> (+0.87%) ⬆️
.../relay/src/lib/services/hapiService/hapiService.ts 95.94% <100.00%> (-0.06%) ⬇️
packages/relay/src/utils.ts 100.00% <100.00%> (+5.88%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate ETH_CALL_DEFAULT_TO_CONSENSUS_NODE, OPERATOR_ID_ETH_SENDRAWTRANSACTION and OPERATOR_KEY_ETH_SENDRAWTRANSACTION

5 participants