Skip to content

Commit d34c41f

Browse files
committed
ethclient: improve documentation comments
1 parent 4a3be17 commit d34c41f

File tree

15 files changed

+106
-83
lines changed

15 files changed

+106
-83
lines changed

accounts/abi/bind/v2/dep_tree_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ func TestContractLinking(t *testing.T) {
286286
},
287287
},
288288
// test two contracts can be deployed which don't share deps
289-
linkTestCaseInput{
289+
{
290290
map[rune][]rune{
291291
'a': {'b', 'c', 'd', 'e'},
292292
'f': {'g', 'h', 'i', 'j'}},
@@ -296,7 +296,7 @@ func TestContractLinking(t *testing.T) {
296296
},
297297
},
298298
// test two contracts can be deployed which share deps
299-
linkTestCaseInput{
299+
{
300300
map[rune][]rune{
301301
'a': {'b', 'c', 'd', 'e'},
302302
'f': {'g', 'c', 'd', 'h'}},
@@ -306,31 +306,31 @@ func TestContractLinking(t *testing.T) {
306306
},
307307
},
308308
// test one contract with overrides for all lib deps
309-
linkTestCaseInput{
309+
{
310310
map[rune][]rune{
311311
'a': {'b', 'c', 'd', 'e'}},
312312
map[rune]struct{}{'b': {}, 'c': {}, 'd': {}, 'e': {}},
313313
map[rune]struct{}{
314314
'a': {}},
315315
},
316316
// test one contract with overrides for some lib deps
317-
linkTestCaseInput{
317+
{
318318
map[rune][]rune{
319319
'a': {'b', 'c'}},
320320
map[rune]struct{}{'b': {}, 'c': {}},
321321
map[rune]struct{}{
322322
'a': {}},
323323
},
324324
// test deployment of a contract with overrides
325-
linkTestCaseInput{
325+
{
326326
map[rune][]rune{
327327
'a': {}},
328328
map[rune]struct{}{'a': {}},
329329
map[rune]struct{}{},
330330
},
331331
// two contracts ('a' and 'f') share some dependencies. contract 'a' is marked as an override. expect that any of
332332
// its depdencies that aren't shared with 'f' are not deployed.
333-
linkTestCaseInput{map[rune][]rune{
333+
{map[rune][]rune{
334334
'a': {'b', 'c', 'd', 'e'},
335335
'f': {'g', 'c', 'd', 'h'}},
336336
map[rune]struct{}{'a': {}},

accounts/usbwallet/trezor/messages-common.pb.go

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

accounts/usbwallet/trezor/messages-ethereum.pb.go

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

accounts/usbwallet/trezor/messages-management.pb.go

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

accounts/usbwallet/trezor/messages.pb.go

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/ci.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ func buildFlags(env build.Environment, staticLinking bool, buildTags []string) (
343343
}
344344
ld = append(ld, "-extldflags", "'"+strings.Join(extld, " ")+"'")
345345
}
346-
// TODO(gballet): revisit after the input api has been defined
346+
// TODO(gballet): revisit after the input api has been defined
347347
if runtime.GOARCH == "wasm" {
348348
ld = append(ld, "-gcflags=all=-d=softfloat")
349349
}

core/types/bal/bal_encoding_rlp_generated.go

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/types/gen_account_rlp.go

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/types/gen_header_rlp.go

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/types/gen_log_rlp.go

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)