This commit is contained in:
edudukin 2025-04-19 17:13:15 +02:00
parent 33f4c3e604
commit 3a25a3f53d
923 changed files with 4208 additions and 4208 deletions

View file

@ -1,5 +1,5 @@
language: go language: go
go_import_path: github.com/ethereum/go-ethereum go_import_path: github.com/YehorDudukin/go-ethereum
sudo: false sudo: false
jobs: jobs:
include: include:

View file

@ -3,9 +3,9 @@
Golang execution layer implementation of the Ethereum protocol. Golang execution layer implementation of the Ethereum protocol.
[![API Reference]( [![API Reference](
https://pkg.go.dev/badge/github.com/ethereum/go-ethereum https://pkg.go.dev/badge/github.com/YehorDudukin/go-ethereum
)](https://pkg.go.dev/github.com/ethereum/go-ethereum?tab=doc) )](https://pkg.go.dev/github.com/YehorDudukin/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) [![Go Report Card](https://goreportcard.com/badge/github.com/YehorDudukin/go-ethereum)](https://goreportcard.com/report/github.com/YehorDudukin/go-ethereum)
[![Travis](https://app.travis-ci.com/ethereum/go-ethereum.svg?branch=master)](https://app.travis-ci.com/github/ethereum/go-ethereum) [![Travis](https://app.travis-ci.com/ethereum/go-ethereum.svg?branch=master)](https://app.travis-ci.com/github/ethereum/go-ethereum)
[![Discord](https://img.shields.io/badge/discord-join%20chat-blue.svg)](https://discord.gg/nthXNEv) [![Discord](https://img.shields.io/badge/discord-join%20chat-blue.svg)](https://discord.gg/nthXNEv)
@ -241,7 +241,7 @@ testing procedures.
### Contributing to geth.ethereum.org ### 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 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/YehorDudukin/go-ethereum/tree/website#readme) or the
[contributing](https://geth.ethereum.org/docs/developers/geth-developer/contributing) page of the website. [contributing](https://geth.ethereum.org/docs/developers/geth-developer/contributing) page of the website.
## License ## License

View file

@ -2,24 +2,24 @@
## Supported Versions ## 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/YehorDudukin/go-ethereum/releases). We recommend using the [most recently released version](https://github.com/YehorDudukin/go-ethereum/releases/latest).
## Audit reports ## 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/YehorDudukin/go-ethereum/tree/master/docs/audits
| Scope | Date | Report Link | | Scope | Date | Report Link |
| ------- | ------- | ----------- | | ------- | ------- | ----------- |
| `geth` | 20170425 | [pdf](https://github.com/ethereum/go-ethereum/blob/master/docs/audits/2017-04-25_Geth-audit_Truesec.pdf) | | `geth` | 20170425 | [pdf](https://github.com/YehorDudukin/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) | | `clef` | 20180914 | [pdf](https://github.com/YehorDudukin/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` | 20191015 | [pdf](https://github.com/YehorDudukin/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) | | `Discv5` | 20200124 | [pdf](https://github.com/YehorDudukin/go-ethereum/blob/master/docs/audits/2020-01-24_DiscV5_audit_Cure53.pdf) |
## Reporting a Vulnerability ## Reporting a Vulnerability
**Please do not file a public ticket** mentioning the 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 bounty@ethereum.org. 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 bounty@ethereum.org. Please read the [disclosure page](https://github.com/YehorDudukin/go-ethereum/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. 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.

View file

@ -24,8 +24,8 @@ import (
"io" "io"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
) )
// The ABI holds information about a contract's context and available // The ABI holds information about a contract's context and available

View file

@ -26,10 +26,10 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math" "github.com/YehorDudukin/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/internal/testrand" "github.com/YehorDudukin/go-ethereum/internal/testrand"
) )
const jsondata = ` const jsondata = `

View file

@ -29,8 +29,8 @@ import (
"text/template" "text/template"
"unicode" "unicode"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
) )
func isKeyWord(arg string) bool { func isKeyWord(arg string) bool {

File diff suppressed because one or more lines are too long

View file

@ -28,7 +28,7 @@ import (
"text/template" "text/template"
"unicode" "unicode"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
) )
// underlyingBindType returns a string representation of the Go type // underlyingBindType returns a string representation of the Go type

View file

@ -22,8 +22,8 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
) )
type bindV2Test struct { type bindV2Test struct {

View file

@ -8,12 +8,12 @@ import (
"strings" "strings"
"errors" "errors"
ethereum "github.com/ethereum/go-ethereum" ethereum "github.com/YehorDudukin/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"math/big" "math/big"
"errors" "errors"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -21,7 +21,7 @@ import (
"strings" "strings"
"unicode" "unicode"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
) )
// tmplData is the data structure required to fill the binding template. // tmplData is the data structure required to fill the binding template.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -19,13 +19,13 @@ package backends
import ( import (
"context" "context"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/ethclient/simulated" "github.com/YehorDudukin/go-ethereum/ethclient/simulated"
) )
// SimulatedBackend is a simulated blockchain. // SimulatedBackend is a simulated blockchain.
// Deprecated: use package github.com/ethereum/go-ethereum/ethclient/simulated instead. // Deprecated: use package github.com/YehorDudukin/go-ethereum/ethclient/simulated instead.
type SimulatedBackend struct { type SimulatedBackend struct {
*simulated.Backend *simulated.Backend
simulated.Client simulated.Client
@ -42,7 +42,7 @@ func (b *SimulatedBackend) Fork(ctx context.Context, parentHash common.Hash) err
// A simulated backend always uses chainID 1337. // A simulated backend always uses chainID 1337.
// //
// Deprecated: please use simulated.Backend from package // Deprecated: please use simulated.Backend from package
// github.com/ethereum/go-ethereum/ethclient/simulated instead. // github.com/YehorDudukin/go-ethereum/ethclient/simulated instead.
func NewSimulatedBackend(alloc types.GenesisAlloc, gasLimit uint64) *SimulatedBackend { func NewSimulatedBackend(alloc types.GenesisAlloc, gasLimit uint64) *SimulatedBackend {
b := simulated.NewBackend(alloc, simulated.WithBlockGasLimit(gasLimit)) b := simulated.NewBackend(alloc, simulated.WithBlockGasLimit(gasLimit))
return &SimulatedBackend{ return &SimulatedBackend{

View file

@ -15,7 +15,7 @@
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// Package bind is the runtime for abigen v1 generated contract bindings. // Package bind is the runtime for abigen v1 generated contract bindings.
// Deprecated: please use github.com/ethereum/go-ethereum/bind/v2 // Deprecated: please use github.com/YehorDudukin/go-ethereum/bind/v2
package bind package bind
import ( import (
@ -27,20 +27,20 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/abigen" "github.com/YehorDudukin/go-ethereum/accounts/abi/abigen"
bind2 "github.com/ethereum/go-ethereum/accounts/abi/bind/v2" bind2 "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/accounts/external" "github.com/YehorDudukin/go-ethereum/accounts/external"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/YehorDudukin/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
) )
// Bind generates a v1 contract binding. // Bind generates a v1 contract binding.
// Deprecated: binding generation has moved to github.com/ethereum/go-ethereum/accounts/abi/abigen // Deprecated: binding generation has moved to github.com/YehorDudukin/go-ethereum/accounts/abi/abigen
func Bind(types []string, abis []string, bytecodes []string, fsigs []map[string]string, pkg string, libs map[string]string, aliases map[string]string) (string, error) { func Bind(types []string, abis []string, bytecodes []string, fsigs []map[string]string, pkg string, libs map[string]string, aliases map[string]string) (string, error) {
return abigen.Bind(types, abis, bytecodes, fsigs, pkg, libs, aliases) return abigen.Bind(types, abis, bytecodes, fsigs, pkg, libs, aliases)
} }

View file

@ -22,12 +22,12 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/accounts/external" "github.com/YehorDudukin/go-ethereum/accounts/external"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/YehorDudukin/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
) )
// ErrNotAuthorized is returned when an account is not properly unlocked. // ErrNotAuthorized is returned when an account is not properly unlocked.

View file

@ -21,9 +21,9 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum" "github.com/YehorDudukin/go-ethereum"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
var ( var (

View file

@ -24,12 +24,12 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/ethereum/go-ethereum" "github.com/YehorDudukin/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
) )
const basefeeWiggleMultiplier = 2 const basefeeWiggleMultiplier = 2

View file

@ -24,14 +24,14 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum" "github.com/YehorDudukin/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/YehorDudukin/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/rlp" "github.com/YehorDudukin/go-ethereum/rlp"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View file

@ -22,8 +22,8 @@ import (
"maps" "maps"
"strings" "strings"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// DeploymentParams contains parameters needed to deploy one or more contracts via LinkAndDeploy // DeploymentParams contains parameters needed to deploy one or more contracts via LinkAndDeploy

View file

@ -21,9 +21,9 @@ import (
"regexp" "regexp"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"golang.org/x/exp/rand" "golang.org/x/exp/rand"
) )

View file

@ -23,19 +23,19 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/accounts/abi/abigen" "github.com/YehorDudukin/go-ethereum/accounts/abi/abigen"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/YehorDudukin/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/common/compiler" "github.com/YehorDudukin/go-ethereum/common/compiler"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
) )
// Run go generate to recreate the test bindings. // Run go generate to recreate the test bindings.
// //
//go:generate go run github.com/ethereum/go-ethereum/cmd/abigen -v2 -combined-json internal/contracts/db/combined-abi.json -type DBStats -pkg db -out internal/contracts/db/bindings.go //go:generate go run github.com/YehorDudukin/go-ethereum/cmd/abigen -v2 -combined-json internal/contracts/db/combined-abi.json -type DBStats -pkg db -out internal/contracts/db/bindings.go
//go:generate go run github.com/ethereum/go-ethereum/cmd/abigen -v2 -combined-json internal/contracts/events/combined-abi.json -type C -pkg events -out internal/contracts/events/bindings.go //go:generate go run github.com/YehorDudukin/go-ethereum/cmd/abigen -v2 -combined-json internal/contracts/events/combined-abi.json -type C -pkg events -out internal/contracts/events/bindings.go
//go:generate go run github.com/ethereum/go-ethereum/cmd/abigen -v2 -combined-json internal/contracts/nested_libraries/combined-abi.json -type C1 -pkg nested_libraries -out internal/contracts/nested_libraries/bindings.go //go:generate go run github.com/YehorDudukin/go-ethereum/cmd/abigen -v2 -combined-json internal/contracts/nested_libraries/combined-abi.json -type C1 -pkg nested_libraries -out internal/contracts/nested_libraries/bindings.go
//go:generate go run github.com/ethereum/go-ethereum/cmd/abigen -v2 -combined-json internal/contracts/solc_errors/combined-abi.json -type C -pkg solc_errors -out internal/contracts/solc_errors/bindings.go //go:generate go run github.com/YehorDudukin/go-ethereum/cmd/abigen -v2 -combined-json internal/contracts/solc_errors/combined-abi.json -type C -pkg solc_errors -out internal/contracts/solc_errors/bindings.go
//go:generate go run github.com/ethereum/go-ethereum/cmd/abigen -v2 -combined-json internal/contracts/uint256arrayreturn/combined-abi.json -type C -pkg uint256arrayreturn -out internal/contracts/uint256arrayreturn/bindings.go //go:generate go run github.com/YehorDudukin/go-ethereum/cmd/abigen -v2 -combined-json internal/contracts/uint256arrayreturn/combined-abi.json -type C -pkg uint256arrayreturn -out internal/contracts/uint256arrayreturn/bindings.go
// TestBindingGeneration tests that re-running generation of bindings does not result in // TestBindingGeneration tests that re-running generation of bindings does not result in
// mutations to the binding code. // mutations to the binding code.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -8,10 +8,10 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -29,12 +29,12 @@ package bind
import ( import (
"errors" "errors"
"github.com/ethereum/go-ethereum" "github.com/YehorDudukin/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/YehorDudukin/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
) )
// ContractEvent is a type constraint for ABI event types. // ContractEvent is a type constraint for ABI event types.

View file

@ -22,19 +22,19 @@ import (
"testing" "testing"
"time" "time"
"github.com/ethereum/go-ethereum/accounts/abi/bind/backends" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2/internal/contracts/events" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2/internal/contracts/events"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2/internal/contracts/nested_libraries" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2/internal/contracts/nested_libraries"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2/internal/contracts/solc_errors" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2/internal/contracts/solc_errors"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/eth/ethconfig" "github.com/YehorDudukin/go-ethereum/eth/ethconfig"
"github.com/ethereum/go-ethereum/ethclient" "github.com/YehorDudukin/go-ethereum/ethclient"
"github.com/ethereum/go-ethereum/ethclient/simulated" "github.com/YehorDudukin/go-ethereum/ethclient/simulated"
"github.com/ethereum/go-ethereum/node" "github.com/YehorDudukin/go-ethereum/node"
"github.com/ethereum/go-ethereum/params" "github.com/YehorDudukin/go-ethereum/params"
) )
var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291") var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")

View file

@ -21,10 +21,10 @@ import (
"errors" "errors"
"time" "time"
"github.com/ethereum/go-ethereum" "github.com/YehorDudukin/go-ethereum"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
) )
// WaitMined waits for tx to be mined on the blockchain. // WaitMined waits for tx to be mined on the blockchain.

View file

@ -23,12 +23,12 @@ import (
"testing" "testing"
"time" "time"
"github.com/ethereum/go-ethereum/accounts/abi/bind/v2" "github.com/YehorDudukin/go-ethereum/accounts/abi/bind/v2"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethclient/simulated" "github.com/YehorDudukin/go-ethereum/ethclient/simulated"
"github.com/ethereum/go-ethereum/params" "github.com/YehorDudukin/go-ethereum/params"
) )
var waitDeployedTests = map[string]struct { var waitDeployedTests = map[string]struct {

View file

@ -21,8 +21,8 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
) )
type Error struct { type Error struct {

View file

@ -20,8 +20,8 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
) )
// Event is an event potentially triggered by the EVM's LOG mechanism. The Event // Event is an event potentially triggered by the EVM's LOG mechanism. The Event

View file

@ -25,8 +25,8 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -20,7 +20,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
) )
// FunctionType represents different types of functions a contract might have. // FunctionType represents different types of functions a contract might have.

View file

@ -22,8 +22,8 @@ import (
"math/big" "math/big"
"reflect" "reflect"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math" "github.com/YehorDudukin/go-ethereum/common/math"
) )
// packBytesSlice packs the given bytes as [L, V] as the canonical representation // packBytesSlice packs the given bytes as [L, V] as the canonical representation

View file

@ -27,7 +27,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
) )
// TestPack tests the general pack/unpack tests in packing_test.go // TestPack tests the general pack/unpack tests in packing_test.go

View file

@ -19,7 +19,7 @@ package abi
import ( import (
"math/big" "math/big"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
) )
type packUnpackTest struct { type packUnpackTest struct {

View file

@ -23,9 +23,9 @@ import (
"math/big" "math/big"
"reflect" "reflect"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math" "github.com/YehorDudukin/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
) )
// MakeTopics converts a filter query argument list into a filter topic set. // MakeTopics converts a filter query argument list into a filter topic set.

View file

@ -22,8 +22,8 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
) )
func TestMakeTopics(t *testing.T) { func TestMakeTopics(t *testing.T) {

View file

@ -26,7 +26,7 @@ import (
"unicode" "unicode"
"unicode/utf8" "unicode/utf8"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
) )
// Type enumerator // Type enumerator

View file

@ -21,8 +21,8 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/YehorDudukin/go-ethereum/common"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
"github.com/ethereum/go-ethereum/common"
) )
// typeWithoutStringer is an alias for the Type type which simply doesn't implement // typeWithoutStringer is an alias for the Type type which simply doesn't implement

View file

@ -24,7 +24,7 @@ import (
"math/big" "math/big"
"reflect" "reflect"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
) )
var ( var (

View file

@ -27,7 +27,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -21,10 +21,10 @@ import (
"fmt" "fmt"
"math/big" "math/big"
"github.com/ethereum/go-ethereum" "github.com/YehorDudukin/go-ethereum"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
"golang.org/x/crypto/sha3" "golang.org/x/crypto/sha3"
) )

View file

@ -20,7 +20,7 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/YehorDudukin/go-ethereum/common/hexutil"
) )
func TestTextHash(t *testing.T) { func TestTextHash(t *testing.T) {

View file

@ -22,15 +22,15 @@ import (
"math/big" "math/big"
"sync" "sync"
"github.com/ethereum/go-ethereum" "github.com/YehorDudukin/go-ethereum"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/YehorDudukin/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
"github.com/ethereum/go-ethereum/rpc" "github.com/YehorDudukin/go-ethereum/rpc"
"github.com/ethereum/go-ethereum/signer/core/apitypes" "github.com/YehorDudukin/go-ethereum/signer/core/apitypes"
) )
type ExternalBackend struct { type ExternalBackend struct {

View file

@ -28,10 +28,10 @@ import (
"sync" "sync"
"time" "time"
"github.com/YehorDudukin/go-ethereum/accounts"
"github.com/YehorDudukin/go-ethereum/common"
"github.com/YehorDudukin/go-ethereum/log"
mapset "github.com/deckarep/golang-set/v2" mapset "github.com/deckarep/golang-set/v2"
"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/log"
) )
// Minimum amount of time between cache reloads. This limit applies if the platform does // Minimum amount of time between cache reloads. This limit applies if the platform does

View file

@ -27,10 +27,10 @@ import (
"testing" "testing"
"time" "time"
"github.com/YehorDudukin/go-ethereum/accounts"
"github.com/YehorDudukin/go-ethereum/common"
"github.com/cespare/cp" "github.com/cespare/cp"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
) )
var ( var (

View file

@ -23,8 +23,8 @@ import (
"sync" "sync"
"time" "time"
"github.com/YehorDudukin/go-ethereum/log"
mapset "github.com/deckarep/golang-set/v2" mapset "github.com/deckarep/golang-set/v2"
"github.com/ethereum/go-ethereum/log"
) )
// fileCache is a cache of files seen during scan of keystore. // fileCache is a cache of files seen during scan of keystore.

View file

@ -28,9 +28,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/google/uuid" "github.com/google/uuid"
) )

View file

@ -32,11 +32,11 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
) )
var ( var (

View file

@ -27,10 +27,10 @@ import (
"testing" "testing"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
) )
var testSigData = make([]byte, 32) var testSigData = make([]byte, 32)

View file

@ -37,10 +37,10 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math" "github.com/YehorDudukin/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/google/uuid" "github.com/google/uuid"
"golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/pbkdf2"
"golang.org/x/crypto/scrypt" "golang.org/x/crypto/scrypt"
@ -120,7 +120,7 @@ func (ks keyStorePassphrase) StoreKey(filename string, key *Key, auth string) er
"This indicates that the keystore is corrupted. \n" + "This indicates that the keystore is corrupted. \n" +
"The corrupted file is stored at \n%v\n" + "The corrupted file is stored at \n%v\n" +
"Please file a ticket at:\n\n" + "Please file a ticket at:\n\n" +
"https://github.com/ethereum/go-ethereum/issues." + "https://github.com/YehorDudukin/go-ethereum/issues." +
"The error was : %s" "The error was : %s"
//lint:ignore ST1005 This is a message for the user //lint:ignore ST1005 This is a message for the user
return fmt.Errorf(msg, tmpName, err) return fmt.Errorf(msg, tmpName, err)

View file

@ -20,7 +20,7 @@ import (
"os" "os"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
) )
const ( const (

View file

@ -22,7 +22,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
) )
type keyStorePlain struct { type keyStorePlain struct {

View file

@ -25,8 +25,8 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
) )
func tmpKeyStoreIface(t *testing.T, encrypted bool) (dir string, ks keyStore) { func tmpKeyStoreIface(t *testing.T, encrypted bool) (dir string, ks keyStore) {

View file

@ -25,8 +25,8 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/google/uuid" "github.com/google/uuid"
"golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/pbkdf2"
) )

View file

@ -19,10 +19,10 @@ package keystore
import ( import (
"math/big" "math/big"
"github.com/ethereum/go-ethereum" "github.com/YehorDudukin/go-ethereum"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
) )
// keystoreWallet implements the accounts.Wallet interface for the original // keystoreWallet implements the accounts.Wallet interface for the original

View file

@ -23,7 +23,7 @@ import (
"os" "os"
"time" "time"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
"github.com/fsnotify/fsnotify" "github.com/fsnotify/fsnotify"
) )

View file

@ -21,8 +21,8 @@ import (
"sort" "sort"
"sync" "sync"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
) )
// managerSubBufferSize determines how many incoming wallet events // managerSubBufferSize determines how many incoming wallet events

View file

@ -41,10 +41,10 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
pcsc "github.com/gballet/go-libpcsclite" pcsc "github.com/gballet/go-libpcsclite"
) )

View file

@ -26,7 +26,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
pcsc "github.com/gballet/go-libpcsclite" pcsc "github.com/gballet/go-libpcsclite"
"golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/pbkdf2"
"golang.org/x/text/unicode/norm" "golang.org/x/text/unicode/norm"

View file

@ -33,12 +33,12 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum" "github.com/YehorDudukin/go-ethereum"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
pcsc "github.com/gballet/go-libpcsclite" pcsc "github.com/gballet/go-libpcsclite"
"github.com/status-im/keycard-go/derivationpath" "github.com/status-im/keycard-go/derivationpath"
) )

View file

@ -23,9 +23,9 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
"github.com/karalabe/hid" "github.com/karalabe/hid"
) )

View file

@ -28,13 +28,13 @@ import (
"io" "io"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/YehorDudukin/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
"github.com/ethereum/go-ethereum/rlp" "github.com/YehorDudukin/go-ethereum/rlp"
) )
// ledgerOpcode is an enumeration encoding the supported Ledger opcodes. // ledgerOpcode is an enumeration encoding the supported Ledger opcodes.

View file

@ -28,12 +28,12 @@ import (
"math" "math"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/accounts/usbwallet/trezor" "github.com/YehorDudukin/go-ethereum/accounts/usbwallet/trezor"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/YehorDudukin/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"
) )

View file

@ -5,7 +5,7 @@
syntax = "proto2"; syntax = "proto2";
package hw.trezor.messages.common; package hw.trezor.messages.common;
option go_package = "github.com/ethereum/go-ethereum/accounts/usbwallet/trezor"; option go_package = "github.com/YehorDudukin/go-ethereum/accounts/usbwallet/trezor";
/** /**
* Response: Success of the previous request * Response: Success of the previous request

View file

@ -5,7 +5,7 @@
syntax = "proto2"; syntax = "proto2";
package hw.trezor.messages.ethereum; package hw.trezor.messages.ethereum;
option go_package = "github.com/ethereum/go-ethereum/accounts/usbwallet/trezor"; option go_package = "github.com/YehorDudukin/go-ethereum/accounts/usbwallet/trezor";
// Sugar for easier handling in Java // Sugar for easier handling in Java
option java_package = "com.satoshilabs.trezor.lib.protobuf"; option java_package = "com.satoshilabs.trezor.lib.protobuf";

View file

@ -5,7 +5,7 @@
syntax = "proto2"; syntax = "proto2";
package hw.trezor.messages.management; package hw.trezor.messages.management;
option go_package = "github.com/ethereum/go-ethereum/accounts/usbwallet/trezor"; option go_package = "github.com/YehorDudukin/go-ethereum/accounts/usbwallet/trezor";
// Sugar for easier handling in Java // Sugar for easier handling in Java
option java_package = "com.satoshilabs.trezor.lib.protobuf"; option java_package = "com.satoshilabs.trezor.lib.protobuf";

View file

@ -9,7 +9,7 @@ package hw.trezor.messages;
* Messages for TREZOR communication * Messages for TREZOR communication
*/ */
option go_package = "github.com/ethereum/go-ethereum/accounts/usbwallet/trezor"; option go_package = "github.com/YehorDudukin/go-ethereum/accounts/usbwallet/trezor";
// Sugar for easier handling in Java // Sugar for easier handling in Java
option java_package = "com.satoshilabs.trezor.lib.protobuf"; option java_package = "com.satoshilabs.trezor.lib.protobuf";

View file

@ -25,12 +25,12 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum" "github.com/YehorDudukin/go-ethereum"
"github.com/ethereum/go-ethereum/accounts" "github.com/YehorDudukin/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/YehorDudukin/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
"github.com/karalabe/hid" "github.com/karalabe/hid"
) )

View file

@ -17,14 +17,14 @@
package blsync package blsync
import ( import (
"github.com/ethereum/go-ethereum/beacon/light/request" "github.com/YehorDudukin/go-ethereum/beacon/light/request"
"github.com/ethereum/go-ethereum/beacon/light/sync" "github.com/YehorDudukin/go-ethereum/beacon/light/sync"
"github.com/ethereum/go-ethereum/beacon/params" "github.com/YehorDudukin/go-ethereum/beacon/params"
"github.com/ethereum/go-ethereum/beacon/types" "github.com/YehorDudukin/go-ethereum/beacon/types"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/lru" "github.com/YehorDudukin/go-ethereum/common/lru"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
) )
// beaconBlockSync implements request.Module; it fetches the beacon blocks belonging // beaconBlockSync implements request.Module; it fetches the beacon blocks belonging

View file

@ -19,10 +19,10 @@ package blsync
import ( import (
"testing" "testing"
"github.com/ethereum/go-ethereum/beacon/light/request" "github.com/YehorDudukin/go-ethereum/beacon/light/request"
"github.com/ethereum/go-ethereum/beacon/light/sync" "github.com/YehorDudukin/go-ethereum/beacon/light/sync"
"github.com/ethereum/go-ethereum/beacon/types" "github.com/YehorDudukin/go-ethereum/beacon/types"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
zrntcommon "github.com/protolambda/zrnt/eth2/beacon/common" zrntcommon "github.com/protolambda/zrnt/eth2/beacon/common"
"github.com/protolambda/zrnt/eth2/beacon/deneb" "github.com/protolambda/zrnt/eth2/beacon/deneb"
) )

View file

@ -17,18 +17,18 @@
package blsync package blsync
import ( import (
"github.com/ethereum/go-ethereum/beacon/light" "github.com/YehorDudukin/go-ethereum/beacon/light"
"github.com/ethereum/go-ethereum/beacon/light/api" "github.com/YehorDudukin/go-ethereum/beacon/light/api"
"github.com/ethereum/go-ethereum/beacon/light/request" "github.com/YehorDudukin/go-ethereum/beacon/light/request"
"github.com/ethereum/go-ethereum/beacon/light/sync" "github.com/YehorDudukin/go-ethereum/beacon/light/sync"
"github.com/ethereum/go-ethereum/beacon/params" "github.com/YehorDudukin/go-ethereum/beacon/params"
"github.com/ethereum/go-ethereum/beacon/types" "github.com/YehorDudukin/go-ethereum/beacon/types"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/mclock" "github.com/YehorDudukin/go-ethereum/common/mclock"
"github.com/ethereum/go-ethereum/ethdb/memorydb" "github.com/YehorDudukin/go-ethereum/ethdb/memorydb"
"github.com/ethereum/go-ethereum/event" "github.com/YehorDudukin/go-ethereum/event"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
"github.com/ethereum/go-ethereum/rpc" "github.com/YehorDudukin/go-ethereum/rpc"
) )
type Client struct { type Client struct {

View file

@ -22,13 +22,13 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum/beacon/engine" "github.com/YehorDudukin/go-ethereum/beacon/engine"
"github.com/ethereum/go-ethereum/beacon/params" "github.com/YehorDudukin/go-ethereum/beacon/params"
"github.com/ethereum/go-ethereum/beacon/types" "github.com/YehorDudukin/go-ethereum/beacon/types"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
ctypes "github.com/ethereum/go-ethereum/core/types" ctypes "github.com/YehorDudukin/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/log" "github.com/YehorDudukin/go-ethereum/log"
"github.com/ethereum/go-ethereum/rpc" "github.com/YehorDudukin/go-ethereum/rpc"
) )
type engineClient struct { type engineClient struct {

View file

@ -17,8 +17,8 @@
package engine package engine
import ( import (
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/rpc" "github.com/YehorDudukin/go-ethereum/rpc"
) )
// EngineAPIError is a standardized error message between consensus and execution // EngineAPIError is a standardized error message between consensus and execution

View file

@ -6,9 +6,9 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/YehorDudukin/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
var _ = (*payloadAttributesMarshaling)(nil) var _ = (*payloadAttributesMarshaling)(nil)

View file

@ -7,9 +7,9 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/common" "github.com/YehorDudukin/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/YehorDudukin/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types" "github.com/YehorDudukin/go-ethereum/core/types"
) )
var _ = (*executableDataMarshaling)(nil) var _ = (*executableDataMarshaling)(nil)

Some files were not shown because too many files have changed in this diff Show more