Skip to content

Commit

Permalink
chore: remove println and improve move script fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmovses committed Mar 8, 2025
1 parent a2fb25c commit 69d9f29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 3 additions & 5 deletions protocol-units/bridge/contracts/minter/sources/minter.move
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
script {
use aptos_framework::aptos_governance;
use aptos_framework::transaction_fee;
use aptos_framework::aptos_coin;

fun main(core_resources: &signer) {

let core_signer = aptos_governance::get_signer_testnet_only(core_resources, @0x1);
let core_signer = aptos_governance::get_signer_testnet_only(core_resources, @0x1);

let framework_signer = &core_signer;

transaction_fee::burn_from(framework_signer, @0xdead, 4);
let framework_signer = &core_signer;
transaction_fee::burn_from(framework_signer, @0xdead, 4);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ where
client: &aptos_sdk::rest_client::Client,
) -> Result<Vec<aptos_types::transaction::SignedTransaction>, ReleaseBundleError> {
info!("Setting feature flags");
let address = signer.release_account_address(client).await?;
//info the address
println!("release signer address {:?}", address);

let signed_transaction = self
.set_feature_flags_proposal_transaction(
signer,
Expand Down

0 comments on commit 69d9f29

Please sign in to comment.