From d64b11b6ef4a72e737af6cf1df45a745943f5200 Mon Sep 17 00:00:00 2001 From: juliopavila Date: Mon, 18 Mar 2024 15:31:39 -0300 Subject: [PATCH] feat: improve simulation component and add proper credentials --- .../components/Modal/SingleTransaction.vue | 1 - .../components/Simulation/Tenderly.vue | 370 +--------------- .../safeSnap/composable/useSimulation.ts | 408 ++++++++++++++++++ 3 files changed, 417 insertions(+), 362 deletions(-) create mode 100644 src/plugins/safeSnap/composable/useSimulation.ts diff --git a/src/plugins/safeSnap/components/Modal/SingleTransaction.vue b/src/plugins/safeSnap/components/Modal/SingleTransaction.vue index 185ed1896de..cab776d3b58 100644 --- a/src/plugins/safeSnap/components/Modal/SingleTransaction.vue +++ b/src/plugins/safeSnap/components/Modal/SingleTransaction.vue @@ -107,7 +107,6 @@ const submitTransaction = () => { ...currentConnextModelValue.value, transactionBatchType: transactionBatchTypeSelected.value }); - // emit('update:connextModelValue', currentConnextModelValue.value); } emit('close'); }; diff --git a/src/plugins/safeSnap/components/Simulation/Tenderly.vue b/src/plugins/safeSnap/components/Simulation/Tenderly.vue index c2047e8a7b5..b5ef392dc31 100644 --- a/src/plugins/safeSnap/components/Simulation/Tenderly.vue +++ b/src/plugins/safeSnap/components/Simulation/Tenderly.vue @@ -1,31 +1,13 @@