diff --git a/apps/ui/src/networks/offchain/api/index.ts b/apps/ui/src/networks/offchain/api/index.ts index 3017d419e..7687bb91a 100644 --- a/apps/ui/src/networks/offchain/api/index.ts +++ b/apps/ui/src/networks/offchain/api/index.ts @@ -247,6 +247,9 @@ function formatProposal(proposal: ApiProposal, networkId: NetworkID): Proposal { } catch (e) { console.warn('failed to parse oSnap execution', e); } + } else if (proposal.plugins.safeSnap) { + executions = []; + executionType = 'safeSnap'; } if (proposal.plugins.readOnlyExecution) { diff --git a/apps/ui/src/networks/offchain/index.ts b/apps/ui/src/networks/offchain/index.ts index 3db38e889..013b40619 100644 --- a/apps/ui/src/networks/offchain/index.ts +++ b/apps/ui/src/networks/offchain/index.ts @@ -12,7 +12,7 @@ const HUB_URLS: Partial> = { s: 'https://hub.snapshot.org/graphql', 's-tn': 'https://testnet.hub.snapshot.org/graphql' }; -const SNAPSHOT_URLS: Partial> = { +export const SNAPSHOT_URLS: Partial> = { s: 'https://v1.snapshot.box', 's-tn': 'https://testnet.v1.snapshot.box' }; diff --git a/apps/ui/src/views/Proposal/Overview.vue b/apps/ui/src/views/Proposal/Overview.vue index 3308974db..5cff7eb79 100644 --- a/apps/ui/src/views/Proposal/Overview.vue +++ b/apps/ui/src/views/Proposal/Overview.vue @@ -9,6 +9,7 @@ import { shortenAddress } from '@/helpers/utils'; import { offchainNetworks } from '@/networks'; +import { SNAPSHOT_URLS } from '@/networks/offchain'; import { Proposal } from '@/types'; const props = defineProps<{ @@ -455,12 +456,36 @@ onBeforeUnmount(() => destroyAudio()); -
+

Execution

+ +
+ This proposal uses SafeSnap execution which is currently not + supported on the new interface. You can view execution details on + the + + previous interface + + + . +
+