Skip to content

Commit

Permalink
feat: update dependencies security.
Browse files Browse the repository at this point in the history
  • Loading branch information
gitslagga committed May 31, 2022
1 parent 8095d22 commit 28bf5e5
Show file tree
Hide file tree
Showing 940 changed files with 26,883 additions and 145,899 deletions.
5 changes: 3 additions & 2 deletions chain/ckb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package chain
import (
"context"
"das_parser_tool/config"
"encoding/json"
"fmt"
"github.com/nervosnetwork/ckb-sdk-go/types"
"github.com/scorpiotzh/toolib"
"testing"
)

Expand All @@ -18,5 +18,6 @@ func TestGetTransaction(t *testing.T) {
hash := "0x5e594f15662fc75fe01fd67c76cee02c79dea2e6573509e5408af5114afd459e"
client := getCkbClient()
tx := client.GetTransactionByHash(types.HexToHash(hash))
fmt.Println(toolib.JsonString(tx))
s, _ := json.Marshal(tx)
fmt.Println(string(s))
}
11 changes: 5 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
module das_parser_tool

go 1.15
go 1.16

require (
github.com/DeAccountSystems/das-lib v0.0.0-20220531040850-ea68b195348f
github.com/ethereum/go-ethereum v1.10.17
github.com/nervosnetwork/ckb-sdk-go v0.101.5
github.com/ethereum/go-ethereum v1.10.18
github.com/nervosnetwork/ckb-sdk-go v1.0.4
github.com/scorpiotzh/mylog v1.0.9
github.com/scorpiotzh/toolib v1.1.3
github.com/spf13/cobra v1.3.0
github.com/spf13/viper v1.10.1
github.com/spf13/cobra v1.4.0
github.com/spf13/viper v1.12.0
)
306 changes: 165 additions & 141 deletions go.sum

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions vendor/github.com/dgrijalva/jwt-go/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions vendor/github.com/dgrijalva/jwt-go/.travis.yml

This file was deleted.

8 changes: 0 additions & 8 deletions vendor/github.com/dgrijalva/jwt-go/LICENSE

This file was deleted.

97 changes: 0 additions & 97 deletions vendor/github.com/dgrijalva/jwt-go/MIGRATION_GUIDE.md

This file was deleted.

100 changes: 0 additions & 100 deletions vendor/github.com/dgrijalva/jwt-go/README.md

This file was deleted.

Loading

0 comments on commit 28bf5e5

Please sign in to comment.