Skip to content

Commit

Permalink
minors
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed May 29, 2024
1 parent ba1e355 commit 84c315e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion block_party/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use namada_proof_of_stake::storage::{read_pos_params, write_pos_params};
const TX_CLAIM_REWARDS_NAME: &str = "tx_claim_rewards.wasm";
const TX_CLAIM_REWARDS_BYTES: &[u8] = include_bytes!("../../wasms/tx_claim_rewards.af4cd35b30f17cf2440be74bedeb74296aac21e4ab1ea7143f3a3dede722a0ed.wasm");

#[transaction(gas = 10000)]
#[transaction]
fn apply_tx(ctx: &mut Ctx, _tx_data: BatchedTx) -> TxResult {
// PoS inflation
let mut pos_params = read_pos_params(ctx)?.owned;
Expand Down
2 changes: 1 addition & 1 deletion shielding_party/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const IBC_TOKENS: [(
),
];

#[transaction(gas = 10000)]
#[transaction]
fn apply_tx(ctx: &mut Ctx, _tx_data: BatchedTx) -> TxResult {
// Read the current MASP token map
let token_map_key = token::storage_key::masp_token_map_key();
Expand Down
2 changes: 1 addition & 1 deletion staking_party/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const IBC_TOKENS: [(ChannelId, BaseToken, MintTokenLimit, ThroughtputTokenLimit)
),
];

#[transaction(gas = 10000)]
#[transaction]
fn apply_tx(ctx: &mut Ctx, _tx_data: BatchedTx) -> TxResult {
// Enable IBC deposit/withdraws limits
for (channel_id, base_token, mint_limit, throughput_limit) in IBC_TOKENS {
Expand Down

0 comments on commit 84c315e

Please sign in to comment.