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

Update FileInput to match vyper-0.4.0.rc5 #227

Merged
merged 1 commit into from
May 16, 2024

Conversation

ritzdorf
Copy link
Contributor

What I did

Patch inconsistency of vyper-0.4.0 branch with new vyper version 0.4.0.rc5.

In vyper the FileInput no longer has a source_code field:
https://github.com/vyperlang/vyper/blob/75c75c5631222dd1b98c23f8cfeedc080e47a9e3/vyper/compiler/input_bundle.py#L37-L40

How I did it

I used the contents field.

How to verify it

Use this example https://github.com/ritzdorf/titanoboa/?tab=readme-ov-file#basic
It did no longer work.

Description for the changelog

Adjust FileInput usage to match updated vyper definition

Cute Animal Picture

08_CutestBabyAnimals__Quokkas_shutterstock_1608023803-3960770704

@charles-cooper charles-cooper merged commit 2e39bea into vyperlang:vyper-0.4.0 May 16, 2024
3 of 4 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.

2 participants