Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
db09d74b
Unverified
Commit
db09d74b
authored
Aug 16, 2021
by
Ralph Pichler
Committed by
GitHub
Aug 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update go-ethereum to latest release (#2408)
parent
ad100624
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
31 deletions
+53
-31
go.mod
go.mod
+2
-3
go.sum
go.sum
+42
-27
node.go
pkg/node/node.go
+1
-1
backend.go
pkg/transaction/backendmock/backend.go
+4
-0
backend.go
pkg/transaction/backendsimulation/backend.go
+4
-0
No files found.
go.mod
View file @
db09d74b
...
@@ -5,7 +5,7 @@ go 1.15
...
@@ -5,7 +5,7 @@ go 1.15
require (
require (
github.com/btcsuite/btcd v0.22.0-beta
github.com/btcsuite/btcd v0.22.0-beta
github.com/coreos/go-semver v0.3.0
github.com/coreos/go-semver v0.3.0
github.com/ethereum/go-ethereum v1.10.
3
github.com/ethereum/go-ethereum v1.10.
7
github.com/ethersphere/go-price-oracle-abi v0.1.0
github.com/ethersphere/go-price-oracle-abi v0.1.0
github.com/ethersphere/go-storage-incentives-abi v0.3.0
github.com/ethersphere/go-storage-incentives-abi v0.3.0
github.com/ethersphere/go-sw3-abi v0.4.0
github.com/ethersphere/go-sw3-abi v0.4.0
...
@@ -17,7 +17,6 @@ require (
...
@@ -17,7 +17,6 @@ require (
github.com/gorilla/mux v1.7.4
github.com/gorilla/mux v1.7.4
github.com/gorilla/websocket v1.4.2
github.com/gorilla/websocket v1.4.2
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/go-multierror v1.1.1
github.com/huin/goupnp v1.0.1 // indirect
github.com/ipfs/go-log v1.0.5 // indirect
github.com/ipfs/go-log v1.0.5 // indirect
github.com/ipfs/go-log/v2 v2.3.0 // indirect
github.com/ipfs/go-log/v2 v2.3.0 // indirect
github.com/kardianos/service v1.2.0
github.com/kardianos/service v1.2.0
...
@@ -56,7 +55,7 @@ require (
...
@@ -56,7 +55,7 @@ require (
github.com/uber/jaeger-client-go v2.24.0+incompatible
github.com/uber/jaeger-client-go v2.24.0+incompatible
github.com/uber/jaeger-lib v2.2.0+incompatible // indirect
github.com/uber/jaeger-lib v2.2.0+incompatible // indirect
github.com/vmihailenco/msgpack/v5 v5.3.4
github.com/vmihailenco/msgpack/v5 v5.3.4
github.com/wealdtech/go-ens/v3 v3.
4.6
github.com/wealdtech/go-ens/v3 v3.
5.1
gitlab.com/nolash/go-mockbytes v0.0.7
gitlab.com/nolash/go-mockbytes v0.0.7
go.uber.org/atomic v1.8.0
go.uber.org/atomic v1.8.0
go.uber.org/multierr v1.7.0 // indirect
go.uber.org/multierr v1.7.0 // indirect
...
...
go.sum
View file @
db09d74b
This diff is collapsed.
Click to expand it.
pkg/node/node.go
View file @
db09d74b
...
@@ -365,7 +365,7 @@ func NewBee(addr string, publicKey *ecdsa.PublicKey, signer crypto.Signer, netwo
...
@@ -365,7 +365,7 @@ func NewBee(addr string, publicKey *ecdsa.PublicKey, signer crypto.Signer, netwo
lightNodes
:=
lightnode
.
NewContainer
(
swarmAddress
)
lightNodes
:=
lightnode
.
NewContainer
(
swarmAddress
)
senderMatcher
:=
transaction
.
NewMatcher
(
swapBackend
,
types
.
New
EIP2930
Signer
(
big
.
NewInt
(
chainID
)),
stateStore
)
senderMatcher
:=
transaction
.
NewMatcher
(
swapBackend
,
types
.
New
London
Signer
(
big
.
NewInt
(
chainID
)),
stateStore
)
p2ps
,
err
:=
libp2p
.
New
(
p2pCtx
,
signer
,
networkID
,
swarmAddress
,
addr
,
addressbook
,
stateStore
,
lightNodes
,
senderMatcher
,
logger
,
tracer
,
libp2p
.
Options
{
p2ps
,
err
:=
libp2p
.
New
(
p2pCtx
,
signer
,
networkID
,
swarmAddress
,
addr
,
addressbook
,
stateStore
,
lightNodes
,
senderMatcher
,
logger
,
tracer
,
libp2p
.
Options
{
PrivateKey
:
libp2pPrivateKey
,
PrivateKey
:
libp2pPrivateKey
,
...
...
pkg/transaction/backendmock/backend.go
View file @
db09d74b
...
@@ -129,6 +129,10 @@ func (m *backendMock) NonceAt(ctx context.Context, account common.Address, block
...
@@ -129,6 +129,10 @@ func (m *backendMock) NonceAt(ctx context.Context, account common.Address, block
return
0
,
errors
.
New
(
"not implemented"
)
return
0
,
errors
.
New
(
"not implemented"
)
}
}
func
(
m
*
backendMock
)
SuggestGasTipCap
(
ctx
context
.
Context
)
(
*
big
.
Int
,
error
)
{
return
nil
,
errors
.
New
(
"not implemented"
)
}
func
New
(
opts
...
Option
)
transaction
.
Backend
{
func
New
(
opts
...
Option
)
transaction
.
Backend
{
mock
:=
new
(
backendMock
)
mock
:=
new
(
backendMock
)
for
_
,
o
:=
range
opts
{
for
_
,
o
:=
range
opts
{
...
...
pkg/transaction/backendsimulation/backend.go
View file @
db09d74b
...
@@ -159,3 +159,7 @@ func (m *simulatedBackend) NonceAt(ctx context.Context, account common.Address,
...
@@ -159,3 +159,7 @@ func (m *simulatedBackend) NonceAt(ctx context.Context, account common.Address,
return
0
,
nil
return
0
,
nil
}
}
}
}
func
(
m
*
simulatedBackend
)
SuggestGasTipCap
(
ctx
context
.
Context
)
(
*
big
.
Int
,
error
)
{
return
nil
,
errors
.
New
(
"not implemented"
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment