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 (
"errors"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/rlp"
"github.com/harmony-one/harmony/shard"

@ -14,6 +14,7 @@
// 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/>.
//go:build VERIFY_EVM_INTEGER_POOL
// +build VERIFY_EVM_INTEGER_POOL
package vm

@ -14,6 +14,7 @@
// 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/>.
//go:build !VERIFY_EVM_INTEGER_POOL
// +build !VERIFY_EVM_INTEGER_POOL
package vm

@ -14,6 +14,7 @@
// 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/>.
//go:build gofuzz
// +build gofuzz
package runtime

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

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

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

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

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

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

Loading…
Cancel
Save