File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 149149 package = pkgsWithOverlays . foundry-bin ;
150150 port = 3021 ;
151151 timestamp = 1743944919 ;
152+ gasLimit = 100000000000 ;
153+ baseFee = 1 ;
154+ blockTime = 2 ;
152155 } ;
153156 } ;
154157 } ;
Original file line number Diff line number Diff line change 1717 default = 1743944919 ;
1818 description = "Timestamp for the genesis block" ;
1919 } ;
20+
21+ gasLimit = lib . mkOption {
22+ type = lib . types . int ;
23+ default = 100000000000 ;
24+ description = "Gas limit for the genesis block" ;
25+ } ;
26+
27+ baseFee = lib . mkOption {
28+ type = lib . types . int ;
29+ default = 1 ;
30+ description = "Base fee for the genesis block" ;
31+ } ;
32+
33+ blockTime = lib . mkOption {
34+ type = lib . types . int ;
35+ default = 2 ;
36+ description = "Block time for the genesis block" ;
37+ } ;
2038 } ;
2139
2240 config = {
2341 outputs . settings . processes . ${ name } = {
24- command = "${ lib . getExe' config . package "anvil" } --disable-block- gas-limit --disable-code-size-limit --base-fee 1 --block-time 2 --timestamp ${ toString config . timestamp } --port ${ toString config . port } " ;
42+ command = "${ lib . getExe' config . package "anvil" } --gas-limit ${ toString config . gasLimit } --base-fee ${ toString config . baseFee } --block-time ${ toString config . blockTime } --timestamp ${ toString config . timestamp } --port ${ toString config . port } " ;
2543
2644 availability = {
2745 restart = "always" ;
You can’t perform that action at this time.
0 commit comments