go-ethereum/contracts
Daniel Liu fbecb8c5a5 all: fix staticcheck warning ST1006: don't use generic name self
The name of a method’s receiver should be a reflection of its identity;
often a one or two letter abbreviation of its type suffices (such as
“c” or “cl” for “Client”). Don’t use generic names such as “me”, “this”
or “self”, identifiers typical of object-oriented languages that place
more emphasis on methods as opposed to functions. The name need not be
as descriptive as that of a method argument, as its role is obvious and
serves no documentary purpose. It can be very short as it will appear
on almost every line of every method of the type; familiarity admits
brevity. Be consistent, too: if you call the receiver “c” in one method,
don’t call it “cl” in another.
2024-10-25 21:30:54 +08:00
..
blocksigner Add 1 test for adaptor to switch from v1 to v2 2021-10-17 11:20:57 +11:00
ens all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
multisigwallet new EVM Upgrade 2021-09-21 16:53:46 +05:30
randomize Add 1 test for adaptor to switch from v1 to v2 2021-10-17 11:20:57 +11:00
solidity_0.6 new EVM Upgrade 2021-09-21 16:53:46 +05:30
tests new EVM Upgrade 2021-09-21 16:53:46 +05:30
trc21issuer internal/ethapi, contracts/trc21issuer: fix staticcheck warning SA1012: pass nil Context 2024-10-25 18:29:08 +08:00
validator common: add binary variables for system contract 2024-06-06 19:33:59 +08:00
XDCx new EVM Upgrade 2021-09-21 16:53:46 +05:30
utils.go contracts: log Signer reward from Info to Debug 2024-08-21 15:16:38 +08:00
utils_test.go Add 1 test for adaptor to switch from v1 to v2 2021-10-17 11:20:57 +11:00