Skip to content

Commit

Permalink
fix: increase executor fuel
Browse files Browse the repository at this point in the history
Signed-off-by: Lohachov Mykhailo <[email protected]>
  • Loading branch information
aoyako committed Nov 19, 2024
1 parent cac56fb commit 532bcef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/iroha_test_network/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use iroha_crypto::{ExposedPrivateKey, KeyPair, PrivateKey};
use iroha_data_model::{
events::pipeline::BlockEventFilter,
isi::InstructionBox,
parameter::{SumeragiParameter, SumeragiParameters},
parameter::{SumeragiParameter, SumeragiParameters, SmartContractParameter},
ChainId,
};
use iroha_genesis::GenesisBlock;
Expand Down Expand Up @@ -347,6 +347,9 @@ impl NetworkBuilder {
InstructionBox::SetParameter(SetParameter::new(Parameter::Sumeragi(
SumeragiParameter::CommitTimeMs(commit_time.as_millis() as u64),
))),
InstructionBox::SetParameter(SetParameter::new(Parameter::Executor(
SmartContractParameter::Fuel(std::num::NonZeroU64::new(u64::MAX).unwrap()),
))),
]
.into_iter()
.chain(self.extra_isi),
Expand Down

0 comments on commit 532bcef

Please sign in to comment.