From be564cfc7e730565402dfbbff8d3631ffc891152 Mon Sep 17 00:00:00 2001 From: ryanwolhuter Date: Wed, 25 Oct 2023 12:38:58 +0200 Subject: [PATCH] rename for clarity Signed-off-by: ryanwolhuter --- .../HandleOutcome/HandleOutcome.vue | 8 ++--- .../steps/AssertionDisputedInOO.vue | 35 ------------------- .../steps/AssertionFailedInOO.vue | 29 --------------- ...yForOOAssertion.vue => CanProposeToOG.vue} | 0 ...ssedInOO.vue => CanRequestTxExecution.vue} | 0 5 files changed, 4 insertions(+), 68 deletions(-) delete mode 100644 src/plugins/oSnap/components/HandleOutcome/steps/AssertionDisputedInOO.vue delete mode 100644 src/plugins/oSnap/components/HandleOutcome/steps/AssertionFailedInOO.vue rename src/plugins/oSnap/components/HandleOutcome/steps/{ReadyForOOAssertion.vue => CanProposeToOG.vue} (100%) rename src/plugins/oSnap/components/HandleOutcome/steps/{AssertionPassedInOO.vue => CanRequestTxExecution.vue} (100%) diff --git a/src/plugins/oSnap/components/HandleOutcome/HandleOutcome.vue b/src/plugins/oSnap/components/HandleOutcome/HandleOutcome.vue index ddb05d2f..55eaace5 100644 --- a/src/plugins/oSnap/components/HandleOutcome/HandleOutcome.vue +++ b/src/plugins/oSnap/components/HandleOutcome/HandleOutcome.vue @@ -23,9 +23,9 @@ import { getUserCollateralBalance, submitProposal } from '../../utils'; -import AssertionPassedInOO from './steps/AssertionPassedInOO.vue'; +import CanRequestTxExecution from './steps/CanRequestTxExecution.vue'; import InOOChallengePeriod from './steps/InOOChallengePeriod.vue'; -import ReadyForOOAssertion from './steps/ReadyForOOAssertion.vue'; +import CanProposeToOG from './steps/CanProposeToOG.vue'; import RejectedBySnapshotVote from './steps/RejectedBySnapshotVote.vue'; import TallyingSnapshotVotes from './steps/TallyingSnapshotVotes.vue'; import TransactionsExecuted from './steps/TransactionsExecuted.vue'; @@ -336,7 +336,7 @@ onMounted(async () => { - - -import { getOracleUiLink } from '@/plugins/oSnap/utils'; -import { type Network } from '../../../types'; -const props = defineProps<{ - network: Network; - assertionHash: string; - assertionLogIndex: string; -}>(); - -const oracleUiLink = getOracleUiLink( - props.network, - props.assertionHash, - Number(props.assertionLogIndex) -); - - - diff --git a/src/plugins/oSnap/components/HandleOutcome/steps/AssertionFailedInOO.vue b/src/plugins/oSnap/components/HandleOutcome/steps/AssertionFailedInOO.vue deleted file mode 100644 index 76e2d4ad..00000000 --- a/src/plugins/oSnap/components/HandleOutcome/steps/AssertionFailedInOO.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - diff --git a/src/plugins/oSnap/components/HandleOutcome/steps/ReadyForOOAssertion.vue b/src/plugins/oSnap/components/HandleOutcome/steps/CanProposeToOG.vue similarity index 100% rename from src/plugins/oSnap/components/HandleOutcome/steps/ReadyForOOAssertion.vue rename to src/plugins/oSnap/components/HandleOutcome/steps/CanProposeToOG.vue diff --git a/src/plugins/oSnap/components/HandleOutcome/steps/AssertionPassedInOO.vue b/src/plugins/oSnap/components/HandleOutcome/steps/CanRequestTxExecution.vue similarity index 100% rename from src/plugins/oSnap/components/HandleOutcome/steps/AssertionPassedInOO.vue rename to src/plugins/oSnap/components/HandleOutcome/steps/CanRequestTxExecution.vue