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: new forge frontend #118

Merged
merged 12 commits into from
Jul 14, 2023
Merged

feat: new forge frontend #118

merged 12 commits into from
Jul 14, 2023

Conversation

daejunpark
Copy link
Collaborator

@daejunpark daejunpark commented Jul 14, 2023

reimplement forge frontend without crytic-compile dependency

result = {} # compiler version -> source filename -> contract name -> (json, type)

out_path = os.path.join(args.root, args.forge_build_out)
if not os.path.exists(out_path): raise ValueError('not exist', out_path)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
if not os.path.exists(out_path): raise ValueError('not exist', out_path)
if not os.path.exists(out_path): raise ValueError(f'{out_path} does not exist')

Copy link
Collaborator

Choose a reason for hiding this comment

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

alternatively, we may want to throw the built-in FileNotFoundError?

karmacoma-eth
karmacoma-eth previously approved these changes Jul 14, 2023
Copy link
Collaborator

@karmacoma-eth karmacoma-eth left a comment

Choose a reason for hiding this comment

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

minor comments otherwise LGTM! 👌

karmacoma-eth
karmacoma-eth previously approved these changes Jul 14, 2023
@karmacoma-eth karmacoma-eth self-requested a review July 14, 2023 22:42
@daejunpark daejunpark merged commit 47e23da into main Jul 14, 2023
54 checks passed
@daejunpark daejunpark deleted the feat/frontend branch July 14, 2023 22:46
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