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

Exclude test contracts from the workspace members. #102

Merged
merged 2 commits into from
Apr 22, 2024
Merged

Conversation

deuszx
Copy link
Collaborator

@deuszx deuszx commented Apr 22, 2024

Excluding test-contracts from the members speeds up compilation a bit and does not clean them with cargo clean - this makes sense since these contracts are not changing.

Added new subcommand to Python client for managing farms.

@deuszx deuszx force-pushed the cleanup-commands branch 9 times, most recently from ad9319a to d679de8 Compare April 22, 2024 15:14
@deuszx deuszx force-pushed the cleanup-commands branch from d679de8 to d45b35d Compare April 22, 2024 15:46
@deuszx deuszx requested a review from h4nsu April 22, 2024 15:47
check_account_ids(chain, args.farm, args.token)
call_contract(chain, keypair, args.farm, args.metadata, method='Farm::owner_add_reward_token', token=args.token)
else:
raise ValueError(f'Unknown command: {args.command}')
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is dead code. The line args = argument_parser().parse_args() will throw an exception if command is not one of known options.

@deuszx deuszx merged commit 26acb9c into main Apr 22, 2024
1 check passed
@deuszx deuszx deleted the cleanup-commands branch April 22, 2024 16:29
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