Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sukantoraymond committed May 28, 2024
1 parent c84d573 commit 1294702
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 5 additions & 4 deletions subnet/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@
package subnet

import (

Check failure on line 6 in subnet/subnet.go

View workflow job for this annotation

GitHub Actions / Lint

File is not `gofumpt`-ed (gofumpt)
"avalanche-tooling-sdk-go/avalanche"
"avalanche-tooling-sdk-go/key"
"avalanche-tooling-sdk-go/teleporter"
"avalanche-tooling-sdk-go/vm"
"bytes"
"encoding/json"
"errors"
"fmt"
"math/big"
"time"

Check failure on line 13 in subnet/subnet.go

View workflow job for this annotation

GitHub Actions / Lint

File is not `gofumpt`-ed (gofumpt)
"avalanche-tooling-sdk-go/avalanche"
"avalanche-tooling-sdk-go/key"
"avalanche-tooling-sdk-go/teleporter"
"avalanche-tooling-sdk-go/vm"

"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/coreth/utils"
"github.com/ava-labs/subnet-evm/commontype"
Expand Down
6 changes: 4 additions & 2 deletions subnet/subnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
package subnet

import (

Check failure on line 6 in subnet/subnet_test.go

View workflow job for this annotation

GitHub Actions / Lint

File is not `gofumpt`-ed (gofumpt)
"avalanche-tooling-sdk-go/avalanche"
"context"
"fmt"
"testing"

Check failure on line 10 in subnet/subnet_test.go

View workflow job for this annotation

GitHub Actions / Lint

File is not `gofumpt`-ed (gofumpt)
"avalanche-tooling-sdk-go/avalanche"

"github.com/ava-labs/avalanchego/vms/secp256k1fx"
"github.com/ava-labs/avalanchego/wallet/subnet/primary"
"testing"
)

func TestSubnetDeploy(t *testing.T) {

Check warning on line 17 in subnet/subnet_test.go

View workflow job for this annotation

GitHub Actions / Lint

unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
Expand Down

0 comments on commit 1294702

Please sign in to comment.