From bc525e91b8382539ea482bc875cbb16b30038c9f Mon Sep 17 00:00:00 2001 From: Joshua Kim <20001595+joshua-kim@users.noreply.github.com> Date: Wed, 6 Sep 2023 13:27:15 -0400 Subject: [PATCH] rename chains to chain --- go.mod | 2 +- go.sum | 2 ++ plugin/evm/atomic_backend.go | 2 +- plugin/evm/atomic_state.go | 2 +- plugin/evm/atomic_trie.go | 2 +- plugin/evm/atomic_trie_iterator.go | 2 +- plugin/evm/atomic_trie_iterator_test.go | 2 +- plugin/evm/atomic_trie_test.go | 2 +- plugin/evm/atomic_tx_repository_test.go | 2 +- plugin/evm/export_tx.go | 2 +- plugin/evm/export_tx_test.go | 2 +- plugin/evm/import_tx.go | 2 +- plugin/evm/import_tx_test.go | 2 +- plugin/evm/syncervm_test.go | 2 +- plugin/evm/test_tx.go | 2 +- plugin/evm/tx.go | 2 +- plugin/evm/tx_test.go | 2 +- plugin/evm/vm_test.go | 2 +- 18 files changed, 19 insertions(+), 17 deletions(-) diff --git a/go.mod b/go.mod index ed7007a6f0..1c30cf5c94 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.19 require ( github.com/VictoriaMetrics/fastcache v1.10.0 - github.com/ava-labs/avalanchego v1.10.9-rc.4 + github.com/ava-labs/avalanchego v1.10.10-rc.1.0.20230907211756-2a35aaee9646 github.com/cespare/cp v0.1.0 github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811 github.com/davecgh/go-spew v1.1.1 diff --git a/go.sum b/go.sum index 651ec8cf22..c637fa186f 100644 --- a/go.sum +++ b/go.sum @@ -57,6 +57,8 @@ github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kd github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/ava-labs/avalanchego v1.10.9-rc.4 h1:vtavPfRiF6r1Zc6RV8/arEfVpe9GQsLWHbMfIWkHbMI= github.com/ava-labs/avalanchego v1.10.9-rc.4/go.mod h1:vTBLl1zK36olfLRA7IUfdbvphWqlkuarIoXxvZTHZVw= +github.com/ava-labs/avalanchego v1.10.10-rc.1.0.20230907211756-2a35aaee9646 h1:T4sYfAyURw6+IpZHcrYJey16dhyAWT23RabEDHS9Q4g= +github.com/ava-labs/avalanchego v1.10.10-rc.1.0.20230907211756-2a35aaee9646/go.mod h1:C8R5uiltpc8MQ62ixxgODR+15mesWF0aAw3H+Qrl9Iw= github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g= github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= diff --git a/plugin/evm/atomic_backend.go b/plugin/evm/atomic_backend.go index f3ea4b88f9..1354016fa0 100644 --- a/plugin/evm/atomic_backend.go +++ b/plugin/evm/atomic_backend.go @@ -8,7 +8,7 @@ import ( "fmt" "time" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/codec" "github.com/ava-labs/avalanchego/database" "github.com/ava-labs/avalanchego/database/prefixdb" diff --git a/plugin/evm/atomic_state.go b/plugin/evm/atomic_state.go index 0cb7d2fea7..623f9f7568 100644 --- a/plugin/evm/atomic_state.go +++ b/plugin/evm/atomic_state.go @@ -6,7 +6,7 @@ package evm import ( "fmt" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/database" "github.com/ava-labs/avalanchego/ids" "github.com/ethereum/go-ethereum/common" diff --git a/plugin/evm/atomic_trie.go b/plugin/evm/atomic_trie.go index a434f5ef40..a6416d5b1d 100644 --- a/plugin/evm/atomic_trie.go +++ b/plugin/evm/atomic_trie.go @@ -8,7 +8,7 @@ import ( "fmt" "time" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/codec" "github.com/ava-labs/avalanchego/database" "github.com/ava-labs/avalanchego/ids" diff --git a/plugin/evm/atomic_trie_iterator.go b/plugin/evm/atomic_trie_iterator.go index 394af477a3..3d25d5d716 100644 --- a/plugin/evm/atomic_trie_iterator.go +++ b/plugin/evm/atomic_trie_iterator.go @@ -7,7 +7,7 @@ import ( "encoding/binary" "fmt" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/codec" "github.com/ava-labs/avalanchego/ids" "github.com/ava-labs/avalanchego/utils/wrappers" diff --git a/plugin/evm/atomic_trie_iterator_test.go b/plugin/evm/atomic_trie_iterator_test.go index 494302c1bb..ce93cce5a0 100644 --- a/plugin/evm/atomic_trie_iterator_test.go +++ b/plugin/evm/atomic_trie_iterator_test.go @@ -6,7 +6,7 @@ package evm import ( "testing" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/database/memdb" "github.com/ava-labs/avalanchego/database/versiondb" "github.com/ava-labs/avalanchego/ids" diff --git a/plugin/evm/atomic_trie_test.go b/plugin/evm/atomic_trie_test.go index 609bb089f5..b6b14af06e 100644 --- a/plugin/evm/atomic_trie_test.go +++ b/plugin/evm/atomic_trie_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/database" "github.com/ava-labs/avalanchego/database/leveldb" "github.com/ava-labs/avalanchego/database/memdb" diff --git a/plugin/evm/atomic_tx_repository_test.go b/plugin/evm/atomic_tx_repository_test.go index b17b93d0ba..ec3197a7c5 100644 --- a/plugin/evm/atomic_tx_repository_test.go +++ b/plugin/evm/atomic_tx_repository_test.go @@ -10,7 +10,7 @@ import ( "golang.org/x/exp/slices" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/database" "github.com/ava-labs/avalanchego/database/prefixdb" "github.com/ava-labs/avalanchego/database/versiondb" diff --git a/plugin/evm/export_tx.go b/plugin/evm/export_tx.go index bf0a1b2af4..9110a0bc90 100644 --- a/plugin/evm/export_tx.go +++ b/plugin/evm/export_tx.go @@ -12,7 +12,7 @@ import ( "github.com/ava-labs/coreth/core/state" "github.com/ava-labs/coreth/params" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/ids" "github.com/ava-labs/avalanchego/snow" "github.com/ava-labs/avalanchego/utils" diff --git a/plugin/evm/export_tx_test.go b/plugin/evm/export_tx_test.go index 319831c7d7..697dc406ac 100644 --- a/plugin/evm/export_tx_test.go +++ b/plugin/evm/export_tx_test.go @@ -9,7 +9,7 @@ import ( "math/big" "testing" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/ids" engCommon "github.com/ava-labs/avalanchego/snow/engine/common" "github.com/ava-labs/avalanchego/utils/constants" diff --git a/plugin/evm/import_tx.go b/plugin/evm/import_tx.go index 8b034182c4..67e90a6155 100644 --- a/plugin/evm/import_tx.go +++ b/plugin/evm/import_tx.go @@ -14,7 +14,7 @@ import ( "github.com/ava-labs/coreth/core/state" "github.com/ava-labs/coreth/params" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/ids" "github.com/ava-labs/avalanchego/snow" "github.com/ava-labs/avalanchego/utils" diff --git a/plugin/evm/import_tx_test.go b/plugin/evm/import_tx_test.go index ddcde4a879..936b4cb10c 100644 --- a/plugin/evm/import_tx_test.go +++ b/plugin/evm/import_tx_test.go @@ -10,7 +10,7 @@ import ( "github.com/ava-labs/coreth/params" "github.com/ethereum/go-ethereum/common" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/ids" "github.com/ava-labs/avalanchego/utils" "github.com/ava-labs/avalanchego/utils/constants" diff --git a/plugin/evm/syncervm_test.go b/plugin/evm/syncervm_test.go index 5af91a5474..2f1094e7b5 100644 --- a/plugin/evm/syncervm_test.go +++ b/plugin/evm/syncervm_test.go @@ -15,7 +15,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/database/manager" "github.com/ava-labs/avalanchego/ids" "github.com/ava-labs/avalanchego/snow" diff --git a/plugin/evm/test_tx.go b/plugin/evm/test_tx.go index c057c874ad..f76e68ebf3 100644 --- a/plugin/evm/test_tx.go +++ b/plugin/evm/test_tx.go @@ -9,7 +9,7 @@ import ( "github.com/ava-labs/avalanchego/utils" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/codec" "github.com/ava-labs/avalanchego/codec/linearcodec" "github.com/ava-labs/avalanchego/ids" diff --git a/plugin/evm/tx.go b/plugin/evm/tx.go index 1f0ba6112b..3d2b52e7d9 100644 --- a/plugin/evm/tx.go +++ b/plugin/evm/tx.go @@ -17,7 +17,7 @@ import ( "github.com/ava-labs/coreth/core/state" "github.com/ava-labs/coreth/params" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/codec" "github.com/ava-labs/avalanchego/ids" "github.com/ava-labs/avalanchego/snow" diff --git a/plugin/evm/tx_test.go b/plugin/evm/tx_test.go index 3438f16296..f55e65c165 100644 --- a/plugin/evm/tx_test.go +++ b/plugin/evm/tx_test.go @@ -15,7 +15,7 @@ import ( "github.com/ava-labs/coreth/params" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/ids" "github.com/ava-labs/avalanchego/snow" ) diff --git a/plugin/evm/vm_test.go b/plugin/evm/vm_test.go index bd3792df26..c461bf5d24 100644 --- a/plugin/evm/vm_test.go +++ b/plugin/evm/vm_test.go @@ -35,7 +35,7 @@ import ( "github.com/stretchr/testify/require" "github.com/ava-labs/avalanchego/api/keystore" - "github.com/ava-labs/avalanchego/chains/atomic" + "github.com/ava-labs/avalanchego/chain/atomic" "github.com/ava-labs/avalanchego/database/manager" "github.com/ava-labs/avalanchego/database/prefixdb" "github.com/ava-labs/avalanchego/ids"