OpenFusionist's op-geth fork diff

+6
-2

These are some really important code modifications in the fork. The original can be found at github.com/ethereum-optimism/op-geth. And the fork at OpenFusionist/op-geth/.

Temporarily reverted term in ethclient.

diff --git ethereum-optimism/op-geth/ethclient/ethclient.go OpenFusionist/op-geth/ethclient/ethclient.go index af373b99383d4589d3a451fed73d0eedd1c04568..e86f4dbd3cad2a06ff3918a3a99687d4abfccc27 100644 --- ethereum-optimism/op-geth/ethclient/ethclient.go +++ OpenFusionist/op-geth/ethclient/ethclient.go @@ -619,7 +619,9 @@ "from": msg.From, "to": msg.To, } if len(msg.Data) > 0 { - arg["input"] = hexutil.Bytes(msg.Data) + // Due to the Endurance Network using geth (1.1.8-0914c5e8-20221031) which does not support the "input" term, + // we are using "data" temporarily and will switch to "input" once geth is upgraded to the latest version. + arg["data"] = hexutil.Bytes(msg.Data) } if msg.Value != nil { arg["value"] = (*hexutil.Big)(msg.Value)
diff --git ethereum-optimism/op-geth/ethclient/gethclient/gethclient.go OpenFusionist/op-geth/ethclient/gethclient/gethclient.go index e2c0ef3ed02ea7b1a575f85959203d63b173b3ed..ffd167ec1220e447444d652b04edc684f3bad133 100644 --- ethereum-optimism/op-geth/ethclient/gethclient/gethclient.go +++ OpenFusionist/op-geth/ethclient/gethclient/gethclient.go @@ -225,7 +225,9 @@ "from": msg.From, "to": msg.To, } if len(msg.Data) > 0 { - arg["input"] = hexutil.Bytes(msg.Data) + // Due to the Endurance Network using geth (1.1.8-0914c5e8-20221031) which does not support the "input" term, + // we are using "data" temporarily and will switch to "input" once geth is upgraded to the latest version. + arg["data"] = hexutil.Bytes(msg.Data) } if msg.Value != nil { arg["value"] = (*hexutil.Big)(msg.Value)