Skip to content

chainstack/sonic-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Sonic-docker

Repo that contains Dockerfile for Fantom Sonic client

For Docker image in Sonic Blaze

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 .

About

Repo that contains Dockerfile for Fantom Sonic client

Resources

Stars

Watchers

Forks

Packages

No packages published