File tree Expand file tree Collapse file tree 13 files changed +31
-35
lines changed Expand file tree Collapse file tree 13 files changed +31
-35
lines changed Original file line number Diff line number Diff line change 7
7
fail-fast : false
8
8
matrix :
9
9
go :
10
- - ' 1.19 '
10
+ - ' 1.22 '
11
11
12
12
steps :
13
13
- uses : actions/setup-go@v3
Original file line number Diff line number Diff line change 2
2
[ ![ Build Status] ( https://app.travis-ci.com/txpull/sourcify-go.svg?branch=main )] ( https://app.travis-ci.com/txpull/sourcify-go )
3
3
[ ![ Coverage Status] ( https://coveralls.io/repos/github/txpull/sourcify-go/badge.svg?branch=main )] ( https://coveralls.io/github/txpull/sourcify-go?branch=main )
4
4
[ ![ License] ( https://img.shields.io/badge/License-Apache_2.0-blue.svg )] ( https://opensource.org/licenses/Apache-2.0 )
5
- [ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/txpull /sourcify-go )] ( https://pkg.go.dev/github.com/txpull /sourcify-go )
5
+ [ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/unpackdev /sourcify-go )] ( https://pkg.go.dev/github.com/unpackdev /sourcify-go )
6
6
7
7
8
8
@@ -17,7 +17,7 @@ It allows you to access various API endpoints and perform operations such as che
17
17
To use Sourcify in your Go project, you can simply import the package:
18
18
19
19
``` go
20
- import " github.com/txpull /sourcify-go"
20
+ import " github.com/unpackdev /sourcify-go"
21
21
```
22
22
23
23
## Usage
Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ package examples
2
2
3
3
import (
4
4
"fmt"
5
+ "github.com/unpackdev/sourcify-go"
5
6
"net/http"
6
7
"time"
7
-
8
- "github.com/txpull/sourcify-go"
9
8
)
10
9
11
10
// Example_GetChains demonstrates how to retrieve chains using the Sourcify client.
Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ package examples
2
2
3
3
import (
4
4
"fmt"
5
+ "github.com/unpackdev/sourcify-go"
5
6
"net/http"
6
7
"time"
7
-
8
- "github.com/txpull/sourcify-go"
9
8
)
10
9
11
10
// Example_CheckAddresses demonstrates how to check contract addresses using the Sourcify client.
Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ package examples
2
2
3
3
import (
4
4
"fmt"
5
+ "github.com/unpackdev/sourcify-go"
5
6
"net/http"
6
7
"time"
7
-
8
- "github.com/txpull/sourcify-go"
9
8
)
10
9
11
10
// Example_GetAllAddresses demonstrates how to retrieve all available contract addresses using the Sourcify client.
Original file line number Diff line number Diff line change @@ -2,11 +2,10 @@ package examples
2
2
3
3
import (
4
4
"fmt"
5
+ "github.com/ethereum/go-ethereum/common"
6
+ "github.com/unpackdev/sourcify-go"
5
7
"net/http"
6
8
"time"
7
-
8
- "github.com/ethereum/go-ethereum/common"
9
- "github.com/txpull/sourcify-go"
10
9
)
11
10
12
11
// Example_GetFiles demonstrates how to retrieve source files for a contract using the Sourcify client.
Original file line number Diff line number Diff line change @@ -2,11 +2,10 @@ package examples
2
2
3
3
import (
4
4
"fmt"
5
+ "github.com/ethereum/go-ethereum/common"
6
+ "github.com/unpackdev/sourcify-go"
5
7
"net/http"
6
8
"time"
7
-
8
- "github.com/ethereum/go-ethereum/common"
9
- "github.com/txpull/sourcify-go"
10
9
)
11
10
12
11
// Example_GetMetadata demonstrates how to retrieve full metadata for a contract using the Sourcify client.
Original file line number Diff line number Diff line change @@ -2,11 +2,10 @@ package examples
2
2
3
3
import (
4
4
"fmt"
5
+ "github.com/ethereum/go-ethereum/common"
6
+ "github.com/unpackdev/sourcify-go"
5
7
"net/http"
6
8
"time"
7
-
8
- "github.com/ethereum/go-ethereum/common"
9
- "github.com/txpull/sourcify-go"
10
9
)
11
10
12
11
// Example_GetSourceCode demonstrates how to retrieve source code for a contract using the Sourcify client.
Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ package examples
2
2
3
3
import (
4
4
"fmt"
5
+ "github.com/unpackdev/sourcify-go"
5
6
"net/http"
6
7
"time"
7
-
8
- "github.com/txpull/sourcify-go"
9
8
)
10
9
11
10
// Example_GetHealth demonstrates how to check the health status of the Sourcify server using the Sourcify client.
Original file line number Diff line number Diff line change 1
- module github.com/txpull /sourcify-go
1
+ module github.com/unpackdev /sourcify-go
2
2
3
- go 1.19
3
+ go 1.22
4
4
5
5
require (
6
- github.com/ethereum/go-ethereum v1.12.1
6
+ github.com/ethereum/go-ethereum v1.14.0
7
7
github.com/stretchr/testify v1.8.4
8
8
)
9
9
10
10
require (
11
11
github.com/davecgh/go-spew v1.1.1 // indirect
12
+ github.com/holiman/uint256 v1.2.4 // indirect
12
13
github.com/pmezard/go-difflib v1.0.0 // indirect
13
- golang.org/x/crypto v0.17 .0 // indirect
14
- golang.org/x/sys v0.15 .0 // indirect
14
+ golang.org/x/crypto v0.22 .0 // indirect
15
+ golang.org/x/sys v0.19 .0 // indirect
15
16
gopkg.in/yaml.v3 v3.0.1 // indirect
16
17
)
You can’t perform that action at this time.
0 commit comments