Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,5 @@ also included in our repository in the `COPYING.LESSER` file.
The go-ethereum binaries (i.e. all code inside of the `cmd` directory) are licensed under the
[GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html), also
included in our repository in the `COPYING` file.

Small documentation improvement for contribution testing.
5 changes: 3 additions & 2 deletions accounts/usbwallet/trezor/messages-common.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions accounts/usbwallet/trezor/messages-ethereum.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions accounts/usbwallet/trezor/messages-management.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions accounts/usbwallet/trezor/messages.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func buildFlags(env build.Environment, staticLinking bool, buildTags []string) (
}
ld = append(ld, "-extldflags", "'"+strings.Join(extld, " ")+"'")
}
// TODO(gballet): revisit after the input api has been defined
// TODO(gballet): revisit after the input api has been defined
if runtime.GOARCH == "wasm" {
ld = append(ld, "-gcflags=all=-d=softfloat")
}
Expand Down
7 changes: 5 additions & 2 deletions core/types/bal/bal_encoding_rlp_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions core/types/gen_account_rlp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions core/types/gen_header_rlp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions core/types/gen_log_rlp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions core/types/gen_withdrawal_rlp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions ethclient/ethclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ type Client struct {
c *rpc.Client
}

// Dial connects a client to the given URL.
// Dial creates a new RPC client and connects to the given URL endpoint.
func Dial(rawurl string) (*Client, error) {
return DialContext(context.Background(), rawurl)
}

// DialContext connects a client to the given URL with context.
// DialContext creates a new RPC client using the provided context
// and connects it to the specified URL endpoint.
func DialContext(ctx context.Context, rawurl string) (*Client, error) {
c, err := rpc.DialContext(ctx, rawurl)
if err != nil {
Expand All @@ -51,17 +52,17 @@ func DialContext(ctx context.Context, rawurl string) (*Client, error) {
return NewClient(c), nil
}

// NewClient creates a client that uses the given RPC client.
// NewClient creates a Client instance that wraps the provided RPC client.
func NewClient(c *rpc.Client) *Client {
return &Client{c}
}

// Close closes the underlying RPC connection.
// Close terminates the underlying RPC connection.
func (ec *Client) Close() {
ec.c.Close()
}

// Client gets the underlying RPC client.
// Client returns the underlying RPC client instance.
func (ec *Client) Client() *rpc.Client {
return ec.c
}
Expand Down