From 44dbfbaad78bace3c750f358e65bf8fc494459ca Mon Sep 17 00:00:00 2001 From: Dimitar Dinev Date: Tue, 24 Jan 2023 16:19:31 +0200 Subject: [PATCH 1/2] add additional costs field in ethereum transaction body Signed-off-by: Dimitar Dinev --- services/ethereum_transaction.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/services/ethereum_transaction.proto b/services/ethereum_transaction.proto index 92a8697d..c11f4ced 100644 --- a/services/ethereum_transaction.proto +++ b/services/ethereum_transaction.proto @@ -60,4 +60,12 @@ message EthereumTransactionBody { * the entire fee. */ int64 max_gas_allowance = 3; + + /** + * The maximum amount, in tinybars, that the payer of the Hedera transaction + * is willing to pay to for any additional *non-gas* costs of the transaction. + * + * An example of such costs would be any hollow account creation fees. + */ + int64 max_additional_costs_allowance = 4; } \ No newline at end of file From 3bd5cb7b0c1d954560eb13b895a155b7378afb17 Mon Sep 17 00:00:00 2001 From: Dimitar Dinev Date: Tue, 24 Jan 2023 17:29:05 +0200 Subject: [PATCH 2/2] address feedback Signed-off-by: Dimitar Dinev --- services/ethereum_transaction.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/ethereum_transaction.proto b/services/ethereum_transaction.proto index c11f4ced..c7563539 100644 --- a/services/ethereum_transaction.proto +++ b/services/ethereum_transaction.proto @@ -63,9 +63,9 @@ message EthereumTransactionBody { /** * The maximum amount, in tinybars, that the payer of the Hedera transaction - * is willing to pay to for any additional *non-gas* costs of the transaction. + * is willing to pay for any additional *non-gas* costs of the transaction. * * An example of such costs would be any hollow account creation fees. */ - int64 max_additional_costs_allowance = 4; + int64 max_additional_fee_allowance = 4; } \ No newline at end of file