fix curl and remove tracing

Signed-off-by: Valentyn Faychuk <valy@detee.ltd>
This commit is contained in:
Valentyn Faychuk 2024-12-02 05:42:05 +02:00
parent 2d99be8fe3
commit 9e9b906598
Signed by: valy
GPG Key ID: F1AB995E20FEADC5
2 changed files with 5 additions and 2 deletions

@ -68,5 +68,8 @@ sleep 15 # Wait for the cluster to start
echo "Running the test mint" echo "Running the test mint"
for p in {31311..31320}; do for p in {31311..31320}; do
curl -X POST "127.0.0.1:${p}/mint" --json '{"wallet": "EZT16iP1SQVUFf1AJN6oiE5BZPnyBUqaKDkZ4oZRsvhR"}' >2 /dev/null curl -X POST "127.0.0.1:${p}/mint" \
--json '{"wallet": "EZT16iP1SQVUFf1AJN6oiE5BZPnyBUqaKDkZ4oZRsvhR"}' \
--connect-timeout 5 2> /dev/null
echo "" # Newline
done done

@ -86,7 +86,7 @@ async fn get_sol_client(state: Arc<State>, ratls_config: RaTlsConfig) -> SolClie
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
env_logger::init_from_env(env_logger::Env::default().default_filter_or("trace")); env_logger::init_from_env(env_logger::Env::default().default_filter_or("warn"));
let ratls_config = RaTlsConfig::new() let ratls_config = RaTlsConfig::new()
.allow_instance_measurement(InstanceMeasurement::new().with_current_mrenclave().unwrap()); .allow_instance_measurement(InstanceMeasurement::new().with_current_mrenclave().unwrap());