From 8a043555feac0596b268e99800347911512772cb Mon Sep 17 00:00:00 2001 From: Garand Tyson Date: Thu, 15 Aug 2024 11:00:04 -0700 Subject: [PATCH] Remove proofs from SorobanTransactionData (#207) --- Stellar-ledger-entries.x | 2 +- Stellar-transaction.x | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Stellar-ledger-entries.x b/Stellar-ledger-entries.x index 44d06c0..5bf4f9d 100644 --- a/Stellar-ledger-entries.x +++ b/Stellar-ledger-entries.x @@ -678,7 +678,6 @@ enum EnvelopeType ENVELOPE_TYPE_CONTRACT_ID = 8, ENVELOPE_TYPE_SOROBAN_AUTHORIZATION = 9 }; -} enum BucketListType { @@ -795,3 +794,4 @@ case COLD_ARCHIVE_BOUNDARY_LEAF: case COLD_ARCHIVE_HASH: ColdArchiveHashEntry hashEntry; }; +} \ No newline at end of file diff --git a/Stellar-transaction.x b/Stellar-transaction.x index f9b63f6..397bc3a 100644 --- a/Stellar-transaction.x +++ b/Stellar-transaction.x @@ -883,13 +883,7 @@ struct SorobanResources // The transaction extension for Soroban. struct SorobanTransactionData { - union switch (int v) - { - case 0: - void; - case 1: - ArchivalProof proofs<>; - } ext; + ExtensionPoint ext; SorobanResources resources; // Amount of the transaction `fee` allocated to the Soroban resource fees. // The fraction of `resourceFee` corresponding to `resources` specified