Deploy to Test Builder
Add these lines to deploy the contract.
Here, we're setting up our test databases and deploying the counter contract to our test builder. This step is crucial for having a contract to interact with in our subsequent tests.
#![allow(unused)] fn main() { #[tokio::test] async fn test() { // ... let dbs = utils::db::new_dbs().await; // Deploy the contract essential_app_utils::deploy::deploy_contract(&dbs.builder, &counter) .await .unwrap(); } }