Skip to content

Commit

Permalink
replace ethereum/go-ethereum
Browse files Browse the repository at this point in the history
  • Loading branch information
Dsummers91 committed Feb 22, 2024
1 parent 78436b6 commit a198a33
Show file tree
Hide file tree
Showing 813 changed files with 3,665 additions and 3,665 deletions.
4 changes: 2 additions & 2 deletions .circleci/check-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ set -euo pipefail
LATEST_RELEASE=$(curl -s --fail -L \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/ethereum/go-ethereum/releases \
https://api.github.com/repos/slingshot-finance/op-geth/releases \
| jq -r '(.[] | select(.draft==false) | select(.prerelease==false)).tag_name' | head -n 1)

echo "Detected latest go-ethereum release as ${LATEST_RELEASE}"

git remote add upstream https://github.com/ethereum/go-ethereum
git remote add upstream https://github.com/slingshot-finance/op-geth
git fetch upstream > /dev/null

if git branch --contains "${LATEST_RELEASE}" 2>&1 | grep -e '^[ *]*optimism$' > /dev/null
Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ smallest of fixes!
If you'd like to contribute to go-ethereum, please fork, fix, commit and send a
pull request for the maintainers to review and merge into the main code base. If
you wish to submit more complex changes though, please check up with the core
devs first on [our gitter channel](https://gitter.im/ethereum/go-ethereum) to
devs first on [our gitter channel](https://gitter.im/slingshot-finance/op-geth) to
ensure those changes are in line with the general philosophy of the project
and/or get some early feedback which can make both your efforts much lighter as
well as our review and merge procedures quick and simple.
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: go
go_import_path: github.com/ethereum/go-ethereum
go_import_path: github.com/slingshot-finance/op-geth
sudo: false
jobs:
allow_failures:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Official Golang execution layer implementation of the Ethereum protocol.

[![API Reference](
https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667
)](https://pkg.go.dev/github.com/ethereum/go-ethereum?tab=doc)
[![Go Report Card](https://goreportcard.com/badge/github.com/ethereum/go-ethereum)](https://goreportcard.com/report/github.com/ethereum/go-ethereum)
[![Travis](https://travis-ci.com/ethereum/go-ethereum.svg?branch=master)](https://travis-ci.com/ethereum/go-ethereum)
)](https://pkg.go.dev/github.com/slingshot-finance/op-geth?tab=doc)
[![Go Report Card](https://goreportcard.com/badge/github.com/slingshot-finance/op-geth)](https://goreportcard.com/report/github.com/slingshot-finance/op-geth)
[![Travis](https://travis-ci.com/slingshot-finance/op-geth.svg?branch=master)](https://travis-ci.com/slingshot-finance/op-geth)
[![Discord](https://img.shields.io/badge/discord-join%20chat-blue.svg)](https://discord.gg/nthXNEv)

Automated builds are available for stable releases and the unstable master branch. Binary
Expand Down Expand Up @@ -344,7 +344,7 @@ testing procedures.
### Contributing to geth.ethereum.org

For contributions to the [go-ethereum website](https://geth.ethereum.org), please checkout and raise pull requests against the `website` branch.
For more detailed instructions please see the `website` branch [README](https://github.com/ethereum/go-ethereum/tree/website#readme) or the
For more detailed instructions please see the `website` branch [README](https://github.com/slingshot-finance/op-geth/tree/website#readme) or the
[contributing](https://geth.ethereum.org/docs/developers/geth-developer/contributing) page of the website.

## License
Expand Down
14 changes: 7 additions & 7 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@

## Supported Versions

Please see [Releases](https://github.com/ethereum/go-ethereum/releases). We recommend using the [most recently released version](https://github.com/ethereum/go-ethereum/releases/latest).
Please see [Releases](https://github.com/slingshot-finance/op-geth/releases). We recommend using the [most recently released version](https://github.com/slingshot-finance/op-geth/releases/latest).

## Audit reports

Audit reports are published in the `docs` folder: https://github.com/ethereum/go-ethereum/tree/master/docs/audits
Audit reports are published in the `docs` folder: https://github.com/slingshot-finance/op-geth/tree/master/docs/audits

| Scope | Date | Report Link |
| ------- | ------- | ----------- |
| `geth` | 20170425 | [pdf](https://github.com/ethereum/go-ethereum/blob/master/docs/audits/2017-04-25_Geth-audit_Truesec.pdf) |
| `clef` | 20180914 | [pdf](https://github.com/ethereum/go-ethereum/blob/master/docs/audits/2018-09-14_Clef-audit_NCC.pdf) |
| `Discv5` | 20191015 | [pdf](https://github.com/ethereum/go-ethereum/blob/master/docs/audits/2019-10-15_Discv5_audit_LeastAuthority.pdf) |
| `Discv5` | 20200124 | [pdf](https://github.com/ethereum/go-ethereum/blob/master/docs/audits/2020-01-24_DiscV5_audit_Cure53.pdf) |
| `geth` | 20170425 | [pdf](https://github.com/slingshot-finance/op-geth/blob/master/docs/audits/2017-04-25_Geth-audit_Truesec.pdf) |
| `clef` | 20180914 | [pdf](https://github.com/slingshot-finance/op-geth/blob/master/docs/audits/2018-09-14_Clef-audit_NCC.pdf) |
| `Discv5` | 20191015 | [pdf](https://github.com/slingshot-finance/op-geth/blob/master/docs/audits/2019-10-15_Discv5_audit_LeastAuthority.pdf) |
| `Discv5` | 20200124 | [pdf](https://github.com/slingshot-finance/op-geth/blob/master/docs/audits/2020-01-24_DiscV5_audit_Cure53.pdf) |

## Reporting a Vulnerability

**Please do not file a public ticket** mentioning the vulnerability.

To find out how to disclose a vulnerability in Ethereum visit [https://bounty.ethereum.org](https://bounty.ethereum.org) or email [email protected]. Please read the [disclosure page](https://github.com/ethereum/go-ethereum/security/advisories?state=published) for more information about publicly disclosed security vulnerabilities.
To find out how to disclose a vulnerability in Ethereum visit [https://bounty.ethereum.org](https://bounty.ethereum.org) or email [email protected]. Please read the [disclosure page](https://github.com/slingshot-finance/op-geth/security/advisories?state=published) for more information about publicly disclosed security vulnerabilities.

Use the built-in `geth version-check` feature to check whether the software is affected by any known vulnerability. This command will fetch the latest [`vulnerabilities.json`](https://geth.ethereum.org/docs/vulnerabilities/vulnerabilities.json) file which contains known security vulnerabilities concerning `geth`, and cross-check the data against its own version number.

Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"io"
"math/big"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/slingshot-finance/op-geth/common"
"github.com/slingshot-finance/op-geth/crypto"
)

// The ABI holds information about a contract's context and available
Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/abi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import (
"strings"
"testing"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/crypto"
"github.com/slingshot-finance/op-geth/common"
"github.com/slingshot-finance/op-geth/common/math"
"github.com/slingshot-finance/op-geth/crypto"
)

const jsondata = `
Expand Down
14 changes: 7 additions & 7 deletions accounts/abi/bind/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ import (
"io"
"math/big"

"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/accounts/external"
"github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log"
"github.com/slingshot-finance/op-geth/accounts"
"github.com/slingshot-finance/op-geth/accounts/external"
"github.com/slingshot-finance/op-geth/accounts/keystore"
"github.com/slingshot-finance/op-geth/common"
"github.com/slingshot-finance/op-geth/core/types"
"github.com/slingshot-finance/op-geth/crypto"
"github.com/slingshot-finance/op-geth/log"
)

// ErrNoChainID is returned whenever the user failed to specify a chain id.
Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/bind/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"errors"
"math/big"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/slingshot-finance/op-geth"
"github.com/slingshot-finance/op-geth/common"
"github.com/slingshot-finance/op-geth/core/types"
)

var (
Expand Down
42 changes: 21 additions & 21 deletions accounts/abi/bind/backends/simulated.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,27 @@ import (
"sync"
"time"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/consensus"
"github.com/ethereum/go-ethereum/consensus/ethash"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/bloombits"
"github.com/ethereum/go-ethereum/core/rawdb"
"github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/eth/filters"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/params"
"github.com/ethereum/go-ethereum/rpc"
"github.com/ethereum/go-ethereum/trie"
"github.com/slingshot-finance/op-geth"
"github.com/slingshot-finance/op-geth/accounts/abi"
"github.com/slingshot-finance/op-geth/accounts/abi/bind"
"github.com/slingshot-finance/op-geth/common"
"github.com/slingshot-finance/op-geth/common/hexutil"
"github.com/slingshot-finance/op-geth/common/math"
"github.com/slingshot-finance/op-geth/consensus"
"github.com/slingshot-finance/op-geth/consensus/ethash"
"github.com/slingshot-finance/op-geth/core"
"github.com/slingshot-finance/op-geth/core/bloombits"
"github.com/slingshot-finance/op-geth/core/rawdb"
"github.com/slingshot-finance/op-geth/core/state"
"github.com/slingshot-finance/op-geth/core/types"
"github.com/slingshot-finance/op-geth/core/vm"
"github.com/slingshot-finance/op-geth/eth/filters"
"github.com/slingshot-finance/op-geth/ethdb"
"github.com/slingshot-finance/op-geth/event"
"github.com/slingshot-finance/op-geth/log"
"github.com/slingshot-finance/op-geth/params"
"github.com/slingshot-finance/op-geth/rpc"
"github.com/slingshot-finance/op-geth/trie"
)

// This nil assignment ensures at compile time that SimulatedBackend implements bind.ContractBackend.
Expand Down
16 changes: 8 additions & 8 deletions accounts/abi/bind/backends/simulated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ import (
"testing"
"time"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/params"
"github.com/slingshot-finance/op-geth"
"github.com/slingshot-finance/op-geth/accounts/abi"
"github.com/slingshot-finance/op-geth/accounts/abi/bind"
"github.com/slingshot-finance/op-geth/common"
"github.com/slingshot-finance/op-geth/core"
"github.com/slingshot-finance/op-geth/core/types"
"github.com/slingshot-finance/op-geth/crypto"
"github.com/slingshot-finance/op-geth/params"
)

func TestSimulatedBackend(t *testing.T) {
Expand Down
12 changes: 6 additions & 6 deletions accounts/abi/bind/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ import (
"strings"
"sync"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/event"
"github.com/slingshot-finance/op-geth"
"github.com/slingshot-finance/op-geth/accounts/abi"
"github.com/slingshot-finance/op-geth/common"
"github.com/slingshot-finance/op-geth/core/types"
"github.com/slingshot-finance/op-geth/crypto"
"github.com/slingshot-finance/op-geth/event"
)

const basefeeWiggleMultiplier = 2
Expand Down
16 changes: 8 additions & 8 deletions accounts/abi/bind/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ import (
"strings"
"testing"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/rlp"
"github.com/slingshot-finance/op-geth"
"github.com/slingshot-finance/op-geth/accounts/abi"
"github.com/slingshot-finance/op-geth/accounts/abi/bind"
"github.com/slingshot-finance/op-geth/common"
"github.com/slingshot-finance/op-geth/common/hexutil"
"github.com/slingshot-finance/op-geth/core/types"
"github.com/slingshot-finance/op-geth/crypto"
"github.com/slingshot-finance/op-geth/rlp"
"github.com/stretchr/testify/assert"
)

Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/bind/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Package bind generates Ethereum contract Go bindings.
//
// Detailed usage document and tutorial available on the go-ethereum Wiki page:
// https://github.com/ethereum/go-ethereum/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts
// https://github.com/slingshot-finance/op-geth/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts
package bind

import (
Expand All @@ -29,8 +29,8 @@ import (
"text/template"
"unicode"

"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/log"
"github.com/slingshot-finance/op-geth/accounts/abi"
"github.com/slingshot-finance/op-geth/log"
)

// Lang is a target programming language selector to generate bindings for.
Expand Down
Loading

0 comments on commit a198a33

Please sign in to comment.