Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
koltsov-iv committed Oct 18, 2023
1 parent dbb3149 commit a0132fc
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/quality-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup GO environment
run: |
go mod vendor
go install -v github.com/incu6us/goimports-reviser/v3@latest
go install -v github.com/incu6us/goimports-reviser/v3.5.6
go install github.com/golangci/golangci-lint/cmd/[email protected]
- name: Format
Expand Down
4 changes: 3 additions & 1 deletion casper/currency.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package casper

import "github.com/shopspring/decimal"
import (
"github.com/shopspring/decimal"
)

var MotesToCSPRRate = decimal.NewFromInt(1000000000)

Expand Down
4 changes: 3 additions & 1 deletion types/clvalue/cltype/cltype.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package cltype

import "encoding/json"
import (
"encoding/json"
)

const Int32ByteSize = 4
const Int64ByteSize = 8
Expand Down
4 changes: 3 additions & 1 deletion types/clvalue/cltype/dynamic.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package cltype

import "encoding/json"
import (
"encoding/json"
)

type Dynamic struct {
TypeID TypeID
Expand Down
4 changes: 3 additions & 1 deletion types/entry_point.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package types

import "encoding/json"
import (
"encoding/json"
)

// EntryPointType defines whether the code runs in the contract's or the session context.
type EntryPointType string
Expand Down
4 changes: 3 additions & 1 deletion types/stored_value.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package types

import "encoding/json"
import (
"encoding/json"
)

// StoredValue is a wrapper class for different types of values stored in the global state.
type StoredValue struct {
Expand Down

0 comments on commit a0132fc

Please sign in to comment.