Skip to content

Commit

Permalink
upgrade deps (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka authored Aug 22, 2024
1 parent 8264025 commit 85d80bd
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 93 deletions.
5 changes: 1 addition & 4 deletions go-ethereum/crypto/signature_nocgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ func Sign(hash []byte, prv *ecdsa.PrivateKey) ([]byte, error) {
return nil, errors.New("invalid private key")
}
defer priv.Zero()
sig, err := btc_ecdsa.SignCompact(&priv, hash, false) // ref uncompressed pubkey
if err != nil {
return nil, err
}
sig := btc_ecdsa.SignCompact(&priv, hash, false) // ref uncompressed pubkey
// Convert to Ethereum signature format with 'recovery id' v at the end.
v := sig[0] - 27
copy(sig, sig[1:])
Expand Down
54 changes: 26 additions & 28 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,61 +6,59 @@ toolchain go1.22.0

require (
github.com/Microsoft/go-winio v0.6.2
github.com/btcsuite/btcd v0.23.4
github.com/btcsuite/btcd/btcec/v2 v2.3.2
github.com/btcsuite/btcd/btcutil v1.1.3
github.com/btcsuite/btcd v0.24.2
github.com/btcsuite/btcd/btcec/v2 v2.3.4
github.com/btcsuite/btcd/btcutil v1.1.6
github.com/cespare/cp v1.1.1
github.com/cespare/xxhash/v2 v2.2.0
github.com/consensys/gnark-crypto v0.12.1
github.com/crate-crypto/go-kzg-4844 v1.0.0
github.com/cespare/xxhash/v2 v2.3.0
github.com/consensys/gnark-crypto v0.13.0
github.com/crate-crypto/go-kzg-4844 v1.1.0
github.com/davecgh/go-spew v1.1.1
github.com/deckarep/golang-set/v2 v2.6.0
github.com/ethereum/c-kzg-4844/bindings/go v0.0.0-20230126171313-363c7d7593b4
github.com/go-chi/httpvcr v0.2.0
github.com/google/uuid v1.2.0
github.com/gorilla/websocket v1.5.1
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.3
github.com/goware/breaker v0.1.2
github.com/goware/cachestore v0.8.1
github.com/goware/calc v0.2.0
github.com/goware/channel v0.4.1
github.com/goware/logger v0.3.0
github.com/goware/pp v0.0.3
github.com/goware/superr v0.0.2
github.com/holiman/uint256 v1.2.4
github.com/holiman/uint256 v1.3.1
github.com/kylelemons/godebug v1.1.0
github.com/spf13/cobra v1.6.1
github.com/stretchr/testify v1.8.2
github.com/spf13/cobra v1.8.1
github.com/stretchr/testify v1.9.0
github.com/tyler-smith/go-bip39 v1.1.0
golang.org/x/crypto v0.22.0
golang.org/x/net v0.24.0
golang.org/x/sync v0.3.0
golang.org/x/sys v0.19.0
golang.org/x/tools v0.11.0
golang.org/x/crypto v0.26.0
golang.org/x/net v0.28.0
golang.org/x/sync v0.8.0
golang.org/x/sys v0.24.0
golang.org/x/tools v0.24.0
)

require (
golang.org/x/exp v0.0.0-20230124195608-d38c7dcee874 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect
golang.org/x/mod v0.20.0 // indirect
golang.org/x/text v0.17.0 // indirect
)

require (
github.com/bits-and-blooms/bitset v1.7.0 // indirect
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect
github.com/bits-and-blooms/bitset v1.13.0 // indirect
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect
github.com/consensys/bavard v0.1.13 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/goware/singleflight v0.2.0 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.5 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mmcloughlin/addchain v0.4.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/redis/go-redis/v9 v9.0.5 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/redis/go-redis/v9 v9.6.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/supranational/blst v0.3.11-0.20230124161941-ca03e11a3ff2 // indirect
golang.org/x/term v0.19.0 // indirect
github.com/supranational/blst v0.3.13 // indirect
golang.org/x/term v0.23.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
rsc.io/tmplfunc v0.0.3 // indirect
)
Loading

0 comments on commit 85d80bd

Please sign in to comment.