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

Add function to encode a function call #761

Merged
merged 4 commits into from
Jun 14, 2024
Merged

Conversation

zoeyTM
Copy link
Contributor

@zoeyTM zoeyTM commented May 16, 2024

resolves #760

Looking at our other examples I don't know why they refer to `named library`, I
am going to leave them and quietly shut the door behind me.
});
});

it("should not validate a non-existant hardhat contract", async () => {
Copy link
Member

Choose a reason for hiding this comment

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

Is this not testing the m.contract validation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, this validation (as well as the normal function call) has its own version of the check that this is testing.

That being said, this comment made me notice that I somehow forgot to swap the validation functions when I copied these tests from the normal function call tests, so I'll push a commit with that change.

Copy link
Member

@kanej kanej left a comment

Choose a reason for hiding this comment

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

I left a few comments and nit picks. The only real question is around the id and default id.
Otherwise this is really solid work. Nicely done.

@zoeyTM zoeyTM requested a review from kanej June 14, 2024 08:23
Copy link
Member

@kanej kanej left a comment

Choose a reason for hiding this comment

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

Looks good:

image

@zoeyTM zoeyTM merged commit e3c9e5c into development Jun 14, 2024
7 checks passed
@zoeyTM zoeyTM deleted the encode-function-call branch June 14, 2024 16:06
@zoeyTM zoeyTM mentioned this pull request Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add function to encode function call args
3 participants