Skip to content

Commit cd9cd1a

Browse files
author
Alex | Interchain Labs
authored
clean (#303)
1 parent 76819ba commit cd9cd1a

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ linters:
6363
- legacy
6464
- std-error-handling
6565
rules:
66+
- linters:
67+
- revive
68+
text: avoid meaningless package names
6669
- linters:
6770
- gosec
6871
text: Use of weak random number generator

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ benchmark:
209209
### Linting ###
210210
###############################################################################
211211
golangci_lint_cmd=golangci-lint
212-
golangci_version=v2.1.6
212+
golangci_version=v2.2.2
213213

214214
lint: lint-go lint-python lint-contracts
215215

rpc/namespaces/ethereum/debug/trace.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

17-
//go:build go1.5
18-
// +build go1.5
19-
2017
package debug
2118

2219
import (

tests/integration/x/precisebank/test_send_integration.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,6 @@ func FuzzSendCoins(f *testing.F) {
866866
func blockedAddresses() map[string]bool {
867867
blockedAddrs := make(map[string]bool)
868868

869-
maps.Clone(maccPerms)
870869
maccPerms := getMaccPerms()
871870
accs := make([]string, 0, len(maccPerms))
872871
for acc := range maccPerms {

0 commit comments

Comments
 (0)