Skip to content

Commit e47d9d8

Browse files
committed
fix: remove 100M gas limit for messages
1 parent 7317ca3 commit e47d9d8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/message_pool/msgpool/msg_pool.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -603,12 +603,6 @@ where
603603
bls_sig_cache.push(msg.cid().into(), msg.signature().clone());
604604
}
605605

606-
if msg.message().gas_limit > 100_000_000 {
607-
return Err(Error::Other(
608-
"given message has too high of a gas limit".to_string(),
609-
));
610-
}
611-
612606
api.put_message(&ChainMessage::Signed(msg.clone()))?;
613607
api.put_message(&ChainMessage::Unsigned(msg.message().clone()))?;
614608

0 commit comments

Comments
 (0)