Repo that contains Dockerfile for Fantom Sonic client
git clone https://github.com/0xsoniclabs/sonic.git && cd sonic
git checkout v2.0.6
tee blaze.patch > /dev/null <<EOT
diff --git a/gossip/blockproc/drivermodule/driver_txs.go b/gossip/blockproc/drivermodule/driver_txs.go
index f687af6b..3106d3fa 100644
--- a/gossip/blockproc/drivermodule/driver_txs.go
+++ b/gossip/blockproc/drivermodule/driver_txs.go
@@ -66,7 +66,7 @@ func InternalTxBuilder(statedb state.StateDB) func(calldata []byte, addr common.
if nonce == math.MaxUint64 {
nonce = statedb.GetNonce(common.Address{})
}
- tx := types.NewTransaction(nonce, addr, common.Big0, 500_000_000, common.Big0, calldata)
+ tx := types.NewTransaction(nonce, addr, common.Big0, 75_000_000, common.Big0, calldata)
nonce++
return tx
}
EOT
git apply blaze.patch
docker buildx build --platform linux/amd64 -t chainstack/sonic-labs:v2.0.6-testnet .