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(prover_cli): Add test for status, l1 and config commands. #2263

Merged
merged 159 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
17e564c
fmt
ColoCarletti Apr 8, 2024
245b0a4
wip
ColoCarletti Apr 8, 2024
8e84243
add cargo.toml cargo.lock
ColoCarletti Apr 8, 2024
17517b1
go back to anihow
ColoCarletti Apr 8, 2024
4ab7ce8
fmt
ColoCarletti Apr 8, 2024
4655201
rm tool workspace
ColoCarletti Apr 9, 2024
c32d1aa
fmt
ColoCarletti Apr 10, 2024
8e49e04
zk fmt
ColoCarletti Apr 10, 2024
80e13da
fix typo
ColoCarletti Apr 10, 2024
0f2ebd8
move query to prover_dal
ColoCarletti Apr 12, 2024
69d2104
remove --all flag
Apr 15, 2024
c9e6e5e
change command name
ColoCarletti Apr 16, 2024
83fab40
merge main
ColoCarletti Apr 16, 2024
cdbb467
fmt
ColoCarletti Apr 16, 2024
d1f3994
add sqlx query json
ColoCarletti Apr 16, 2024
4ee3ff2
Merge branch 'main' into prover_cli_status_command
ilitteri Apr 16, 2024
fff3910
update README
ColoCarletti Apr 16, 2024
ef906b9
zk fmt
ColoCarletti Apr 16, 2024
3758547
Merge branch 'prover_cli_status_command' of github.com:matter-labs/zk…
ColoCarletti Apr 16, 2024
b3051b2
remove eol
ColoCarletti Apr 16, 2024
ee9d35b
Move jobs cmd to status cmd module
Apr 16, 2024
82faf32
Refactor status cmd
Apr 16, 2024
aa44864
Update Cargo.lock
Apr 16, 2024
3fe32b6
zk fmt
Apr 16, 2024
d43dd15
Merge pull request #1705 from matter-labs/il-refactor-prover-cli-stat…
ilitteri Apr 17, 2024
70b0348
Merge branch 'main' into prover_cli_status_command
ilitteri Apr 17, 2024
585059b
Merge branch 'main' into prover_cli_status_command
ilitteri Apr 17, 2024
9977e95
Refactor
Apr 18, 2024
ee88cfe
Merge branch 'main' into prover_cli_status_command
ilitteri Apr 18, 2024
075e6dc
Merge branch 'main' into prover_cli_status_command
ColoCarletti Apr 19, 2024
0120a09
fix typo
ColoCarletti Apr 19, 2024
9a11a94
modify query to include aggregation_round
ColoCarletti Apr 19, 2024
1c92e95
change query return type
ColoCarletti Apr 24, 2024
05e1636
Update Cargo files
Apr 24, 2024
58d47ad
Setle status cmd baseline
Apr 24, 2024
f778759
Add status cmd utils
Apr 24, 2024
e945df2
Add status utils
Apr 24, 2024
6585378
zk fmt
Apr 24, 2024
47df898
Document enums
Apr 24, 2024
ceae289
Add BatchDataBuilder struct
Apr 24, 2024
f6d7b9a
Add TaskStatus::Custom enum variant
Apr 24, 2024
8e16d35
Fix BatchDataBuilder
Apr 24, 2024
a76cb32
Rollback
Apr 24, 2024
c460029
impl From<ProofCompressionJobStatus> for TaskStatus
Apr 24, 2024
e76da1f
Fix TaskStatus::Custom fmt
Apr 24, 2024
4be214e
Add query for getting proof compression job info for a batch
Apr 25, 2024
e9e197f
Add query for getting proof compression job info for a batch
Apr 25, 2024
7c9a499
Handle proof compression job status for batches
Apr 25, 2024
17b5875
Fix get_proof_compression_job_status_for_batch
Apr 25, 2024
3fdc055
Remove BatchDataBuilder struct
Apr 25, 2024
a2ad3f9
Merge branch 'prover_cli_status_command' of github.com:matter-labs/zk…
Apr 25, 2024
3093cde
Fix
Apr 25, 2024
fde3be1
Move prover_dal types to basic_types::prover_dal module
ilitteri Apr 25, 2024
efd70ac
Refactor query
ilitteri Apr 25, 2024
6ec0ac3
Merge pull request #1789 from matter-labs/prover_cli_compressor_status
ilitteri Apr 25, 2024
1830ced
add bwg query
ColoCarletti Apr 25, 2024
a6105b8
merge compresor job
ColoCarletti Apr 25, 2024
bbe5dc3
add status for prover jobs
ColoCarletti Apr 26, 2024
111884b
add title for prover jobs
ColoCarletti Apr 26, 2024
9fef23d
Refactor
ilitteri Apr 26, 2024
01ecd2f
add leaf query
ColoCarletti Apr 29, 2024
25e089b
Merge branch 'prover_cli_status_command' into prover_cli_status_comma…
ColoCarletti Apr 29, 2024
590c58b
fix merge
ColoCarletti Apr 29, 2024
e08b05e
add querys
ColoCarletti Apr 29, 2024
cf069b9
fix witnes jobs status
ColoCarletti Apr 30, 2024
6ad5566
rm comments
ColoCarletti Apr 30, 2024
a3f1938
Fix & refactors
ilitteri Apr 30, 2024
78c7cd8
zk lint rust
ilitteri Apr 30, 2024
33729b8
Fix import
ilitteri Apr 30, 2024
1efde33
Merge branch 'prover_cli_status_command' of github.com:matter-labs/zk…
ilitteri Apr 30, 2024
112ae93
fix import
ColoCarletti Apr 30, 2024
e1854fa
zk lint rust
ilitteri Apr 30, 2024
ccab3d3
Merge branch 'prover_cli_status_command_lwg' of github.com:matter-lab…
ColoCarletti Apr 30, 2024
fa26c26
fix wg task types
ColoCarletti Apr 30, 2024
dbaf3b4
Merge pull request #1830 from matter-labs/prover_cli_status_command_lwg
ColoCarletti Apr 30, 2024
4124f63
Merge main
ColoCarletti Apr 30, 2024
a4fde1f
update README
ColoCarletti Apr 30, 2024
10fdcb9
fix EIP Blob use
ColoCarletti Apr 30, 2024
8a1101f
fix typos
ColoCarletti Apr 30, 2024
c1282a5
Merge branch 'main' into prover_cli_status_command
ilitteri May 2, 2024
1bbde93
Fix typo
ilitteri May 2, 2024
16be778
Merge branch 'main' into prover_cli_status_command
ilitteri May 2, 2024
1fc445c
Initial test code
ilitteri May 2, 2024
4a7e58a
Basic status tests
ilitteri May 2, 2024
43565ec
Stop reseting the prover db when running zk test prover
ilitteri May 3, 2024
c1ea0b9
Add dev dependency
ilitteri May 3, 2024
a3808eb
Merge branch 'main' of github.com:matter-labs/zksync-era into prover_…
ilitteri May 3, 2024
7f6a53d
Update tests
ilitteri May 3, 2024
5dee362
Fix
ilitteri May 3, 2024
dee2192
Merge branch 'main' of github.com:matter-labs/zksync-era into prover_…
ilitteri May 6, 2024
00269ff
Remove old constants
ilitteri May 6, 2024
c601ca9
Merge branch 'main' into prover_cli_tests
ColoCarletti May 28, 2024
4bc1c65
Merge branch 'main' into prover_cli_tests
ColoCarletti May 31, 2024
0c323fa
Merge branch 'main' into prover_cli_tests
ColoCarletti Jun 4, 2024
26987be
merge main
ColoCarletti Jun 6, 2024
b9d4d3d
Merge branch 'main' into prover_cli_tests
ColoCarletti Jun 6, 2024
c568f61
add db to prover tests
ColoCarletti Jun 6, 2024
0d6fe06
fix dependencies after merge
ColoCarletti Jun 6, 2024
6639833
fix l1 import
ColoCarletti Jun 6, 2024
4ed261d
update batch tests
ColoCarletti Jun 6, 2024
62b46e7
add --test-threads=1 flag
ColoCarletti Jun 6, 2024
92a5c73
fix batch command
ColoCarletti Jun 6, 2024
3038d1b
add test db connection
ColoCarletti Jun 6, 2024
b49820f
fix queued status
ColoCarletti Jun 13, 2024
f149dd2
fmt
ColoCarletti Jun 13, 2024
0125dd2
fix imports
ColoCarletti Jun 13, 2024
0532ec9
add status tests
ColoCarletti Jun 13, 2024
87aa6dd
rm env set
ColoCarletti Jun 13, 2024
9a77683
fix config command
ColoCarletti Jun 13, 2024
291d89b
remove unused fn
ColoCarletti Jun 13, 2024
d05ca3c
add verbose tests
ColoCarletti Jun 14, 2024
4000fda
Merge branch 'main' into prover_cli_tests
ColoCarletti Jun 14, 2024
aee6fe3
finish verbose tests
ColoCarletti Jun 18, 2024
d993ce1
Merge branch 'main' into prover_cli_tests
ColoCarletti Jun 18, 2024
9fb189b
Merge branch 'main' into prover_cli_tests
ColoCarletti Jun 19, 2024
77e9e53
merge main
ColoCarletti Jun 24, 2024
a053b9c
Merge branch 'main' into prover_cli_tests
ColoCarletti Jun 25, 2024
f87058d
Merge branch 'main' into prover_cli_tests
ColoCarletti Jul 2, 2024
4d5df76
Merge branch 'prover_cli_tests' of github.com:matter-labs/zksync-era …
ColoCarletti Jul 2, 2024
d01de36
Merge branch 'main' into prover_cli_tests
ColoCarletti Jul 2, 2024
4c573bb
Merge branch 'main' into prover_cli_tests
EmilLuta Jul 3, 2024
27ae83f
fix imports
ColoCarletti Jul 4, 2024
16a0398
update Cargo.lock
ColoCarletti Jul 4, 2024
2fda18c
Merge branch 'main' into prover_cli_tests
ColoCarletti Jul 4, 2024
b88f594
Merge branch 'main' into prover_cli_tests
ColoCarletti Jul 12, 2024
d747119
add witness_inputs_blob_url parameter
ColoCarletti Jul 12, 2024
7389589
change test db url
ColoCarletti Jul 12, 2024
b49e977
Merge branch 'main' into prover_cli_tests
ColoCarletti Jul 12, 2024
76f4d9f
add prover_test_pool
ColoCarletti Jul 12, 2024
069c401
Merge branch 'prover_cli_tests' of github.com:matter-labs/zksync-era …
ColoCarletti Jul 12, 2024
6a00610
Merge branch 'main' into prover_cli_tests
ColoCarletti Jul 15, 2024
161d521
remove sqlx from .toml
ColoCarletti Jul 15, 2024
1a26d96
update cargo.lock
ColoCarletti Jul 16, 2024
e3a7c4a
Merge branch 'main' into prover_cli_tests
ColoCarletti Jul 17, 2024
312b57a
Merge branch 'main' into prover_cli_tests
ColoCarletti Jul 23, 2024
7b60969
Merge branch 'main' into prover_cli_tests
ColoCarletti Jul 23, 2024
95aa565
Move prover_cli tests to new directory.
ColoCarletti Jul 23, 2024
7b0b20e
Merge branch 'prover_cli_tests' of github.com:matter-labs/zksync-era …
ColoCarletti Jul 23, 2024
a84ab6f
Merge branch 'main' into prover_cli_tests
ColoCarletti Jul 23, 2024
a927082
Merge branch 'main' into prover_cli_tests
ColoCarletti Jul 25, 2024
b1fb279
move querys into prover_dal
ColoCarletti Jul 31, 2024
0075155
move batch test to test dir
ColoCarletti Aug 1, 2024
af08b08
Add a method to create a PoverCLI from string
ColoCarletti Aug 1, 2024
981e02e
use nextest in prover tests
ColoCarletti Aug 1, 2024
2646cbf
fix plicongif
ColoCarletti Aug 2, 2024
734c569
Merge branch 'main' into prover_cli_tests
ColoCarletti Aug 6, 2024
717a1b2
Change structs to pub
ColoCarletti Aug 6, 2024
cd18de4
Merge branch 'main' into prover_cli_tests
ColoCarletti Aug 7, 2024
ebb4fac
Merge branch 'main' into prover_cli_tests
ColoCarletti Aug 8, 2024
ea6b2c7
Merge branch 'prover_cli_tests' of github.com:matter-labs/zksync-era …
ColoCarletti Aug 13, 2024
f136f81
Merge branch 'main' into prover_cli_tests
ColoCarletti Aug 13, 2024
6da8084
updte Cargo.locl
ColoCarletti Aug 13, 2024
b1694d5
Modify the tests so that they can run asynchronously
ColoCarletti Aug 13, 2024
d7c6326
fix flaky test
ColoCarletti Aug 13, 2024
64851d5
Merge branch 'main' into prover_cli_tests
ColoCarletti Aug 13, 2024
a4fc66e
Merge branch 'main' into prover_cli_tests
ColoCarletti Aug 13, 2024
a48efc9
Merge branch 'main' into prover_cli_tests
ColoCarletti Aug 15, 2024
b6a3807
Merge branch 'main' into prover_cli_tests
ColoCarletti Aug 16, 2024
be04bc5
Merge branch 'main' into prover_cli_tests
ColoCarletti Aug 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions core/lib/db_connection/src/connection_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ impl TestTemplate {
Ok(Self(db_url.parse()?))
}

pub fn prover_empty() -> anyhow::Result<Self> {
EmilLuta marked this conversation as resolved.
Show resolved Hide resolved
let db_url = env::var("TEST_DATABASE_PROVER_URL").context(
ColoCarletti marked this conversation as resolved.
Show resolved Hide resolved
"TEST_DATABASE_PROVER_URL must be set. Normally, this is done by the 'zk' tool. \
Make sure that you are running the tests with 'zk test rust' command or equivalent.",
)?;
Ok(Self(db_url.parse()?))
}

/// Closes the connection pool, disallows connecting to the underlying db,
/// so that the db can be used as a template.
pub async fn freeze<DB: DbMarker>(pool: ConnectionPool<DB>) -> anyhow::Result<Self> {
Expand Down Expand Up @@ -291,6 +299,11 @@ impl<DB: DbMarker> ConnectionPool<DB> {
Self::constrained_test_pool(DEFAULT_CONNECTIONS).await
}

pub async fn prover_test_pool() -> ConnectionPool<DB> {
const DEFAULT_CONNECTIONS: u32 = 100; // Expected to be enough for any unit test.
Self::constrained_prover_test_pool(DEFAULT_CONNECTIONS).await
}

/// Same as [`Self::test_pool()`], but with a configurable number of connections. This is useful to test
/// behavior of components that rely on singleton / constrained pools in production.
pub async fn constrained_test_pool(connections: u32) -> ConnectionPool<DB> {
Expand All @@ -309,6 +322,22 @@ impl<DB: DbMarker> ConnectionPool<DB> {
pool
}

pub async fn constrained_prover_test_pool(connections: u32) -> ConnectionPool<DB> {
assert!(connections > 0, "Number of connections must be positive");
let mut builder = TestTemplate::prover_empty()
.expect("failed creating test template")
.create_db(connections)
.await
.expect("failed creating database for tests");
let mut pool = builder
.set_acquire_timeout(Some(Self::TEST_ACQUIRE_TIMEOUT))
.build()
.await
.expect("cannot build connection pool");
pool.traced_connections = Some(Arc::default());
pool
}

/// Initializes a builder for connection pools.
pub fn builder(database_url: SensitiveUrl, max_pool_size: u32) -> ConnectionPoolBuilder<DB> {
ConnectionPoolBuilder {
Expand Down
28 changes: 25 additions & 3 deletions infrastructure/zk/src/test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,25 @@ import * as db from '../database';

export { integration };

export async function prover() {
export async function prover(options: string[]) {
await db.resetTest({ core: false, prover: true });
process.chdir(process.env.ZKSYNC_HOME! + '/prover');
await utils.spawn('cargo test --release --workspace --locked');

let result = await utils.exec('cargo install --list');
let test_runner = 'cargo nextest run';

if (!result.stdout.includes('cargo-nextest')) {
console.warn(
chalk.bold.red(
`cargo-nextest is missing, please run "cargo install cargo-nextest". Falling back to "cargo test".`
)
);
test_runner = 'cargo test';
}

let cmd = `${test_runner} --release --locked --${options.join(' ')}`;
console.log(`running prover unit tests with '${cmd}'`);
await utils.spawn(cmd);
}

export async function rust(options: string[]) {
Expand Down Expand Up @@ -38,7 +54,13 @@ export async function l1Contracts() {

export const command = new Command('test').description('run test suites').addCommand(integration.command);

command.command('prover').description('run unit-tests for the prover').action(prover);
command
.command('prover [command...]')
.allowUnknownOption()
.description('run unit-tests for the prover')
.action(async (args: string[]) => {
await prover(args);
});
command.command('l1-contracts').description('run unit-tests for the layer 1 smart contracts').action(l1Contracts);
command
.command('rust [command...]')
Expand Down
73 changes: 72 additions & 1 deletion prover/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion prover/crates/bin/prover_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ zksync_dal.workspace = true
zksync_utils.workspace = true
strum.workspace = true
colored.workspace = true
sqlx.workspace = true
circuit_definitions.workspace = true
serde_json.workspace = true
zkevm_test_harness = { workspace = true, optional = true, features = ["verbose_circuits"] }
chrono.workspace = true

[dev-dependencies]
assert_cmd = "2"
ColoCarletti marked this conversation as resolved.
Show resolved Hide resolved

[features]
# enable verbose circuits, if you want to use debug_circuit command (as it is quite heavy dependency).
verbose_circuits = ["zkevm_test_harness"]
42 changes: 22 additions & 20 deletions prover/crates/bin/prover_cli/src/cli.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,37 @@
use clap::{command, Args, Parser, Subcommand};
use zksync_types::url::SensitiveUrl;

use crate::commands::{self, config, debug_proof, delete, get_file_info, requeue, restart, stats};
use crate::commands::{
config, debug_proof, delete, get_file_info, requeue, restart, stats, status::StatusCommand,
};

pub const VERSION_STRING: &str = env!("CARGO_PKG_VERSION");

#[derive(Parser)]
#[command(name = "prover-cli", version = VERSION_STRING, about, long_about = None)]
struct ProverCLI {
pub struct ProverCLI {
#[command(subcommand)]
command: ProverCommand,
#[clap(flatten)]
config: ProverCLIConfig,
}

impl ProverCLI {
pub async fn start(self) -> anyhow::Result<()> {
match self.command {
ProverCommand::FileInfo(args) => get_file_info::run(args).await?,
ProverCommand::Config(cfg) => config::run(cfg).await?,
ProverCommand::Delete(args) => delete::run(args, self.config).await?,
ProverCommand::Status(cmd) => cmd.run(self.config).await?,
ProverCommand::Requeue(args) => requeue::run(args, self.config).await?,
ProverCommand::Restart(args) => restart::run(args).await?,
ProverCommand::DebugProof(args) => debug_proof::run(args).await?,
ProverCommand::Stats(args) => stats::run(args, self.config).await?,
};
Ok(())
}
}

// Note: this is set via the `config` command. Values are taken from the file pointed
// by the env var `PLI__CONFIG` or from `$ZKSYNC_HOME/etc/pliconfig` if unset.
#[derive(Args)]
Expand All @@ -26,31 +44,15 @@ pub struct ProverCLIConfig {
}

#[derive(Subcommand)]
enum ProverCommand {
pub enum ProverCommand {
DebugProof(debug_proof::Args),
FileInfo(get_file_info::Args),
Config(ProverCLIConfig),
Delete(delete::Args),
#[command(subcommand)]
Status(commands::StatusCommand),
Status(StatusCommand),
Requeue(requeue::Args),
Restart(restart::Args),
#[command(about = "Displays L1 Batch proving stats for a given period")]
Stats(stats::Options),
}

pub async fn start() -> anyhow::Result<()> {
let ProverCLI { command, config } = ProverCLI::parse();
match command {
ProverCommand::FileInfo(args) => get_file_info::run(args).await?,
ProverCommand::Config(cfg) => config::run(cfg).await?,
ProverCommand::Delete(args) => delete::run(args, config).await?,
ProverCommand::Status(cmd) => cmd.run(config).await?,
ProverCommand::Requeue(args) => requeue::run(args, config).await?,
ProverCommand::Restart(args) => restart::run(args).await?,
ProverCommand::DebugProof(args) => debug_proof::run(args).await?,
ProverCommand::Stats(args) => stats::run(args, config).await?,
};

Ok(())
}
4 changes: 2 additions & 2 deletions prover/crates/bin/prover_cli/src/commands/debug_proof.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
use clap::Args as ClapArgs;

#[derive(ClapArgs)]
pub(crate) struct Args {
pub struct Args {
/// File with the basic proof.
#[clap(short, long)]
file: String,
}

pub(crate) async fn run(_args: Args) -> anyhow::Result<()> {
pub async fn run(_args: Args) -> anyhow::Result<()> {
#[cfg(not(feature = "verbose_circuits"))]
anyhow::bail!("Please compile with verbose_circuits feature");
#[cfg(feature = "verbose_circuits")]
Expand Down
4 changes: 2 additions & 2 deletions prover/crates/bin/prover_cli/src/commands/delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use zksync_types::L1BatchNumber;
use crate::cli::ProverCLIConfig;

#[derive(ClapArgs)]
pub(crate) struct Args {
pub struct Args {
/// Delete data from all batches
#[clap(
short,
Expand All @@ -22,7 +22,7 @@ pub(crate) struct Args {
batch: L1BatchNumber,
}

pub(crate) async fn run(args: Args, config: ProverCLIConfig) -> anyhow::Result<()> {
pub async fn run(args: Args, config: ProverCLIConfig) -> anyhow::Result<()> {
let confirmation = Input::<String>::with_theme(&ColorfulTheme::default())
.with_prompt("Are you sure you want to delete the data?")
.default("no".to_owned())
Expand Down
2 changes: 1 addition & 1 deletion prover/crates/bin/prover_cli/src/commands/get_file_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use zksync_prover_fri_types::{
use zksync_prover_interface::outputs::L1BatchProofForL1;

#[derive(ClapArgs)]
pub(crate) struct Args {
pub struct Args {
#[clap(short, long)]
file_path: String,
}
Expand Down
3 changes: 1 addition & 2 deletions prover/crates/bin/prover_cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
pub(crate) use status::StatusCommand;
pub(crate) mod config;
pub(crate) mod debug_proof;
pub(crate) mod delete;
pub(crate) mod get_file_info;
pub(crate) mod requeue;
pub(crate) mod restart;
pub(crate) mod stats;
pub(crate) mod status;
pub mod status;
4 changes: 2 additions & 2 deletions prover/crates/bin/prover_cli/src/commands/restart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use zksync_prover_dal::{
use zksync_types::{basic_fri_types::AggregationRound, L1BatchNumber};

#[derive(ClapArgs)]
pub(crate) struct Args {
pub struct Args {
/// Batch number to restart
#[clap(
short,
Expand All @@ -22,7 +22,7 @@ pub(crate) struct Args {
prover_job: Option<u32>,
}

pub(crate) async fn run(args: Args) -> anyhow::Result<()> {
pub async fn run(args: Args) -> anyhow::Result<()> {
let config = DatabaseSecrets::from_env()?;
let prover_connection_pool = ConnectionPool::<Prover>::singleton(config.prover_url()?)
.build()
Expand Down
Loading
Loading