fix goimports

pull/4065/head
lutty 3 years ago
parent 4da2a80a30
commit 219b703714
  1. 1
      core/vm/contracts_write.go
  2. 1
      core/vm/int_pool_verifier.go
  3. 1
      core/vm/int_pool_verifier_empty.go
  4. 1
      core/vm/runtime/fuzz.go
  5. 3
      hmy/tracers/rosetta_block_tracer.go
  6. 3
      rosetta/services/account.go
  7. 3
      rosetta/services/block.go
  8. 3
      rosetta/services/tx_format.go
  9. 3
      rosetta/services/tx_operation.go
  10. 3
      rosetta/services/tx_operation_test.go

@ -2,6 +2,7 @@ package vm
import ( import (
"errors" "errors"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/rlp" "github.com/ethereum/go-ethereum/rlp"
"github.com/harmony-one/harmony/shard" "github.com/harmony-one/harmony/shard"

@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
//go:build VERIFY_EVM_INTEGER_POOL
// +build VERIFY_EVM_INTEGER_POOL // +build VERIFY_EVM_INTEGER_POOL
package vm package vm

@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
//go:build !VERIFY_EVM_INTEGER_POOL
// +build !VERIFY_EVM_INTEGER_POOL // +build !VERIFY_EVM_INTEGER_POOL
package vm package vm

@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
//go:build gofuzz
// +build gofuzz // +build gofuzz
package runtime package runtime

@ -17,8 +17,9 @@
package tracers package tracers
import ( import (
"github.com/harmony-one/harmony/core/vm"
"math/big" "math/big"
"github.com/harmony-one/harmony/core/vm"
) )
type RosettaLogItem struct { type RosettaLogItem struct {

@ -3,9 +3,10 @@ package services
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/harmony-one/harmony/core/vm"
"math/big" "math/big"
"github.com/harmony-one/harmony/core/vm"
"github.com/coinbase/rosetta-sdk-go/server" "github.com/coinbase/rosetta-sdk-go/server"
"github.com/coinbase/rosetta-sdk-go/types" "github.com/coinbase/rosetta-sdk-go/types"
ethCommon "github.com/ethereum/go-ethereum/common" ethCommon "github.com/ethereum/go-ethereum/common"

@ -3,11 +3,12 @@ package services
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/harmony-one/harmony/hmy/tracers"
"math/big" "math/big"
"sync" "sync"
"time" "time"
"github.com/harmony-one/harmony/hmy/tracers"
"github.com/harmony-one/harmony/core" "github.com/harmony-one/harmony/core"
"github.com/harmony-one/harmony/core/state" "github.com/harmony-one/harmony/core/state"
coreTypes "github.com/harmony-one/harmony/core/types" coreTypes "github.com/harmony-one/harmony/core/types"

@ -3,9 +3,10 @@ package services
import ( import (
"encoding/hex" "encoding/hex"
"fmt" "fmt"
"github.com/harmony-one/harmony/hmy/tracers"
"math/big" "math/big"
"github.com/harmony-one/harmony/hmy/tracers"
"github.com/coinbase/rosetta-sdk-go/types" "github.com/coinbase/rosetta-sdk-go/types"
ethcommon "github.com/ethereum/go-ethereum/common" ethcommon "github.com/ethereum/go-ethereum/common"

@ -1,9 +1,10 @@
package services package services
import ( import (
"github.com/harmony-one/harmony/hmy/tracers"
"math/big" "math/big"
"github.com/harmony-one/harmony/hmy/tracers"
"github.com/harmony-one/harmony/internal/bech32" "github.com/harmony-one/harmony/internal/bech32"
internalCommon "github.com/harmony-one/harmony/internal/common" internalCommon "github.com/harmony-one/harmony/internal/common"

@ -3,11 +3,12 @@ package services
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/harmony-one/harmony/hmy/tracers"
"math/big" "math/big"
"reflect" "reflect"
"testing" "testing"
"github.com/harmony-one/harmony/hmy/tracers"
"github.com/coinbase/rosetta-sdk-go/types" "github.com/coinbase/rosetta-sdk-go/types"
ethcommon "github.com/ethereum/go-ethereum/common" ethcommon "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"

Loading…
Cancel
Save