diff --git a/container/container.go b/container/container.go index 424e451..62678d0 100644 --- a/container/container.go +++ b/container/container.go @@ -207,7 +207,11 @@ func (m *Manager) RunBabylondResource( "--btc-confirmation-depth=2 --additional-sender-account --btc-network=regtest "+ "--min-staking-time-blocks=200 --min-staking-amount-sat=10000 "+ "--epoch-interval=%d --slashing-pk-script=%s --btc-base-header=%s "+ - "--covenant-quorum=1 --covenant-pks=%s && chmod -R 777 /home && babylond start --home=/home/node0/babylond --rpc.pprof_laddr=0.0.0.0:6060", + "--covenant-quorum=1 --covenant-pks=%s && "+ + "chmod -R 777 /home && "+ + "sed -i -e 's/iavl-cache-size = 781250/iavl-cache-size = 0/' /home/node0/babylond/config/app.toml && "+ // disable the cache otherwise we go OOM + "sed -i -e 's/iavl-disable-fastnode = false/iavl-disable-fastnode = true/' /home/node0/babylond/config/app.toml && "+ + "babylond start --home=/home/node0/babylond --rpc.pprof_laddr=0.0.0.0:6060", epochInterval, slashingPkScript, baseHeaderHex, bbn.NewBIP340PubKeyFromBTCPK(CovenantPubKey).MarshalHex()), }