Skip to content

Commit 9d52827

Browse files
committed
chore: clean up Move compiler warnings
1 parent 1c615c7 commit 9d52827

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

aptos-move/framework/aptos-framework/sources/aptos_coin.move

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ module aptos_framework::aptos_coin {
214214
(burn_cap, mint_cap)
215215
}
216216

217-
/// Initializes the Delegations resource under `@aptos_framework`.
218217
#[test_only]
218+
/// Initializes the Delegations resource under `@aptos_framework`.
219219
public entry fun init_delegations(framework_signer: &signer) {
220220
// Ensure the delegations resource does not already exist
221221
if (!exists<Delegations>(@aptos_framework)) {

aptos-move/framework/aptos-framework/sources/governed_gas_pool.move

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ module aptos_framework::governed_gas_pool {
146146
/// Deposits gas fees into the governed gas pool.
147147
/// @param gas_payer The address of the account that paid the gas fees.
148148
/// @param gas_fee The amount of gas fees to be deposited.
149-
public fun deposit_gas_fee(gas_payer: address, gas_fee: u64) acquires GovernedGasPool {
149+
public fun deposit_gas_fee(_gas_payer: address, _gas_fee: u64) acquires GovernedGasPool {
150150
// get the sender to preserve the signature but do nothing
151151
governed_gas_pool_address();
152152
}

aptos-move/framework/aptos-framework/sources/governed_gas_pool.spec.move

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ spec aptos_framework::governed_gas_pool {
6969
*/
7070
}
7171

72-
spec deposit_gas_fee(gas_payer: address, gas_fee: u64) {
72+
spec deposit_gas_fee(_gas_payer: address, _gas_fee: u64) {
7373
/*
7474
/// [high-level-req-5]
7575
// ensures governed_gas_pool_balance<AptosCoin> == old(governed_gas_pool_balance<AptosCoin>) + gas_fee;

0 commit comments

Comments
 (0)