Skip to content

Commit

Permalink
Trivial update.
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunxw committed Jul 13, 2023
1 parent f8f4509 commit 9b0d460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pallets/ethereum-checked/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ pub mod pallet {
}

/// Transact an Ethereum transaction but not to apply it. This call is meant only for
/// benchmarks, to get the weight overhead before apply.
/// benchmarks, to get the weight overhead(in addition to `gas_limit`).
#[pallet::call_index(100)]
#[pallet::weight(WeightInfoOf::<T>::transact_without_apply())]
pub fn transact_without_apply(
Expand Down Expand Up @@ -243,7 +243,7 @@ impl<T: Config> Pallet<T> {
pays_fee: Pays::Yes,
},
CallInfo {
exit_reason: ExitReason::Succeed(ExitSucceed::Stopped),
exit_reason: ExitReason::Succeed(ExitSucceed::Returned),
value: Default::default(),
used_gas: checked_tx.gas_limit,
logs: Default::default(),
Expand Down

0 comments on commit 9b0d460

Please sign in to comment.