Skip to content

Implement DAHR#66

Merged
tcsenpai merged 24 commits into
testnetfrom
rewrite-to-dahr
Nov 12, 2024
Merged

Implement DAHR#66
tcsenpai merged 24 commits into
testnetfrom
rewrite-to-dahr

Conversation

@massouji82
Copy link
Copy Markdown
Contributor

@massouji82 massouji82 commented Jul 3, 2024

This PR creates and implements the DAHR logic. Most important parts:

  • Define Proxy andDAHR classes
  • Define the corresponding factory classes.
  • Define Web2RequestManager
  • Define web2PayloadProcessor
  • Define handleWeb2ProxyRequest
  • Define handleWeb2

Th general logic is:

  1. The user inputs a url and possibly url params and headers, and type of http request.
  2. The frontend calls the backend and receives a DAHR object
  3. The frontend, upon receiving the object, proceeds to call the startProxy method on it
  4. A proxy channel is created between the user and the url destination based on the type of http request selected.
  5. An attested response is sent back to the user.

@massouji82 massouji82 self-assigned this Jul 3, 2024
@massouji82 massouji82 changed the title huge rewrite. starting to take final form Implement DAHR Nov 4, 2024
This was linked to issues Nov 4, 2024
@tcsenpai tcsenpai changed the base branch from main to testnet November 12, 2024 17:18
@tcsenpai tcsenpai merged commit 286413b into testnet Nov 12, 2024
@massouji82 massouji82 deleted the rewrite-to-dahr branch May 1, 2025 11:43
tcsenpai pushed a commit that referenced this pull request May 6, 2026
PR #778 review CR-5: the bot's original concern (only EXITED rejected,
all other statuses pass) was already fixed — current code requires
`status === ACTIVE || status === UNSTAKING`. Add explicit tests for
the rejection paths (null, undefined, unknown string) so the
allow-list stays under regression protection.

Mycelium task #66.
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.

Experiment with the DAHR logic Define the DAHR logic

2 participants