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

feat: contracts v2 #230

Merged
merged 9 commits into from
Oct 11, 2023
Merged

feat: contracts v2 #230

merged 9 commits into from
Oct 11, 2023

Conversation

jtguibas
Copy link
Contributor

No description provided.

@jtguibas jtguibas changed the base branch from main to john/rustx October 10, 2023 23:14
Copy link
Contributor

@mattstam mattstam left a comment

Choose a reason for hiding this comment

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

Overall looks good!

contracts/src/FunctionGatewayV2.sol Outdated Show resolved Hide resolved
contracts/src/FunctionGatewayV2.sol Outdated Show resolved Hide resolved
_verify(_functionId, inputHash, outputHash, _proof);

// Set the current verified call.
currentVerifiedFunctionId = _functionId;
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe cleaner to just put this all in currentVerifiedCall struct

Copy link
Contributor

@puma314 puma314 left a comment

Choose a reason for hiding this comment

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

Looks great, few small comments

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we should delete this file, we should update it to the latest thing

Copy link
Contributor

Choose a reason for hiding this comment

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

Don't think we should delete this file either, but agree that writing tests is lower priority

contracts/src/interfaces/IFunctionGateway.sol Outdated Show resolved Hide resolved
contracts/src/FunctionGateway.sol Outdated Show resolved Hide resolved
contracts/src/FunctionGateway.sol Show resolved Hide resolved
contracts/src/FunctionGateway.sol Outdated Show resolved Hide resolved
contracts/src/FunctionGateway.sol Outdated Show resolved Hide resolved
contracts/src/FunctionGateway.sol Show resolved Hide resolved
contracts/src/FunctionGateway.sol Show resolved Hide resolved
contracts/src/FunctionGateway.sol Outdated Show resolved Hide resolved
contracts/src/FunctionGateway.sol Show resolved Hide resolved
contracts/src/FunctionGateway.sol Outdated Show resolved Hide resolved
contracts/src/FunctionGateway.sol Outdated Show resolved Hide resolved
@jtguibas jtguibas merged commit ec8932c into john/rustx Oct 11, 2023
3 checks 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.

3 participants