Skip to content

[hackathon] refactor: make AliasOracle::should_alias async via RPITIT#101

Closed
prestwich wants to merge 2 commits intofeat/host-context-adapterfrom
prestwich/async-alias-oracle-v2
Closed

[hackathon] refactor: make AliasOracle::should_alias async via RPITIT#101
prestwich wants to merge 2 commits intofeat/host-context-adapterfrom
prestwich/async-alias-oracle-v2

Conversation

@prestwich
Copy link
Member

Summary

Based on #100 (feat/host-context-adapter).

  • Makes AliasOracle::should_alias async using return-position impl Trait in traits (RPITIT)
  • Existing sync implementations (HashSet<Address>, RethAliasOracle) pre-compute results and wrap in async move { result }
  • Processor call site awaits the new async method

This prepares the trait for future implementations that need async I/O (e.g., network calls to check alias status).

Test plan

  • cargo clippy passes for signet-block-processor, signet-host-reth, signet-node, signet-node-tests
  • cargo t -p signet-block-processor passes
  • cargo t -p signet-node-tests passes (42 tests, 0 failures)
  • cargo +nightly fmt clean

🤖 Generated with Claude Code

@prestwich prestwich changed the title refactor: make AliasOracle::should_alias async via RPITIT [hackathon] refactor: make AliasOracle::should_alias async via RPITIT Mar 13, 2026
prestwich and others added 2 commits March 13, 2026 14:25
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@prestwich prestwich force-pushed the prestwich/async-alias-oracle-v2 branch from c312556 to 6b29571 Compare March 13, 2026 18:25
@prestwich
Copy link
Member Author

[Claude Code]

Closing — commits cherry-picked into #100 (feat/host-context-adapter).

@prestwich prestwich closed this Mar 13, 2026
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.

1 participant