Skip to content

ohttp registry changes#58

Merged
adambalogh merged 16 commits into
mainfrom
ani/ohttp-updates
May 27, 2026
Merged

ohttp registry changes#58
adambalogh merged 16 commits into
mainfrom
ani/ohttp-updates

Conversation

@dixitaniket
Copy link
Copy Markdown
Collaborator

@dixitaniket dixitaniket commented May 22, 2026

Description

  • adds ohttp config as part of tee registry
  • tee operator client updates to manage ohttp config for tee registration

More Details

Testing

Comment thread scripts/tee-mgmt-cli/registry/client.go Dismissed
@adambalogh adambalogh added the run-ci Run ETE Testing Suite label May 25, 2026
Comment thread contracts/solidity/TEERegistry.sol Outdated
string calldata endpoint,
uint8 teeType
) external onlyRole(TEE_OPERATOR) returns (bytes32 teeId) {
) public virtual onlyRole(TEE_OPERATOR) returns (bytes32 teeId) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what's the plan with this? do you wanna set up a new v1 contract too? in that case why not just add the OHTTP stuff to this file?

or keep the old one? in that case, this wouldn't work no since the bytecode is different?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

i just changed it so that the new registry contract can call the function internally, the old registry would be deprecated and the new registry one would have both functions

Comment thread contracts/solidity/TEERegistryV2.sol Outdated
/// @notice Set or rotate the OHTTP config for a registered TEE.
/// @dev The caller must own the TEE or be an admin, and the config must be
/// signed by the TEE signing key stored in the base registry.
function setOHTTPConfig(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what's the use-case for this? we wouldn't expect ohttp keys to change over the lifetime of a TEE no?

Comment thread contracts/solidity/TEERegistryV2.sol Outdated
Comment thread contracts/solidity/TEERegistryV2.sol Outdated

This comment was marked as outdated.

@adambalogh
Copy link
Copy Markdown
Contributor

Add unit tests please

Comment thread contracts/solidity/TEERegistry.sol Outdated
Comment thread contracts/solidity/TEERegistry.sol Outdated

This comment was marked as outdated.

@dixitaniket dixitaniket added run-ci Run ETE Testing Suite and removed run-ci Run ETE Testing Suite labels May 27, 2026
@dixitaniket dixitaniket added run-ci Run ETE Testing Suite and removed run-ci Run ETE Testing Suite labels May 27, 2026
@dixitaniket dixitaniket added run-ci Run ETE Testing Suite and removed run-ci Run ETE Testing Suite labels May 27, 2026
@dixitaniket dixitaniket removed the run-ci Run ETE Testing Suite label May 27, 2026

This comment was marked as duplicate.

@dixitaniket dixitaniket added run-ci Run ETE Testing Suite and removed run-ci Run ETE Testing Suite labels May 27, 2026
@dixitaniket dixitaniket requested a review from Copilot May 27, 2026 17:21

This comment was marked as duplicate.

@dixitaniket dixitaniket added run-ci Run ETE Testing Suite and removed run-ci Run ETE Testing Suite labels May 27, 2026
@dixitaniket dixitaniket requested a review from Copilot May 27, 2026 17:39
…p-updates

# Conflicts:
#	contracts/solidity/TEERegistry.sol
#	tests/solidity/suites/tee/contracts/MockTEERegistry.sol
#	tests/solidity/suites/tee/test/registry.js
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

balogh.adam@icloud.com added 2 commits May 27, 2026 13:58
…p-updates

# Conflicts:
#	tests/solidity/suites/tee/test/registry.js
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.

Comment thread contracts/solidity/TEERegistry.sol
Comment thread contracts/solidity/TEERegistry.sol
Comment thread scripts/tee-mgmt-cli/Registration.md Outdated
@adambalogh adambalogh added run-ci Run ETE Testing Suite and removed run-ci Run ETE Testing Suite labels May 27, 2026
balogh.adam@icloud.com added 2 commits May 27, 2026 14:22
@adambalogh adambalogh added run-ci Run ETE Testing Suite and removed run-ci Run ETE Testing Suite labels May 27, 2026
@adambalogh adambalogh merged commit ee09f5f into main May 27, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-ci Run ETE Testing Suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants