Skip to content

Conversation

@theref
Copy link
Contributor

@theref theref commented Nov 12, 2025

Summary

Adds :nullAddress as an automatically injected context variable that resolves to the Ethereum null address (0x0000000000000000000000000000000000000000) on the node side.

Motivation

This is the taco-web companion PR to nucypher/nucypher#3668, which adds the :nullAddress protected context variable to the nucypher node implementation.

Changes

  • Add :nullAddress to AUTOMATICALLY_INJECTED_CONTEXT_PARAMS array
  • Add :nullAddress to RESERVED_CONTEXT_PARAMS array to prevent manual setting by users

Testing

The existing test suite already handles automatically injected parameters:

  • Tests verify that automatically injected parameters cannot be manually set
  • Tests verify that reserved parameters are properly protected

Related PRs

…variable

This context variable is automatically injected on the node side and resolves
to the Ethereum null address (0x0000000000000000000000000000000000000000).

- Add :nullAddress to AUTOMATICALLY_INJECTED_CONTEXT_PARAMS
- Add :nullAddress to RESERVED_CONTEXT_PARAMS to prevent manual setting
- Existing tests already handle automatically injected parameters

Related to nucypher/nucypher#3668
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (signing-epic@552cf6f). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff               @@
##             signing-epic     #738   +/-   ##
===============================================
  Coverage                ?   89.74%           
===============================================
  Files                   ?       97           
  Lines                   ?     8445           
  Branches                ?      291           
===============================================
  Hits                    ?     7579           
  Misses                  ?      863           
  Partials                ?        3           

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

🚀 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants