From 41f11e81bd5117fb79c89fc89e07e35ebdd9997d Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Fri, 22 Mar 2024 09:50:34 +0000 Subject: [PATCH] Don't enable v5 tracing API by default (#96) --- scripts/migrate-imported.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/migrate-imported.rs b/scripts/migrate-imported.rs index fa80cbf..1f66e86 100644 --- a/scripts/migrate-imported.rs +++ b/scripts/migrate-imported.rs @@ -127,16 +127,10 @@ fn update_root_toml(args: &Args) -> Vec { // Add feature "runtime-1600" to "evm-tracing-event" if dep_name == "evm-tracing-events" { - let Value::Array(ref mut features) = dep_table.get_or_insert("features", Array::new()) else { - panic!("expected features of `{dep_name}` to be an array or missing"); - }; - features.push("runtime-1600"); - } - if dep_name == "moonbeam-rpc-primitives-debug" { let Value::Array(features) = dep_table.get_or_insert("features", Array::new()) else { panic!("expected features of `{dep_name}` to be an array or missing"); }; - features.push("runtime-2900"); + features.push("runtime-1600"); } // No path => not moonbeam crate.