Explorar o código

runtime: Double the gas limit.

parazyd %!s(int64=3) %!d(string=hai) anos
pai
achega
54225ed4fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/runtime/vm_runtime.rs

+ 1 - 1
src/runtime/vm_runtime.rs

@@ -41,7 +41,7 @@ use crate::{blockchain::BlockchainOverlayPtr, util::time::TimeKeeper, Error, Res
 const MEMORY: &str = "memory";
 
 /// Gas limit for a contract
-const GAS_LIMIT: u64 = 200000000;
+const GAS_LIMIT: u64 = 400000000;
 
 /// The hardcoded db name for the zkas circuits database tree
 pub const SMART_CONTRACT_ZKAS_DB_NAME: &str = "_zkas";