Skip to content

Commit

Permalink
addressing comments. removing unnecessary test files (for deleted test)
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-aptos committed Sep 25, 2024
1 parent f856e1f commit 3ef1e13
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 132 deletions.
1 change: 0 additions & 1 deletion aptos-move/e2e-move-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ pub mod aptos_governance;
pub mod harness;
pub mod resource_groups;
pub mod stake;
pub mod transaction_fee;

use anyhow::bail;
use aptos_framework::{BuildOptions, BuiltPackage, UPGRADE_POLICY_CUSTOM_FIELD};
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

31 changes: 0 additions & 31 deletions aptos-move/e2e-move-tests/src/transaction_fee.rs

This file was deleted.

8 changes: 4 additions & 4 deletions aptos-move/framework/aptos-framework/doc/transaction_fee.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,7 @@ No longer supported.

## Function `initialize_fee_collection_and_distribution`

Initializes the resource storing information about gas fees collection and
distribution. Should be called by on-chain governance.
DEPRECATED


<pre><code>#[deprecated]
Expand All @@ -321,10 +320,11 @@ distribution. Should be called by on-chain governance.

## Function `upgrade_burn_percentage`

Sets the burn percentage for collected fees to a new value. Should be called by on-chain governance.
DEPRECATED


<pre><code><b>public</b> <b>fun</b> <a href="transaction_fee.md#0x1_transaction_fee_upgrade_burn_percentage">upgrade_burn_percentage</a>(_aptos_framework: &<a href="../../aptos-stdlib/../move-stdlib/doc/signer.md#0x1_signer">signer</a>, _new_burn_percentage: u8)
<pre><code>#[deprecated]
<b>public</b> <b>fun</b> <a href="transaction_fee.md#0x1_transaction_fee_upgrade_burn_percentage">upgrade_burn_percentage</a>(_aptos_framework: &<a href="../../aptos-stdlib/../move-stdlib/doc/signer.md#0x1_signer">signer</a>, _new_burn_percentage: u8)
</code></pre>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ module aptos_framework::transaction_fee {
}

#[deprecated]
/// Initializes the resource storing information about gas fees collection and
/// distribution. Should be called by on-chain governance.
/// DEPRECATED
public fun initialize_fee_collection_and_distribution(_aptos_framework: &signer, _burn_percentage: u8) {
abort error::not_implemented(ENO_LONGER_SUPPORTED)
}

/// Sets the burn percentage for collected fees to a new value. Should be called by on-chain governance.
#[deprecated]
/// DEPRECATED
public fun upgrade_burn_percentage(
_aptos_framework: &signer,
_new_burn_percentage: u8
Expand Down

0 comments on commit 3ef1e13

Please sign in to comment.