Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encalve Spec #1

Merged
merged 62 commits into from
Jun 5, 2024
Merged

Encalve Spec #1

merged 62 commits into from
Jun 5, 2024

Conversation

auryn-macmillan
Copy link
Member

This PR specifies the Enclave protocol in a suite of unit tests, along with implementing Mock contracts for each of the various modular components.

// note that this.owner is msg.sender in both cases
const enclave = await this.Enclave.deploy(this.otherAccount.address, this.otherAccount.address, this.maxDuration);
const owner2 = await enclave.owner();
const [, , , otherOwner, otherRegistry] = await ethers.getSigners();
Copy link
Member Author

@auryn-macmillan auryn-macmillan Jun 3, 2024

Choose a reason for hiding this comment

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

Should we just add this to the fixture, since a similar call is repeated a few times throughout the tests?

@cristovaoth cristovaoth marked this pull request as ready for review June 5, 2024 11:55
@auryn-macmillan auryn-macmillan merged commit fd1c799 into main Jun 5, 2024
1 check passed
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