Skip to content

Commit

Permalink
dusk-vm: add with_public_sender to ExecutionConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Jan 28, 2025
1 parent 9431275 commit cbdddb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vm/src/execute/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ pub struct Config {
pub min_deploy_points: u64,
/// The minimum gas price set for a contract deployment
pub min_deploy_gas_price: u64,
/// Enable the public sender metadata in the transaction.
pub with_public_sender: bool,
}

impl Default for Config {
Expand All @@ -28,5 +30,6 @@ impl Config {
gas_per_deploy_byte: 0,
min_deploy_points: 0,
min_deploy_gas_price: 0,
with_public_sender: false,
};
}

0 comments on commit cbdddb2

Please sign in to comment.