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

New compiler fetcher #41

Merged
merged 18 commits into from
Jun 24, 2022
Merged

New compiler fetcher #41

merged 18 commits into from
Jun 24, 2022

Conversation

sevenzing
Copy link
Collaborator

No description provided.

verification/example_config.toml Outdated Show resolved Hide resolved
verification/example_config.toml Outdated Show resolved Hide resolved
verification/src/solidity/compiler_fetcher.rs Outdated Show resolved Hide resolved
verification/src/solidity/compiler_fetcher.rs Outdated Show resolved Hide resolved
verification/src/solidity/compiler_fetcher.rs Outdated Show resolved Hide resolved
verification/src/solidity/compiler_fetcher.rs Outdated Show resolved Hide resolved
@rimrakhimov rimrakhimov requested a review from leviska June 22, 2022 15:27
.gitignore Outdated Show resolved Hide resolved
verification/src/config.rs Outdated Show resolved Hide resolved
verification/src/solidity/compiler_fetcher.rs Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
Comment on lines 1 to 7
use clap::Parser;
use verification::{run_http_server, Args, Config};

#[tokio::main]
async fn main() -> std::io::Result<()> {
env_logger::init();
let config = Config::parse().expect("Failed to parse config");
let args = Args::parse();
Copy link
Member

Choose a reason for hiding this comment

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

Nit: we may define Args::new constructor which calls Args::parse inside. That way we would not need to import clap::Parser anywhere outside of config.rs

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

okay, but I will add default() instead of new()
изображение

verification/src/solidity/compiler_fetcher.rs Outdated Show resolved Hide resolved
verification/src/solidity/compiler_fetcher.rs Outdated Show resolved Hide resolved
verification/src/solidity/compiler_fetcher.rs Show resolved Hide resolved
@sevenzing sevenzing force-pushed the lymarenkolev/new-fetcher branch 2 times, most recently from 4a01333 to d57be13 Compare June 24, 2022 11:21
@sevenzing sevenzing merged commit 988975f into main Jun 24, 2022
@sevenzing sevenzing deleted the lymarenkolev/new-fetcher branch June 24, 2022 12:54
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