diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..e2278a6c3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +docs/** linguist-vendored \ No newline at end of file diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml new file mode 100644 index 000000000..072973e8e --- /dev/null +++ b/.github/workflows/pr-lint.yml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: BUSL-1.1 +# +# Copyright (C) 2023, Berachain Foundation. All rights reserved. +# Use of this software is govered by the Business Source License included +# in the LICENSE file of this repository and at www.mariadb.com/bsl11. +# +# ANY USE OF THE LICENSED WORK IN VIOLATION OF THIS LICENSE WILL AUTOMATICALLY +# TERMINATE YOUR RIGHTS UNDER THIS LICENSE FOR THE CURRENT AND ALL OTHER +# VERSIONS OF THE LICENSED WORK. +# +# THIS LICENSE DOES NOT GRANT YOU ANY RIGHT IN ANY TRADEMARK OR LOGO OF +# LICENSOR OR ITS AFFILIATES (PROVIDED THAT YOU MAY USE A TRADEMARK OR LOGO OF +# LICENSOR AS EXPRESSLY REQUIRED BY THIS LICENSE). +# +# TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON +# AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, +# EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND +# TITLE. + +name: "lint pull request" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +permissions: + contents: read + +jobs: + main: + permissions: + pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs + statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5.1.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitmodules b/.gitmodules index 7cb04670d..9dee120ab 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,8 +1,3 @@ -[submodule "precompile/contracts/lib/forge-std"] - path = precompile/contracts/lib/forge-std - url = https://github.com/foundry-rs/forge-std -[submodule "lib/forge-std"] - branch = v1.5.0 [submodule "precompile/contracts/solidity/lib/forge-std"] path = precompile/contracts/solidity/lib/forge-std url = https://github.com/foundry-rs/forge-std diff --git a/README.md b/README.md index edb6013b3..18ab10af2 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ - - Go Reference + + Go Reference Built with Mage diff --git a/api/stargazer/crypto/ethsecp256k1/v1/keys.pulsar.go b/api/polaris/crypto/ethsecp256k1/v1/keys.pulsar.go similarity index 79% rename from api/stargazer/crypto/ethsecp256k1/v1/keys.pulsar.go rename to api/polaris/crypto/ethsecp256k1/v1/keys.pulsar.go index e36930861..8dc63e61b 100644 --- a/api/stargazer/crypto/ethsecp256k1/v1/keys.pulsar.go +++ b/api/polaris/crypto/ethsecp256k1/v1/keys.pulsar.go @@ -18,8 +18,8 @@ var ( ) func init() { - file_stargazer_crypto_ethsecp256k1_v1_keys_proto_init() - md_PubKey = File_stargazer_crypto_ethsecp256k1_v1_keys_proto.Messages().ByName("PubKey") + file_polaris_crypto_ethsecp256k1_v1_keys_proto_init() + md_PubKey = File_polaris_crypto_ethsecp256k1_v1_keys_proto.Messages().ByName("PubKey") fd_PubKey_key = md_PubKey.Fields().ByName("key") } @@ -32,7 +32,7 @@ func (x *PubKey) ProtoReflect() protoreflect.Message { } func (x *PubKey) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_crypto_ethsecp256k1_v1_keys_proto_msgTypes[0] + mi := &file_polaris_crypto_ethsecp256k1_v1_keys_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -109,13 +109,13 @@ func (x *fastReflection_PubKey) Range(f func(protoreflect.FieldDescriptor, proto // a repeated field is populated if it is non-empty. func (x *fastReflection_PubKey) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PubKey.key": + case "polaris.crypto.ethsecp256k1.v1.PubKey.key": return len(x.Key) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PubKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PubKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PubKey does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PubKey does not contain field %s", fd.FullName())) } } @@ -127,13 +127,13 @@ func (x *fastReflection_PubKey) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_PubKey) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PubKey.key": + case "polaris.crypto.ethsecp256k1.v1.PubKey.key": x.Key = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PubKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PubKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PubKey does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PubKey does not contain field %s", fd.FullName())) } } @@ -145,14 +145,14 @@ func (x *fastReflection_PubKey) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_PubKey) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PubKey.key": + case "polaris.crypto.ethsecp256k1.v1.PubKey.key": value := x.Key return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PubKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PubKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PubKey does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PubKey does not contain field %s", descriptor.FullName())) } } @@ -168,13 +168,13 @@ func (x *fastReflection_PubKey) Get(descriptor protoreflect.FieldDescriptor) pro // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_PubKey) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PubKey.key": + case "polaris.crypto.ethsecp256k1.v1.PubKey.key": x.Key = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PubKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PubKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PubKey does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PubKey does not contain field %s", fd.FullName())) } } @@ -190,13 +190,13 @@ func (x *fastReflection_PubKey) Set(fd protoreflect.FieldDescriptor, value proto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_PubKey) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PubKey.key": - panic(fmt.Errorf("field key of message stargazer.crypto.ethsecp256k1.v1.PubKey is not mutable")) + case "polaris.crypto.ethsecp256k1.v1.PubKey.key": + panic(fmt.Errorf("field key of message polaris.crypto.ethsecp256k1.v1.PubKey is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PubKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PubKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PubKey does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PubKey does not contain field %s", fd.FullName())) } } @@ -205,13 +205,13 @@ func (x *fastReflection_PubKey) Mutable(fd protoreflect.FieldDescriptor) protore // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_PubKey) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PubKey.key": + case "polaris.crypto.ethsecp256k1.v1.PubKey.key": return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PubKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PubKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PubKey does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PubKey does not contain field %s", fd.FullName())) } } @@ -221,7 +221,7 @@ func (x *fastReflection_PubKey) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_PubKey) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.crypto.ethsecp256k1.v1.PubKey", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.crypto.ethsecp256k1.v1.PubKey", d.FullName())) } panic("unreachable") } @@ -440,8 +440,8 @@ var ( ) func init() { - file_stargazer_crypto_ethsecp256k1_v1_keys_proto_init() - md_PrivKey = File_stargazer_crypto_ethsecp256k1_v1_keys_proto.Messages().ByName("PrivKey") + file_polaris_crypto_ethsecp256k1_v1_keys_proto_init() + md_PrivKey = File_polaris_crypto_ethsecp256k1_v1_keys_proto.Messages().ByName("PrivKey") fd_PrivKey_key = md_PrivKey.Fields().ByName("key") } @@ -454,7 +454,7 @@ func (x *PrivKey) ProtoReflect() protoreflect.Message { } func (x *PrivKey) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_crypto_ethsecp256k1_v1_keys_proto_msgTypes[1] + mi := &file_polaris_crypto_ethsecp256k1_v1_keys_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -531,13 +531,13 @@ func (x *fastReflection_PrivKey) Range(f func(protoreflect.FieldDescriptor, prot // a repeated field is populated if it is non-empty. func (x *fastReflection_PrivKey) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PrivKey.key": + case "polaris.crypto.ethsecp256k1.v1.PrivKey.key": return len(x.Key) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PrivKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PrivKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", fd.FullName())) } } @@ -549,13 +549,13 @@ func (x *fastReflection_PrivKey) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_PrivKey) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PrivKey.key": + case "polaris.crypto.ethsecp256k1.v1.PrivKey.key": x.Key = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PrivKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PrivKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", fd.FullName())) } } @@ -567,14 +567,14 @@ func (x *fastReflection_PrivKey) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_PrivKey) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PrivKey.key": + case "polaris.crypto.ethsecp256k1.v1.PrivKey.key": value := x.Key return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PrivKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PrivKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", descriptor.FullName())) } } @@ -590,13 +590,13 @@ func (x *fastReflection_PrivKey) Get(descriptor protoreflect.FieldDescriptor) pr // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_PrivKey) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PrivKey.key": + case "polaris.crypto.ethsecp256k1.v1.PrivKey.key": x.Key = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PrivKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PrivKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", fd.FullName())) } } @@ -612,13 +612,13 @@ func (x *fastReflection_PrivKey) Set(fd protoreflect.FieldDescriptor, value prot // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_PrivKey) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PrivKey.key": - panic(fmt.Errorf("field key of message stargazer.crypto.ethsecp256k1.v1.PrivKey is not mutable")) + case "polaris.crypto.ethsecp256k1.v1.PrivKey.key": + panic(fmt.Errorf("field key of message polaris.crypto.ethsecp256k1.v1.PrivKey is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PrivKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PrivKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", fd.FullName())) } } @@ -627,13 +627,13 @@ func (x *fastReflection_PrivKey) Mutable(fd protoreflect.FieldDescriptor) protor // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_PrivKey) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.crypto.ethsecp256k1.v1.PrivKey.key": + case "polaris.crypto.ethsecp256k1.v1.PrivKey.key": return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.crypto.ethsecp256k1.v1.PrivKey")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.crypto.ethsecp256k1.v1.PrivKey")) } - panic(fmt.Errorf("message stargazer.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.crypto.ethsecp256k1.v1.PrivKey does not contain field %s", fd.FullName())) } } @@ -643,7 +643,7 @@ func (x *fastReflection_PrivKey) NewField(fd protoreflect.FieldDescriptor) proto func (x *fastReflection_PrivKey) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.crypto.ethsecp256k1.v1.PrivKey", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.crypto.ethsecp256k1.v1.PrivKey", d.FullName())) } panic("unreachable") } @@ -880,7 +880,7 @@ func (x *fastReflection_PrivKey) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: stargazer/crypto/ethsecp256k1/v1/keys.proto +// source: polaris/crypto/ethsecp256k1/v1/keys.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -904,7 +904,7 @@ type PubKey struct { func (x *PubKey) Reset() { *x = PubKey{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_crypto_ethsecp256k1_v1_keys_proto_msgTypes[0] + mi := &file_polaris_crypto_ethsecp256k1_v1_keys_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -918,7 +918,7 @@ func (*PubKey) ProtoMessage() {} // Deprecated: Use PubKey.ProtoReflect.Descriptor instead. func (*PubKey) Descriptor() ([]byte, []int) { - return file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDescGZIP(), []int{0} + return file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDescGZIP(), []int{0} } func (x *PubKey) GetKey() []byte { @@ -942,7 +942,7 @@ type PrivKey struct { func (x *PrivKey) Reset() { *x = PrivKey{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_crypto_ethsecp256k1_v1_keys_proto_msgTypes[1] + mi := &file_polaris_crypto_ethsecp256k1_v1_keys_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -956,7 +956,7 @@ func (*PrivKey) ProtoMessage() {} // Deprecated: Use PrivKey.ProtoReflect.Descriptor instead. func (*PrivKey) Descriptor() ([]byte, []int) { - return file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDescGZIP(), []int{1} + return file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDescGZIP(), []int{1} } func (x *PrivKey) GetKey() []byte { @@ -966,56 +966,55 @@ func (x *PrivKey) GetKey() []byte { return nil } -var File_stargazer_crypto_ethsecp256k1_v1_keys_proto protoreflect.FileDescriptor - -var file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDesc = []byte{ - 0x0a, 0x2b, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x2f, - 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x73, - 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, - 0x65, 0x74, 0x68, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x2e, 0x76, 0x31, 0x22, - 0x1a, 0x0a, 0x06, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x1b, 0x0a, 0x07, 0x50, - 0x72, 0x69, 0x76, 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x42, 0x96, 0x02, 0x0a, 0x24, 0x63, 0x6f, 0x6d, - 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x6f, 0x2e, 0x65, 0x74, 0x68, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x2e, 0x76, - 0x31, 0x42, 0x09, 0x4b, 0x65, 0x79, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x2f, 0x76, - 0x31, 0x3b, 0x65, 0x74, 0x68, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x76, 0x31, - 0xa2, 0x02, 0x03, 0x53, 0x43, 0x45, 0xaa, 0x02, 0x20, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, - 0x65, 0x72, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x45, 0x74, 0x68, 0x73, 0x65, 0x63, - 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x53, 0x74, 0x61, 0x72, - 0x67, 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5c, 0x45, 0x74, 0x68, - 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2c, 0x53, - 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5c, - 0x45, 0x74, 0x68, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x5c, 0x56, 0x31, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x23, 0x53, 0x74, - 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x3a, 0x3a, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x3a, +var File_polaris_crypto_ethsecp256k1_v1_keys_proto protoreflect.FileDescriptor + +var file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, + 0x2f, 0x65, 0x74, 0x68, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x2f, 0x76, 0x31, + 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x70, 0x6f, 0x6c, + 0x61, 0x72, 0x69, 0x73, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x65, 0x74, 0x68, 0x73, + 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x2e, 0x76, 0x31, 0x22, 0x1a, 0x0a, 0x06, 0x50, + 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x1b, 0x0a, 0x07, 0x50, 0x72, 0x69, 0x76, 0x4b, + 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x42, 0x8a, 0x02, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6c, + 0x61, 0x72, 0x69, 0x73, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x65, 0x74, 0x68, 0x73, + 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x4b, 0x65, 0x79, + 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, + 0x69, 0x73, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x73, 0x65, 0x63, + 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x2f, 0x76, 0x31, 0x3b, 0x65, 0x74, 0x68, 0x73, 0x65, 0x63, + 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x43, 0x45, 0xaa, 0x02, + 0x1e, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, + 0x45, 0x74, 0x68, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x1e, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x5c, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, + 0x5c, 0x45, 0x74, 0x68, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x5c, 0x56, 0x31, + 0xe2, 0x02, 0x2a, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x5c, 0x43, 0x72, 0x79, 0x70, 0x74, + 0x6f, 0x5c, 0x45, 0x74, 0x68, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x5c, 0x56, + 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, + 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x3a, 0x3a, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x3a, 0x3a, 0x45, 0x74, 0x68, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDescOnce sync.Once - file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDescData = file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDesc + file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDescOnce sync.Once + file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDescData = file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDesc ) -func file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDescGZIP() []byte { - file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDescOnce.Do(func() { - file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDescData = protoimpl.X.CompressGZIP(file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDescData) +func file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDescGZIP() []byte { + file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDescOnce.Do(func() { + file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDescData = protoimpl.X.CompressGZIP(file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDescData) }) - return file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDescData + return file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDescData } -var file_stargazer_crypto_ethsecp256k1_v1_keys_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_stargazer_crypto_ethsecp256k1_v1_keys_proto_goTypes = []interface{}{ - (*PubKey)(nil), // 0: stargazer.crypto.ethsecp256k1.v1.PubKey - (*PrivKey)(nil), // 1: stargazer.crypto.ethsecp256k1.v1.PrivKey +var file_polaris_crypto_ethsecp256k1_v1_keys_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_polaris_crypto_ethsecp256k1_v1_keys_proto_goTypes = []interface{}{ + (*PubKey)(nil), // 0: polaris.crypto.ethsecp256k1.v1.PubKey + (*PrivKey)(nil), // 1: polaris.crypto.ethsecp256k1.v1.PrivKey } -var file_stargazer_crypto_ethsecp256k1_v1_keys_proto_depIdxs = []int32{ +var file_polaris_crypto_ethsecp256k1_v1_keys_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -1023,13 +1022,13 @@ var file_stargazer_crypto_ethsecp256k1_v1_keys_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_stargazer_crypto_ethsecp256k1_v1_keys_proto_init() } -func file_stargazer_crypto_ethsecp256k1_v1_keys_proto_init() { - if File_stargazer_crypto_ethsecp256k1_v1_keys_proto != nil { +func init() { file_polaris_crypto_ethsecp256k1_v1_keys_proto_init() } +func file_polaris_crypto_ethsecp256k1_v1_keys_proto_init() { + if File_polaris_crypto_ethsecp256k1_v1_keys_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_stargazer_crypto_ethsecp256k1_v1_keys_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_polaris_crypto_ethsecp256k1_v1_keys_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PubKey); i { case 0: return &v.state @@ -1041,7 +1040,7 @@ func file_stargazer_crypto_ethsecp256k1_v1_keys_proto_init() { return nil } } - file_stargazer_crypto_ethsecp256k1_v1_keys_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_polaris_crypto_ethsecp256k1_v1_keys_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PrivKey); i { case 0: return &v.state @@ -1058,18 +1057,18 @@ func file_stargazer_crypto_ethsecp256k1_v1_keys_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDesc, + RawDescriptor: file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_stargazer_crypto_ethsecp256k1_v1_keys_proto_goTypes, - DependencyIndexes: file_stargazer_crypto_ethsecp256k1_v1_keys_proto_depIdxs, - MessageInfos: file_stargazer_crypto_ethsecp256k1_v1_keys_proto_msgTypes, + GoTypes: file_polaris_crypto_ethsecp256k1_v1_keys_proto_goTypes, + DependencyIndexes: file_polaris_crypto_ethsecp256k1_v1_keys_proto_depIdxs, + MessageInfos: file_polaris_crypto_ethsecp256k1_v1_keys_proto_msgTypes, }.Build() - File_stargazer_crypto_ethsecp256k1_v1_keys_proto = out.File - file_stargazer_crypto_ethsecp256k1_v1_keys_proto_rawDesc = nil - file_stargazer_crypto_ethsecp256k1_v1_keys_proto_goTypes = nil - file_stargazer_crypto_ethsecp256k1_v1_keys_proto_depIdxs = nil + File_polaris_crypto_ethsecp256k1_v1_keys_proto = out.File + file_polaris_crypto_ethsecp256k1_v1_keys_proto_rawDesc = nil + file_polaris_crypto_ethsecp256k1_v1_keys_proto_goTypes = nil + file_polaris_crypto_ethsecp256k1_v1_keys_proto_depIdxs = nil } diff --git a/api/stargazer/evm/module/v1/module.pulsar.go b/api/polaris/evm/module/v1alpha1/module.pulsar.go similarity index 72% rename from api/stargazer/evm/module/v1/module.pulsar.go rename to api/polaris/evm/module/v1alpha1/module.pulsar.go index f387a4ba9..8dcd32c05 100644 --- a/api/stargazer/evm/module/v1/module.pulsar.go +++ b/api/polaris/evm/module/v1alpha1/module.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package modulev1 +package modulev1alpha1 import ( _ "cosmossdk.io/api/cosmos/app/v1alpha1" @@ -19,8 +19,8 @@ var ( ) func init() { - file_stargazer_evm_module_v1_module_proto_init() - md_Module = File_stargazer_evm_module_v1_module_proto.Messages().ByName("Module") + file_polaris_evm_module_v1alpha1_module_proto_init() + md_Module = File_polaris_evm_module_v1alpha1_module_proto.Messages().ByName("Module") fd_Module_authority = md_Module.Fields().ByName("authority") } @@ -33,7 +33,7 @@ func (x *Module) ProtoReflect() protoreflect.Message { } func (x *Module) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_evm_module_v1_module_proto_msgTypes[0] + mi := &file_polaris_evm_module_v1alpha1_module_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -110,13 +110,13 @@ func (x *fastReflection_Module) Range(f func(protoreflect.FieldDescriptor, proto // a repeated field is populated if it is non-empty. func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "stargazer.evm.module.v1.Module.authority": + case "polaris.evm.module.v1alpha1.Module.authority": return x.Authority != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.module.v1alpha1.Module")) } - panic(fmt.Errorf("message stargazer.evm.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.module.v1alpha1.Module does not contain field %s", fd.FullName())) } } @@ -128,13 +128,13 @@ func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "stargazer.evm.module.v1.Module.authority": + case "polaris.evm.module.v1alpha1.Module.authority": x.Authority = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.module.v1alpha1.Module")) } - panic(fmt.Errorf("message stargazer.evm.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.module.v1alpha1.Module does not contain field %s", fd.FullName())) } } @@ -146,14 +146,14 @@ func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "stargazer.evm.module.v1.Module.authority": + case "polaris.evm.module.v1alpha1.Module.authority": value := x.Authority return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.module.v1alpha1.Module")) } - panic(fmt.Errorf("message stargazer.evm.module.v1.Module does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.evm.module.v1alpha1.Module does not contain field %s", descriptor.FullName())) } } @@ -169,13 +169,13 @@ func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) pro // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "stargazer.evm.module.v1.Module.authority": + case "polaris.evm.module.v1alpha1.Module.authority": x.Authority = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.module.v1alpha1.Module")) } - panic(fmt.Errorf("message stargazer.evm.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.module.v1alpha1.Module does not contain field %s", fd.FullName())) } } @@ -191,13 +191,13 @@ func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value proto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Module) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.module.v1.Module.authority": - panic(fmt.Errorf("field authority of message stargazer.evm.module.v1.Module is not mutable")) + case "polaris.evm.module.v1alpha1.Module.authority": + panic(fmt.Errorf("field authority of message polaris.evm.module.v1alpha1.Module is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.module.v1alpha1.Module")) } - panic(fmt.Errorf("message stargazer.evm.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.module.v1alpha1.Module does not contain field %s", fd.FullName())) } } @@ -206,13 +206,13 @@ func (x *fastReflection_Module) Mutable(fd protoreflect.FieldDescriptor) protore // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.module.v1.Module.authority": + case "polaris.evm.module.v1alpha1.Module.authority": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.module.v1alpha1.Module")) } - panic(fmt.Errorf("message stargazer.evm.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.module.v1alpha1.Module does not contain field %s", fd.FullName())) } } @@ -222,7 +222,7 @@ func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_Module) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.evm.module.v1.Module", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.evm.module.v1alpha1.Module", d.FullName())) } panic("unreachable") } @@ -457,7 +457,7 @@ func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: stargazer/evm/module/v1/module.proto +// source: polaris/evm/module/v1alpha1/module.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -479,7 +479,7 @@ type Module struct { func (x *Module) Reset() { *x = Module{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_evm_module_v1_module_proto_msgTypes[0] + mi := &file_polaris_evm_module_v1alpha1_module_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -493,7 +493,7 @@ func (*Module) ProtoMessage() {} // Deprecated: Use Module.ProtoReflect.Descriptor instead. func (*Module) Descriptor() ([]byte, []int) { - return file_stargazer_evm_module_v1_module_proto_rawDescGZIP(), []int{0} + return file_polaris_evm_module_v1alpha1_module_proto_rawDescGZIP(), []int{0} } func (x *Module) GetAuthority() string { @@ -503,54 +503,56 @@ func (x *Module) GetAuthority() string { return "" } -var File_stargazer_evm_module_v1_module_proto protoreflect.FileDescriptor - -var file_stargazer_evm_module_v1_module_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x65, 0x76, 0x6d, 0x2f, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, - 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, - 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x51, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x29, 0xba, 0xc0, 0x96, 0xda, 0x01, - 0x23, 0x0a, 0x21, 0x70, 0x6b, 0x67, 0x2e, 0x62, 0x65, 0x72, 0x61, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2e, 0x64, 0x65, 0x76, 0x2f, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x78, - 0x2f, 0x65, 0x76, 0x6d, 0x42, 0xdc, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x61, - 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, - 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, - 0x65, 0x76, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x45, 0x4d, 0xaa, 0x02, 0x17, 0x53, - 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, - 0x65, 0x72, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, - 0xe2, 0x02, 0x23, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x45, 0x76, 0x6d, - 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1a, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, - 0x65, 0x72, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, - 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +var File_polaris_evm_module_v1alpha1_module_proto protoreflect.FileDescriptor + +var file_polaris_evm_module_v1alpha1_module_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x6d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x70, 0x6f, 0x6c, 0x61, + 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, + 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x06, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x3a, 0x27, 0xba, 0xc0, 0x96, 0xda, 0x01, 0x21, 0x0a, 0x1f, 0x70, 0x6b, 0x67, 0x2e, 0x62, + 0x65, 0x72, 0x61, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2f, 0x70, 0x6f, 0x6c, + 0x61, 0x72, 0x69, 0x73, 0x2f, 0x78, 0x2f, 0x65, 0x76, 0x6d, 0x42, 0xfa, 0x01, 0x0a, 0x1f, 0x63, + 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x6d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0b, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x45, 0x4d, + 0xaa, 0x02, 0x1b, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, + 0x1b, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x50, + 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, + 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, 0x56, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_stargazer_evm_module_v1_module_proto_rawDescOnce sync.Once - file_stargazer_evm_module_v1_module_proto_rawDescData = file_stargazer_evm_module_v1_module_proto_rawDesc + file_polaris_evm_module_v1alpha1_module_proto_rawDescOnce sync.Once + file_polaris_evm_module_v1alpha1_module_proto_rawDescData = file_polaris_evm_module_v1alpha1_module_proto_rawDesc ) -func file_stargazer_evm_module_v1_module_proto_rawDescGZIP() []byte { - file_stargazer_evm_module_v1_module_proto_rawDescOnce.Do(func() { - file_stargazer_evm_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_stargazer_evm_module_v1_module_proto_rawDescData) +func file_polaris_evm_module_v1alpha1_module_proto_rawDescGZIP() []byte { + file_polaris_evm_module_v1alpha1_module_proto_rawDescOnce.Do(func() { + file_polaris_evm_module_v1alpha1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_polaris_evm_module_v1alpha1_module_proto_rawDescData) }) - return file_stargazer_evm_module_v1_module_proto_rawDescData + return file_polaris_evm_module_v1alpha1_module_proto_rawDescData } -var file_stargazer_evm_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_stargazer_evm_module_v1_module_proto_goTypes = []interface{}{ - (*Module)(nil), // 0: stargazer.evm.module.v1.Module +var file_polaris_evm_module_v1alpha1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_polaris_evm_module_v1alpha1_module_proto_goTypes = []interface{}{ + (*Module)(nil), // 0: polaris.evm.module.v1alpha1.Module } -var file_stargazer_evm_module_v1_module_proto_depIdxs = []int32{ +var file_polaris_evm_module_v1alpha1_module_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -558,13 +560,13 @@ var file_stargazer_evm_module_v1_module_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_stargazer_evm_module_v1_module_proto_init() } -func file_stargazer_evm_module_v1_module_proto_init() { - if File_stargazer_evm_module_v1_module_proto != nil { +func init() { file_polaris_evm_module_v1alpha1_module_proto_init() } +func file_polaris_evm_module_v1alpha1_module_proto_init() { + if File_polaris_evm_module_v1alpha1_module_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_stargazer_evm_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_polaris_evm_module_v1alpha1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Module); i { case 0: return &v.state @@ -581,18 +583,18 @@ func file_stargazer_evm_module_v1_module_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_stargazer_evm_module_v1_module_proto_rawDesc, + RawDescriptor: file_polaris_evm_module_v1alpha1_module_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_stargazer_evm_module_v1_module_proto_goTypes, - DependencyIndexes: file_stargazer_evm_module_v1_module_proto_depIdxs, - MessageInfos: file_stargazer_evm_module_v1_module_proto_msgTypes, + GoTypes: file_polaris_evm_module_v1alpha1_module_proto_goTypes, + DependencyIndexes: file_polaris_evm_module_v1alpha1_module_proto_depIdxs, + MessageInfos: file_polaris_evm_module_v1alpha1_module_proto_msgTypes, }.Build() - File_stargazer_evm_module_v1_module_proto = out.File - file_stargazer_evm_module_v1_module_proto_rawDesc = nil - file_stargazer_evm_module_v1_module_proto_goTypes = nil - file_stargazer_evm_module_v1_module_proto_depIdxs = nil + File_polaris_evm_module_v1alpha1_module_proto = out.File + file_polaris_evm_module_v1alpha1_module_proto_rawDesc = nil + file_polaris_evm_module_v1alpha1_module_proto_goTypes = nil + file_polaris_evm_module_v1alpha1_module_proto_depIdxs = nil } diff --git a/api/stargazer/evm/storage/v1/slot.pulsar.go b/api/polaris/evm/storage/v1/slot.pulsar.go similarity index 77% rename from api/stargazer/evm/storage/v1/slot.pulsar.go rename to api/polaris/evm/storage/v1/slot.pulsar.go index deefddc6c..dfb56e34a 100644 --- a/api/stargazer/evm/storage/v1/slot.pulsar.go +++ b/api/polaris/evm/storage/v1/slot.pulsar.go @@ -19,8 +19,8 @@ var ( ) func init() { - file_stargazer_evm_storage_v1_slot_proto_init() - md_Slot = File_stargazer_evm_storage_v1_slot_proto.Messages().ByName("Slot") + file_polaris_evm_storage_v1_slot_proto_init() + md_Slot = File_polaris_evm_storage_v1_slot_proto.Messages().ByName("Slot") fd_Slot_key = md_Slot.Fields().ByName("key") fd_Slot_value = md_Slot.Fields().ByName("value") } @@ -34,7 +34,7 @@ func (x *Slot) ProtoReflect() protoreflect.Message { } func (x *Slot) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_evm_storage_v1_slot_proto_msgTypes[0] + mi := &file_polaris_evm_storage_v1_slot_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -117,15 +117,15 @@ func (x *fastReflection_Slot) Range(f func(protoreflect.FieldDescriptor, protore // a repeated field is populated if it is non-empty. func (x *fastReflection_Slot) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "stargazer.evm.storage.v1.Slot.key": + case "polaris.evm.storage.v1.Slot.key": return x.Key != "" - case "stargazer.evm.storage.v1.Slot.value": + case "polaris.evm.storage.v1.Slot.value": return x.Value != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.storage.v1.Slot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.storage.v1.Slot")) } - panic(fmt.Errorf("message stargazer.evm.storage.v1.Slot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.storage.v1.Slot does not contain field %s", fd.FullName())) } } @@ -137,15 +137,15 @@ func (x *fastReflection_Slot) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Slot) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "stargazer.evm.storage.v1.Slot.key": + case "polaris.evm.storage.v1.Slot.key": x.Key = "" - case "stargazer.evm.storage.v1.Slot.value": + case "polaris.evm.storage.v1.Slot.value": x.Value = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.storage.v1.Slot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.storage.v1.Slot")) } - panic(fmt.Errorf("message stargazer.evm.storage.v1.Slot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.storage.v1.Slot does not contain field %s", fd.FullName())) } } @@ -157,17 +157,17 @@ func (x *fastReflection_Slot) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Slot) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "stargazer.evm.storage.v1.Slot.key": + case "polaris.evm.storage.v1.Slot.key": value := x.Key return protoreflect.ValueOfString(value) - case "stargazer.evm.storage.v1.Slot.value": + case "polaris.evm.storage.v1.Slot.value": value := x.Value return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.storage.v1.Slot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.storage.v1.Slot")) } - panic(fmt.Errorf("message stargazer.evm.storage.v1.Slot does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.evm.storage.v1.Slot does not contain field %s", descriptor.FullName())) } } @@ -183,15 +183,15 @@ func (x *fastReflection_Slot) Get(descriptor protoreflect.FieldDescriptor) proto // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Slot) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "stargazer.evm.storage.v1.Slot.key": + case "polaris.evm.storage.v1.Slot.key": x.Key = value.Interface().(string) - case "stargazer.evm.storage.v1.Slot.value": + case "polaris.evm.storage.v1.Slot.value": x.Value = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.storage.v1.Slot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.storage.v1.Slot")) } - panic(fmt.Errorf("message stargazer.evm.storage.v1.Slot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.storage.v1.Slot does not contain field %s", fd.FullName())) } } @@ -207,15 +207,15 @@ func (x *fastReflection_Slot) Set(fd protoreflect.FieldDescriptor, value protore // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Slot) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.storage.v1.Slot.key": - panic(fmt.Errorf("field key of message stargazer.evm.storage.v1.Slot is not mutable")) - case "stargazer.evm.storage.v1.Slot.value": - panic(fmt.Errorf("field value of message stargazer.evm.storage.v1.Slot is not mutable")) + case "polaris.evm.storage.v1.Slot.key": + panic(fmt.Errorf("field key of message polaris.evm.storage.v1.Slot is not mutable")) + case "polaris.evm.storage.v1.Slot.value": + panic(fmt.Errorf("field value of message polaris.evm.storage.v1.Slot is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.storage.v1.Slot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.storage.v1.Slot")) } - panic(fmt.Errorf("message stargazer.evm.storage.v1.Slot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.storage.v1.Slot does not contain field %s", fd.FullName())) } } @@ -224,15 +224,15 @@ func (x *fastReflection_Slot) Mutable(fd protoreflect.FieldDescriptor) protorefl // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Slot) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.storage.v1.Slot.key": + case "polaris.evm.storage.v1.Slot.key": return protoreflect.ValueOfString("") - case "stargazer.evm.storage.v1.Slot.value": + case "polaris.evm.storage.v1.Slot.value": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.storage.v1.Slot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.storage.v1.Slot")) } - panic(fmt.Errorf("message stargazer.evm.storage.v1.Slot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.storage.v1.Slot does not contain field %s", fd.FullName())) } } @@ -242,7 +242,7 @@ func (x *fastReflection_Slot) NewField(fd protoreflect.FieldDescriptor) protoref func (x *fastReflection_Slot) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.evm.storage.v1.Slot", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.evm.storage.v1.Slot", d.FullName())) } panic("unreachable") } @@ -520,7 +520,7 @@ func (x *fastReflection_Slot) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: stargazer/evm/storage/v1/slot.proto +// source: polaris/evm/storage/v1/slot.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -544,7 +544,7 @@ type Slot struct { func (x *Slot) Reset() { *x = Slot{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_evm_storage_v1_slot_proto_msgTypes[0] + mi := &file_polaris_evm_storage_v1_slot_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -558,7 +558,7 @@ func (*Slot) ProtoMessage() {} // Deprecated: Use Slot.ProtoReflect.Descriptor instead. func (*Slot) Descriptor() ([]byte, []int) { - return file_stargazer_evm_storage_v1_slot_proto_rawDescGZIP(), []int{0} + return file_polaris_evm_storage_v1_slot_proto_rawDescGZIP(), []int{0} } func (x *Slot) GetKey() string { @@ -575,50 +575,49 @@ func (x *Slot) GetValue() string { return "" } -var File_stargazer_evm_storage_v1_slot_proto protoreflect.FileDescriptor - -var file_stargazer_evm_storage_v1_slot_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x65, 0x76, 0x6d, 0x2f, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6c, 0x6f, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, - 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x22, - 0x2e, 0x0a, 0x04, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, - 0xe1, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, - 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x42, 0x09, 0x53, 0x6c, 0x6f, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x33, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x45, 0x53, 0xaa, 0x02, 0x18, 0x53, 0x74, 0x61, 0x72, 0x67, - 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x56, 0x31, 0xca, 0x02, 0x18, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x5c, - 0x45, 0x76, 0x6d, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, - 0x24, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x53, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, - 0x72, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x3a, +var File_polaris_evm_storage_v1_slot_proto protoreflect.FileDescriptor + +var file_polaris_evm_storage_v1_slot_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6c, 0x6f, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x22, 0x2e, 0x0a, 0x04, 0x53, + 0x6c, 0x6f, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0xd5, 0x01, 0x0a, 0x1a, + 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x53, 0x6c, 0x6f, 0x74, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, + 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, + 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, + 0x3b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x45, 0x53, + 0xaa, 0x02, 0x16, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x50, 0x6f, 0x6c, 0x61, + 0x72, 0x69, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, + 0x56, 0x31, 0xe2, 0x02, 0x22, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x5c, 0x45, 0x76, 0x6d, + 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, + 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_stargazer_evm_storage_v1_slot_proto_rawDescOnce sync.Once - file_stargazer_evm_storage_v1_slot_proto_rawDescData = file_stargazer_evm_storage_v1_slot_proto_rawDesc + file_polaris_evm_storage_v1_slot_proto_rawDescOnce sync.Once + file_polaris_evm_storage_v1_slot_proto_rawDescData = file_polaris_evm_storage_v1_slot_proto_rawDesc ) -func file_stargazer_evm_storage_v1_slot_proto_rawDescGZIP() []byte { - file_stargazer_evm_storage_v1_slot_proto_rawDescOnce.Do(func() { - file_stargazer_evm_storage_v1_slot_proto_rawDescData = protoimpl.X.CompressGZIP(file_stargazer_evm_storage_v1_slot_proto_rawDescData) +func file_polaris_evm_storage_v1_slot_proto_rawDescGZIP() []byte { + file_polaris_evm_storage_v1_slot_proto_rawDescOnce.Do(func() { + file_polaris_evm_storage_v1_slot_proto_rawDescData = protoimpl.X.CompressGZIP(file_polaris_evm_storage_v1_slot_proto_rawDescData) }) - return file_stargazer_evm_storage_v1_slot_proto_rawDescData + return file_polaris_evm_storage_v1_slot_proto_rawDescData } -var file_stargazer_evm_storage_v1_slot_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_stargazer_evm_storage_v1_slot_proto_goTypes = []interface{}{ - (*Slot)(nil), // 0: stargazer.evm.storage.v1.Slot +var file_polaris_evm_storage_v1_slot_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_polaris_evm_storage_v1_slot_proto_goTypes = []interface{}{ + (*Slot)(nil), // 0: polaris.evm.storage.v1.Slot } -var file_stargazer_evm_storage_v1_slot_proto_depIdxs = []int32{ +var file_polaris_evm_storage_v1_slot_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -626,13 +625,13 @@ var file_stargazer_evm_storage_v1_slot_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_stargazer_evm_storage_v1_slot_proto_init() } -func file_stargazer_evm_storage_v1_slot_proto_init() { - if File_stargazer_evm_storage_v1_slot_proto != nil { +func init() { file_polaris_evm_storage_v1_slot_proto_init() } +func file_polaris_evm_storage_v1_slot_proto_init() { + if File_polaris_evm_storage_v1_slot_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_stargazer_evm_storage_v1_slot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_polaris_evm_storage_v1_slot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Slot); i { case 0: return &v.state @@ -649,18 +648,18 @@ func file_stargazer_evm_storage_v1_slot_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_stargazer_evm_storage_v1_slot_proto_rawDesc, + RawDescriptor: file_polaris_evm_storage_v1_slot_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_stargazer_evm_storage_v1_slot_proto_goTypes, - DependencyIndexes: file_stargazer_evm_storage_v1_slot_proto_depIdxs, - MessageInfos: file_stargazer_evm_storage_v1_slot_proto_msgTypes, + GoTypes: file_polaris_evm_storage_v1_slot_proto_goTypes, + DependencyIndexes: file_polaris_evm_storage_v1_slot_proto_depIdxs, + MessageInfos: file_polaris_evm_storage_v1_slot_proto_msgTypes, }.Build() - File_stargazer_evm_storage_v1_slot_proto = out.File - file_stargazer_evm_storage_v1_slot_proto_rawDesc = nil - file_stargazer_evm_storage_v1_slot_proto_goTypes = nil - file_stargazer_evm_storage_v1_slot_proto_depIdxs = nil + File_polaris_evm_storage_v1_slot_proto = out.File + file_polaris_evm_storage_v1_slot_proto_rawDesc = nil + file_polaris_evm_storage_v1_slot_proto_goTypes = nil + file_polaris_evm_storage_v1_slot_proto_depIdxs = nil } diff --git a/api/stargazer/evm/v1alpha1/genesis.pulsar.go b/api/polaris/evm/v1alpha1/genesis.pulsar.go similarity index 84% rename from api/stargazer/evm/v1alpha1/genesis.pulsar.go rename to api/polaris/evm/v1alpha1/genesis.pulsar.go index b5a1eff0b..2fdbd0ab1 100644 --- a/api/stargazer/evm/v1alpha1/genesis.pulsar.go +++ b/api/polaris/evm/v1alpha1/genesis.pulsar.go @@ -194,8 +194,8 @@ var ( ) func init() { - file_stargazer_evm_v1alpha1_genesis_proto_init() - md_GenesisState = File_stargazer_evm_v1alpha1_genesis_proto.Messages().ByName("GenesisState") + file_polaris_evm_v1alpha1_genesis_proto_init() + md_GenesisState = File_polaris_evm_v1alpha1_genesis_proto.Messages().ByName("GenesisState") fd_GenesisState_params = md_GenesisState.Fields().ByName("params") fd_GenesisState_address_to_contract = md_GenesisState.Fields().ByName("address_to_contract") fd_GenesisState_hash_to_code = md_GenesisState.Fields().ByName("hash_to_code") @@ -210,7 +210,7 @@ func (x *GenesisState) ProtoReflect() protoreflect.Message { } func (x *GenesisState) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_evm_v1alpha1_genesis_proto_msgTypes[0] + mi := &file_polaris_evm_v1alpha1_genesis_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -299,17 +299,17 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "stargazer.evm.v1alpha1.GenesisState.params": + case "polaris.evm.v1alpha1.GenesisState.params": return x.Params != nil - case "stargazer.evm.v1alpha1.GenesisState.address_to_contract": + case "polaris.evm.v1alpha1.GenesisState.address_to_contract": return len(x.AddressToContract) != 0 - case "stargazer.evm.v1alpha1.GenesisState.hash_to_code": + case "polaris.evm.v1alpha1.GenesisState.hash_to_code": return len(x.HashToCode) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.GenesisState")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.GenesisState does not contain field %s", fd.FullName())) } } @@ -321,17 +321,17 @@ func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.GenesisState.params": + case "polaris.evm.v1alpha1.GenesisState.params": x.Params = nil - case "stargazer.evm.v1alpha1.GenesisState.address_to_contract": + case "polaris.evm.v1alpha1.GenesisState.address_to_contract": x.AddressToContract = nil - case "stargazer.evm.v1alpha1.GenesisState.hash_to_code": + case "polaris.evm.v1alpha1.GenesisState.hash_to_code": x.HashToCode = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.GenesisState")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.GenesisState does not contain field %s", fd.FullName())) } } @@ -343,16 +343,16 @@ func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "stargazer.evm.v1alpha1.GenesisState.params": + case "polaris.evm.v1alpha1.GenesisState.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "stargazer.evm.v1alpha1.GenesisState.address_to_contract": + case "polaris.evm.v1alpha1.GenesisState.address_to_contract": if len(x.AddressToContract) == 0 { return protoreflect.ValueOfMap(&_GenesisState_2_map{}) } mapValue := &_GenesisState_2_map{m: &x.AddressToContract} return protoreflect.ValueOfMap(mapValue) - case "stargazer.evm.v1alpha1.GenesisState.hash_to_code": + case "polaris.evm.v1alpha1.GenesisState.hash_to_code": if len(x.HashToCode) == 0 { return protoreflect.ValueOfMap(&_GenesisState_3_map{}) } @@ -360,9 +360,9 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto return protoreflect.ValueOfMap(mapValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.GenesisState")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.GenesisState does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.GenesisState does not contain field %s", descriptor.FullName())) } } @@ -378,21 +378,21 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.GenesisState.params": + case "polaris.evm.v1alpha1.GenesisState.params": x.Params = value.Message().Interface().(*Params) - case "stargazer.evm.v1alpha1.GenesisState.address_to_contract": + case "polaris.evm.v1alpha1.GenesisState.address_to_contract": mv := value.Map() cmv := mv.(*_GenesisState_2_map) x.AddressToContract = *cmv.m - case "stargazer.evm.v1alpha1.GenesisState.hash_to_code": + case "polaris.evm.v1alpha1.GenesisState.hash_to_code": mv := value.Map() cmv := mv.(*_GenesisState_3_map) x.HashToCode = *cmv.m default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.GenesisState")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.GenesisState does not contain field %s", fd.FullName())) } } @@ -408,18 +408,18 @@ func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.GenesisState.params": + case "polaris.evm.v1alpha1.GenesisState.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) - case "stargazer.evm.v1alpha1.GenesisState.address_to_contract": + case "polaris.evm.v1alpha1.GenesisState.address_to_contract": if x.AddressToContract == nil { x.AddressToContract = make(map[string]*Contract) } value := &_GenesisState_2_map{m: &x.AddressToContract} return protoreflect.ValueOfMap(value) - case "stargazer.evm.v1alpha1.GenesisState.hash_to_code": + case "polaris.evm.v1alpha1.GenesisState.hash_to_code": if x.HashToCode == nil { x.HashToCode = make(map[string]string) } @@ -427,9 +427,9 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p return protoreflect.ValueOfMap(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.GenesisState")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.GenesisState does not contain field %s", fd.FullName())) } } @@ -438,20 +438,20 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.GenesisState.params": + case "polaris.evm.v1alpha1.GenesisState.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "stargazer.evm.v1alpha1.GenesisState.address_to_contract": + case "polaris.evm.v1alpha1.GenesisState.address_to_contract": m := make(map[string]*Contract) return protoreflect.ValueOfMap(&_GenesisState_2_map{m: &m}) - case "stargazer.evm.v1alpha1.GenesisState.hash_to_code": + case "polaris.evm.v1alpha1.GenesisState.hash_to_code": m := make(map[string]string) return protoreflect.ValueOfMap(&_GenesisState_3_map{m: &m}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.GenesisState")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.GenesisState does not contain field %s", fd.FullName())) } } @@ -461,7 +461,7 @@ func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.evm.v1alpha1.GenesisState", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.evm.v1alpha1.GenesisState", d.FullName())) } panic("unreachable") } @@ -1168,8 +1168,8 @@ var ( ) func init() { - file_stargazer_evm_v1alpha1_genesis_proto_init() - md_Contract = File_stargazer_evm_v1alpha1_genesis_proto.Messages().ByName("Contract") + file_polaris_evm_v1alpha1_genesis_proto_init() + md_Contract = File_polaris_evm_v1alpha1_genesis_proto.Messages().ByName("Contract") fd_Contract_code_hash = md_Contract.Fields().ByName("code_hash") fd_Contract_slot_to_value = md_Contract.Fields().ByName("slot_to_value") } @@ -1183,7 +1183,7 @@ func (x *Contract) ProtoReflect() protoreflect.Message { } func (x *Contract) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_evm_v1alpha1_genesis_proto_msgTypes[1] + mi := &file_polaris_evm_v1alpha1_genesis_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1266,15 +1266,15 @@ func (x *fastReflection_Contract) Range(f func(protoreflect.FieldDescriptor, pro // a repeated field is populated if it is non-empty. func (x *fastReflection_Contract) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "stargazer.evm.v1alpha1.Contract.code_hash": + case "polaris.evm.v1alpha1.Contract.code_hash": return x.CodeHash != "" - case "stargazer.evm.v1alpha1.Contract.slot_to_value": + case "polaris.evm.v1alpha1.Contract.slot_to_value": return len(x.SlotToValue) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Contract")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Contract")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Contract does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Contract does not contain field %s", fd.FullName())) } } @@ -1286,15 +1286,15 @@ func (x *fastReflection_Contract) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Contract) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.Contract.code_hash": + case "polaris.evm.v1alpha1.Contract.code_hash": x.CodeHash = "" - case "stargazer.evm.v1alpha1.Contract.slot_to_value": + case "polaris.evm.v1alpha1.Contract.slot_to_value": x.SlotToValue = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Contract")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Contract")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Contract does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Contract does not contain field %s", fd.FullName())) } } @@ -1306,10 +1306,10 @@ func (x *fastReflection_Contract) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Contract) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "stargazer.evm.v1alpha1.Contract.code_hash": + case "polaris.evm.v1alpha1.Contract.code_hash": value := x.CodeHash return protoreflect.ValueOfString(value) - case "stargazer.evm.v1alpha1.Contract.slot_to_value": + case "polaris.evm.v1alpha1.Contract.slot_to_value": if len(x.SlotToValue) == 0 { return protoreflect.ValueOfMap(&_Contract_2_map{}) } @@ -1317,9 +1317,9 @@ func (x *fastReflection_Contract) Get(descriptor protoreflect.FieldDescriptor) p return protoreflect.ValueOfMap(mapValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Contract")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Contract")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Contract does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Contract does not contain field %s", descriptor.FullName())) } } @@ -1335,17 +1335,17 @@ func (x *fastReflection_Contract) Get(descriptor protoreflect.FieldDescriptor) p // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Contract) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.Contract.code_hash": + case "polaris.evm.v1alpha1.Contract.code_hash": x.CodeHash = value.Interface().(string) - case "stargazer.evm.v1alpha1.Contract.slot_to_value": + case "polaris.evm.v1alpha1.Contract.slot_to_value": mv := value.Map() cmv := mv.(*_Contract_2_map) x.SlotToValue = *cmv.m default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Contract")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Contract")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Contract does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Contract does not contain field %s", fd.FullName())) } } @@ -1361,19 +1361,19 @@ func (x *fastReflection_Contract) Set(fd protoreflect.FieldDescriptor, value pro // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Contract) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.Contract.slot_to_value": + case "polaris.evm.v1alpha1.Contract.slot_to_value": if x.SlotToValue == nil { x.SlotToValue = make(map[string]string) } value := &_Contract_2_map{m: &x.SlotToValue} return protoreflect.ValueOfMap(value) - case "stargazer.evm.v1alpha1.Contract.code_hash": - panic(fmt.Errorf("field code_hash of message stargazer.evm.v1alpha1.Contract is not mutable")) + case "polaris.evm.v1alpha1.Contract.code_hash": + panic(fmt.Errorf("field code_hash of message polaris.evm.v1alpha1.Contract is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Contract")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Contract")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Contract does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Contract does not contain field %s", fd.FullName())) } } @@ -1382,16 +1382,16 @@ func (x *fastReflection_Contract) Mutable(fd protoreflect.FieldDescriptor) proto // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Contract) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.Contract.code_hash": + case "polaris.evm.v1alpha1.Contract.code_hash": return protoreflect.ValueOfString("") - case "stargazer.evm.v1alpha1.Contract.slot_to_value": + case "polaris.evm.v1alpha1.Contract.slot_to_value": m := make(map[string]string) return protoreflect.ValueOfMap(&_Contract_2_map{m: &m}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Contract")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Contract")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Contract does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Contract does not contain field %s", fd.FullName())) } } @@ -1401,7 +1401,7 @@ func (x *fastReflection_Contract) NewField(fd protoreflect.FieldDescriptor) prot func (x *fastReflection_Contract) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.evm.v1alpha1.Contract", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.evm.v1alpha1.Contract", d.FullName())) } panic("unreachable") } @@ -1827,7 +1827,7 @@ func (x *fastReflection_Contract) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: stargazer/evm/v1alpha1/genesis.proto +// source: polaris/evm/v1alpha1/genesis.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -1853,7 +1853,7 @@ type GenesisState struct { func (x *GenesisState) Reset() { *x = GenesisState{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_evm_v1alpha1_genesis_proto_msgTypes[0] + mi := &file_polaris_evm_v1alpha1_genesis_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1867,7 +1867,7 @@ func (*GenesisState) ProtoMessage() {} // Deprecated: Use GenesisState.ProtoReflect.Descriptor instead. func (*GenesisState) Descriptor() ([]byte, []int) { - return file_stargazer_evm_v1alpha1_genesis_proto_rawDescGZIP(), []int{0} + return file_polaris_evm_v1alpha1_genesis_proto_rawDescGZIP(), []int{0} } func (x *GenesisState) GetParams() *Params { @@ -1906,7 +1906,7 @@ type Contract struct { func (x *Contract) Reset() { *x = Contract{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_evm_v1alpha1_genesis_proto_msgTypes[1] + mi := &file_polaris_evm_v1alpha1_genesis_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1920,7 +1920,7 @@ func (*Contract) ProtoMessage() {} // Deprecated: Use Contract.ProtoReflect.Descriptor instead. func (*Contract) Descriptor() ([]byte, []int) { - return file_stargazer_evm_v1alpha1_genesis_proto_rawDescGZIP(), []int{1} + return file_polaris_evm_v1alpha1_genesis_proto_rawDescGZIP(), []int{1} } func (x *Contract) GetCodeHash() string { @@ -1937,100 +1937,98 @@ func (x *Contract) GetSlotToValue() map[string]string { return nil } -var File_stargazer_evm_v1alpha1_genesis_proto protoreflect.FileDescriptor - -var file_stargazer_evm_v1alpha1_genesis_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x65, 0x76, 0x6d, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, - 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x14, - 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, - 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x03, 0x0a, 0x0c, 0x47, 0x65, - 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x74, 0x61, - 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, - 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x6b, 0x0a, 0x13, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, - 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, - 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x54, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x11, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x56, 0x0a, 0x0c, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x74, 0x6f, - 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x74, - 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, +var File_polaris_evm_v1alpha1_genesis_proto protoreflect.FileDescriptor + +var file_polaris_evm_v1alpha1_genesis_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, + 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x21, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x03, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, + 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x12, 0x69, 0x0a, 0x13, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, + 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x54, 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x68, 0x54, 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x1a, 0x66, 0x0a, - 0x16, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, - 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x48, 0x61, 0x73, 0x68, 0x54, 0x6f, 0x43, - 0x6f, 0x64, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbe, 0x01, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x55, - 0x0a, 0x0d, 0x73, 0x6c, 0x6f, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, - 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, + 0x65, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x54, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x54, 0x0a, 0x0c, 0x68, + 0x61, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x54, 0x6f, 0x43, 0x6f, 0x64, 0x65, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x68, 0x54, 0x6f, 0x43, 0x6f, 0x64, + 0x65, 0x1a, 0x64, 0x0a, 0x16, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, + 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x48, 0x61, 0x73, 0x68, 0x54, + 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbc, 0x01, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, + 0x12, 0x53, 0x0a, 0x0d, 0x73, 0x6c, 0x6f, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, + 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x54, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x6c, 0x6f, 0x74, 0x54, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x3e, 0x0a, 0x10, 0x53, 0x6c, 0x6f, 0x74, 0x54, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0xd9, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, - 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x33, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, - 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, - 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x76, - 0x6d, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x45, 0x58, 0xaa, - 0x02, 0x16, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x45, 0x76, 0x6d, 0x2e, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x16, 0x53, 0x74, 0x61, 0x72, 0x67, - 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xe2, 0x02, 0x22, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x45, 0x76, - 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, - 0x65, 0x72, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0xcd, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, + 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x31, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, + 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x76, 0x6d, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x45, 0x58, 0xaa, 0x02, 0x14, 0x50, 0x6f, + 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0xca, 0x02, 0x14, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x5c, 0x45, 0x76, 0x6d, + 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x20, 0x50, 0x6f, 0x6c, 0x61, + 0x72, 0x69, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x50, + 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_stargazer_evm_v1alpha1_genesis_proto_rawDescOnce sync.Once - file_stargazer_evm_v1alpha1_genesis_proto_rawDescData = file_stargazer_evm_v1alpha1_genesis_proto_rawDesc + file_polaris_evm_v1alpha1_genesis_proto_rawDescOnce sync.Once + file_polaris_evm_v1alpha1_genesis_proto_rawDescData = file_polaris_evm_v1alpha1_genesis_proto_rawDesc ) -func file_stargazer_evm_v1alpha1_genesis_proto_rawDescGZIP() []byte { - file_stargazer_evm_v1alpha1_genesis_proto_rawDescOnce.Do(func() { - file_stargazer_evm_v1alpha1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_stargazer_evm_v1alpha1_genesis_proto_rawDescData) +func file_polaris_evm_v1alpha1_genesis_proto_rawDescGZIP() []byte { + file_polaris_evm_v1alpha1_genesis_proto_rawDescOnce.Do(func() { + file_polaris_evm_v1alpha1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_polaris_evm_v1alpha1_genesis_proto_rawDescData) }) - return file_stargazer_evm_v1alpha1_genesis_proto_rawDescData -} - -var file_stargazer_evm_v1alpha1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_stargazer_evm_v1alpha1_genesis_proto_goTypes = []interface{}{ - (*GenesisState)(nil), // 0: stargazer.evm.v1alpha1.GenesisState - (*Contract)(nil), // 1: stargazer.evm.v1alpha1.Contract - nil, // 2: stargazer.evm.v1alpha1.GenesisState.AddressToContractEntry - nil, // 3: stargazer.evm.v1alpha1.GenesisState.HashToCodeEntry - nil, // 4: stargazer.evm.v1alpha1.Contract.SlotToValueEntry - (*Params)(nil), // 5: stargazer.evm.v1alpha1.Params -} -var file_stargazer_evm_v1alpha1_genesis_proto_depIdxs = []int32{ - 5, // 0: stargazer.evm.v1alpha1.GenesisState.params:type_name -> stargazer.evm.v1alpha1.Params - 2, // 1: stargazer.evm.v1alpha1.GenesisState.address_to_contract:type_name -> stargazer.evm.v1alpha1.GenesisState.AddressToContractEntry - 3, // 2: stargazer.evm.v1alpha1.GenesisState.hash_to_code:type_name -> stargazer.evm.v1alpha1.GenesisState.HashToCodeEntry - 4, // 3: stargazer.evm.v1alpha1.Contract.slot_to_value:type_name -> stargazer.evm.v1alpha1.Contract.SlotToValueEntry - 1, // 4: stargazer.evm.v1alpha1.GenesisState.AddressToContractEntry.value:type_name -> stargazer.evm.v1alpha1.Contract + return file_polaris_evm_v1alpha1_genesis_proto_rawDescData +} + +var file_polaris_evm_v1alpha1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_polaris_evm_v1alpha1_genesis_proto_goTypes = []interface{}{ + (*GenesisState)(nil), // 0: polaris.evm.v1alpha1.GenesisState + (*Contract)(nil), // 1: polaris.evm.v1alpha1.Contract + nil, // 2: polaris.evm.v1alpha1.GenesisState.AddressToContractEntry + nil, // 3: polaris.evm.v1alpha1.GenesisState.HashToCodeEntry + nil, // 4: polaris.evm.v1alpha1.Contract.SlotToValueEntry + (*Params)(nil), // 5: polaris.evm.v1alpha1.Params +} +var file_polaris_evm_v1alpha1_genesis_proto_depIdxs = []int32{ + 5, // 0: polaris.evm.v1alpha1.GenesisState.params:type_name -> polaris.evm.v1alpha1.Params + 2, // 1: polaris.evm.v1alpha1.GenesisState.address_to_contract:type_name -> polaris.evm.v1alpha1.GenesisState.AddressToContractEntry + 3, // 2: polaris.evm.v1alpha1.GenesisState.hash_to_code:type_name -> polaris.evm.v1alpha1.GenesisState.HashToCodeEntry + 4, // 3: polaris.evm.v1alpha1.Contract.slot_to_value:type_name -> polaris.evm.v1alpha1.Contract.SlotToValueEntry + 1, // 4: polaris.evm.v1alpha1.GenesisState.AddressToContractEntry.value:type_name -> polaris.evm.v1alpha1.Contract 5, // [5:5] is the sub-list for method output_type 5, // [5:5] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name @@ -2038,14 +2036,14 @@ var file_stargazer_evm_v1alpha1_genesis_proto_depIdxs = []int32{ 0, // [0:5] is the sub-list for field type_name } -func init() { file_stargazer_evm_v1alpha1_genesis_proto_init() } -func file_stargazer_evm_v1alpha1_genesis_proto_init() { - if File_stargazer_evm_v1alpha1_genesis_proto != nil { +func init() { file_polaris_evm_v1alpha1_genesis_proto_init() } +func file_polaris_evm_v1alpha1_genesis_proto_init() { + if File_polaris_evm_v1alpha1_genesis_proto != nil { return } - file_stargazer_evm_v1alpha1_params_proto_init() + file_polaris_evm_v1alpha1_params_proto_init() if !protoimpl.UnsafeEnabled { - file_stargazer_evm_v1alpha1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_polaris_evm_v1alpha1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenesisState); i { case 0: return &v.state @@ -2057,7 +2055,7 @@ func file_stargazer_evm_v1alpha1_genesis_proto_init() { return nil } } - file_stargazer_evm_v1alpha1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_polaris_evm_v1alpha1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Contract); i { case 0: return &v.state @@ -2074,18 +2072,18 @@ func file_stargazer_evm_v1alpha1_genesis_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_stargazer_evm_v1alpha1_genesis_proto_rawDesc, + RawDescriptor: file_polaris_evm_v1alpha1_genesis_proto_rawDesc, NumEnums: 0, NumMessages: 5, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_stargazer_evm_v1alpha1_genesis_proto_goTypes, - DependencyIndexes: file_stargazer_evm_v1alpha1_genesis_proto_depIdxs, - MessageInfos: file_stargazer_evm_v1alpha1_genesis_proto_msgTypes, + GoTypes: file_polaris_evm_v1alpha1_genesis_proto_goTypes, + DependencyIndexes: file_polaris_evm_v1alpha1_genesis_proto_depIdxs, + MessageInfos: file_polaris_evm_v1alpha1_genesis_proto_msgTypes, }.Build() - File_stargazer_evm_v1alpha1_genesis_proto = out.File - file_stargazer_evm_v1alpha1_genesis_proto_rawDesc = nil - file_stargazer_evm_v1alpha1_genesis_proto_goTypes = nil - file_stargazer_evm_v1alpha1_genesis_proto_depIdxs = nil + File_polaris_evm_v1alpha1_genesis_proto = out.File + file_polaris_evm_v1alpha1_genesis_proto_rawDesc = nil + file_polaris_evm_v1alpha1_genesis_proto_goTypes = nil + file_polaris_evm_v1alpha1_genesis_proto_depIdxs = nil } diff --git a/api/stargazer/evm/v1alpha1/params.pulsar.go b/api/polaris/evm/v1alpha1/params.pulsar.go similarity index 78% rename from api/stargazer/evm/v1alpha1/params.pulsar.go rename to api/polaris/evm/v1alpha1/params.pulsar.go index a1e3552bc..56ef1797e 100644 --- a/api/stargazer/evm/v1alpha1/params.pulsar.go +++ b/api/polaris/evm/v1alpha1/params.pulsar.go @@ -67,8 +67,8 @@ var ( ) func init() { - file_stargazer_evm_v1alpha1_params_proto_init() - md_Params = File_stargazer_evm_v1alpha1_params_proto.Messages().ByName("Params") + file_polaris_evm_v1alpha1_params_proto_init() + md_Params = File_polaris_evm_v1alpha1_params_proto.Messages().ByName("Params") fd_Params_evm_denom = md_Params.Fields().ByName("evm_denom") fd_Params_extra_eips = md_Params.Fields().ByName("extra_eips") fd_Params_chain_config = md_Params.Fields().ByName("chain_config") @@ -83,7 +83,7 @@ func (x *Params) ProtoReflect() protoreflect.Message { } func (x *Params) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_evm_v1alpha1_params_proto_msgTypes[0] + mi := &file_polaris_evm_v1alpha1_params_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -172,17 +172,17 @@ func (x *fastReflection_Params) Range(f func(protoreflect.FieldDescriptor, proto // a repeated field is populated if it is non-empty. func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "stargazer.evm.v1alpha1.Params.evm_denom": + case "polaris.evm.v1alpha1.Params.evm_denom": return x.EvmDenom != "" - case "stargazer.evm.v1alpha1.Params.extra_eips": + case "polaris.evm.v1alpha1.Params.extra_eips": return len(x.ExtraEips) != 0 - case "stargazer.evm.v1alpha1.Params.chain_config": + case "polaris.evm.v1alpha1.Params.chain_config": return x.ChainConfig != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Params")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Params does not contain field %s", fd.FullName())) } } @@ -194,17 +194,17 @@ func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.Params.evm_denom": + case "polaris.evm.v1alpha1.Params.evm_denom": x.EvmDenom = "" - case "stargazer.evm.v1alpha1.Params.extra_eips": + case "polaris.evm.v1alpha1.Params.extra_eips": x.ExtraEips = nil - case "stargazer.evm.v1alpha1.Params.chain_config": + case "polaris.evm.v1alpha1.Params.chain_config": x.ChainConfig = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Params")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Params does not contain field %s", fd.FullName())) } } @@ -216,23 +216,23 @@ func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "stargazer.evm.v1alpha1.Params.evm_denom": + case "polaris.evm.v1alpha1.Params.evm_denom": value := x.EvmDenom return protoreflect.ValueOfString(value) - case "stargazer.evm.v1alpha1.Params.extra_eips": + case "polaris.evm.v1alpha1.Params.extra_eips": if len(x.ExtraEips) == 0 { return protoreflect.ValueOfList(&_Params_2_list{}) } listValue := &_Params_2_list{list: &x.ExtraEips} return protoreflect.ValueOfList(listValue) - case "stargazer.evm.v1alpha1.Params.chain_config": + case "polaris.evm.v1alpha1.Params.chain_config": value := x.ChainConfig return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Params")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Params does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Params does not contain field %s", descriptor.FullName())) } } @@ -248,19 +248,19 @@ func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) pro // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.Params.evm_denom": + case "polaris.evm.v1alpha1.Params.evm_denom": x.EvmDenom = value.Interface().(string) - case "stargazer.evm.v1alpha1.Params.extra_eips": + case "polaris.evm.v1alpha1.Params.extra_eips": lv := value.List() clv := lv.(*_Params_2_list) x.ExtraEips = *clv.list - case "stargazer.evm.v1alpha1.Params.chain_config": + case "polaris.evm.v1alpha1.Params.chain_config": x.ChainConfig = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Params")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Params does not contain field %s", fd.FullName())) } } @@ -276,21 +276,21 @@ func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value proto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.Params.extra_eips": + case "polaris.evm.v1alpha1.Params.extra_eips": if x.ExtraEips == nil { x.ExtraEips = []int64{} } value := &_Params_2_list{list: &x.ExtraEips} return protoreflect.ValueOfList(value) - case "stargazer.evm.v1alpha1.Params.evm_denom": - panic(fmt.Errorf("field evm_denom of message stargazer.evm.v1alpha1.Params is not mutable")) - case "stargazer.evm.v1alpha1.Params.chain_config": - panic(fmt.Errorf("field chain_config of message stargazer.evm.v1alpha1.Params is not mutable")) + case "polaris.evm.v1alpha1.Params.evm_denom": + panic(fmt.Errorf("field evm_denom of message polaris.evm.v1alpha1.Params is not mutable")) + case "polaris.evm.v1alpha1.Params.chain_config": + panic(fmt.Errorf("field chain_config of message polaris.evm.v1alpha1.Params is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Params")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Params does not contain field %s", fd.FullName())) } } @@ -299,18 +299,18 @@ func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protore // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.Params.evm_denom": + case "polaris.evm.v1alpha1.Params.evm_denom": return protoreflect.ValueOfString("") - case "stargazer.evm.v1alpha1.Params.extra_eips": + case "polaris.evm.v1alpha1.Params.extra_eips": list := []int64{} return protoreflect.ValueOfList(&_Params_2_list{list: &list}) - case "stargazer.evm.v1alpha1.Params.chain_config": + case "polaris.evm.v1alpha1.Params.chain_config": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.Params")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.Params does not contain field %s", fd.FullName())) } } @@ -320,7 +320,7 @@ func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_Params) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.evm.v1alpha1.Params", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.evm.v1alpha1.Params", d.FullName())) } panic("unreachable") } @@ -702,7 +702,7 @@ func (x *fastReflection_Params) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: stargazer/evm/v1alpha1/params.proto +// source: polaris/evm/v1alpha1/params.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -722,7 +722,7 @@ type Params struct { EvmDenom string `protobuf:"bytes,1,opt,name=evm_denom,json=evmDenom,proto3" json:"evm_denom,omitempty"` // `extra_eips` defines a list of additional EIPs for the vm.Config ExtraEips []int64 `protobuf:"varint,2,rep,packed,name=extra_eips,json=extraEips,proto3" json:"extra_eips,omitempty"` - // `chain_config` represents the ethereum chain config for the stargazer + // `chain_config` represents the ethereum chain config for the polaris // EVM ChainConfig string `protobuf:"bytes,3,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"` } @@ -730,7 +730,7 @@ type Params struct { func (x *Params) Reset() { *x = Params{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_evm_v1alpha1_params_proto_msgTypes[0] + mi := &file_polaris_evm_v1alpha1_params_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -744,7 +744,7 @@ func (*Params) ProtoMessage() {} // Deprecated: Use Params.ProtoReflect.Descriptor instead. func (*Params) Descriptor() ([]byte, []int) { - return file_stargazer_evm_v1alpha1_params_proto_rawDescGZIP(), []int{0} + return file_polaris_evm_v1alpha1_params_proto_rawDescGZIP(), []int{0} } func (x *Params) GetEvmDenom() string { @@ -768,60 +768,59 @@ func (x *Params) GetChainConfig() string { return "" } -var File_stargazer_evm_v1alpha1_params_proto protoreflect.FileDescriptor - -var file_stargazer_evm_v1alpha1_params_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x65, 0x76, 0x6d, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, - 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x14, 0x67, - 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x31, - 0x0a, 0x09, 0x65, 0x76, 0x6d, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x14, 0xf2, 0xde, 0x1f, 0x10, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x65, 0x76, 0x6d, - 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x52, 0x08, 0x65, 0x76, 0x6d, 0x44, 0x65, 0x6e, 0x6f, - 0x6d, 0x12, 0x41, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x65, 0x69, 0x70, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x03, 0x42, 0x22, 0xe2, 0xde, 0x1f, 0x09, 0x45, 0x78, 0x74, 0x72, 0x61, - 0x45, 0x49, 0x50, 0x73, 0xf2, 0xde, 0x1f, 0x11, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x65, 0x78, - 0x74, 0x72, 0x61, 0x5f, 0x65, 0x69, 0x70, 0x73, 0x22, 0x52, 0x09, 0x65, 0x78, 0x74, 0x72, 0x61, - 0x45, 0x69, 0x70, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x17, 0xf2, 0xde, 0x1f, 0x13, - 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x22, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x42, 0xd8, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, - 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, - 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x33, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x76, 0x6d, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x45, 0x58, 0xaa, 0x02, 0x16, 0x53, 0x74, 0x61, 0x72, - 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xca, 0x02, 0x16, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x45, - 0x76, 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x22, 0x53, 0x74, - 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x18, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x3a, 0x3a, 0x45, 0x76, +var File_polaris_evm_v1alpha1_params_proto protoreflect.FileDescriptor + +var file_polaris_evm_v1alpha1_params_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xba, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x31, 0x0a, 0x09, 0x65, 0x76, + 0x6d, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xf2, + 0xde, 0x1f, 0x10, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x65, 0x76, 0x6d, 0x5f, 0x64, 0x65, 0x6e, + 0x6f, 0x6d, 0x22, 0x52, 0x08, 0x65, 0x76, 0x6d, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x41, 0x0a, + 0x0a, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x65, 0x69, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x03, 0x42, 0x22, 0xe2, 0xde, 0x1f, 0x09, 0x45, 0x78, 0x74, 0x72, 0x61, 0x45, 0x49, 0x50, 0x73, + 0xf2, 0xde, 0x1f, 0x11, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, + 0x65, 0x69, 0x70, 0x73, 0x22, 0x52, 0x09, 0x65, 0x78, 0x74, 0x72, 0x61, 0x45, 0x69, 0x70, 0x73, + 0x12, 0x3a, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x17, 0xf2, 0xde, 0x1f, 0x13, 0x79, 0x61, 0x6d, 0x6c, + 0x3a, 0x22, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x52, + 0x0b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0xcc, 0x01, 0x0a, + 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, + 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, + 0x65, 0x76, 0x6d, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x45, + 0x58, 0xaa, 0x02, 0x14, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, + 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x14, 0x50, 0x6f, 0x6c, 0x61, 0x72, + 0x69, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, + 0x02, 0x20, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x16, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_stargazer_evm_v1alpha1_params_proto_rawDescOnce sync.Once - file_stargazer_evm_v1alpha1_params_proto_rawDescData = file_stargazer_evm_v1alpha1_params_proto_rawDesc + file_polaris_evm_v1alpha1_params_proto_rawDescOnce sync.Once + file_polaris_evm_v1alpha1_params_proto_rawDescData = file_polaris_evm_v1alpha1_params_proto_rawDesc ) -func file_stargazer_evm_v1alpha1_params_proto_rawDescGZIP() []byte { - file_stargazer_evm_v1alpha1_params_proto_rawDescOnce.Do(func() { - file_stargazer_evm_v1alpha1_params_proto_rawDescData = protoimpl.X.CompressGZIP(file_stargazer_evm_v1alpha1_params_proto_rawDescData) +func file_polaris_evm_v1alpha1_params_proto_rawDescGZIP() []byte { + file_polaris_evm_v1alpha1_params_proto_rawDescOnce.Do(func() { + file_polaris_evm_v1alpha1_params_proto_rawDescData = protoimpl.X.CompressGZIP(file_polaris_evm_v1alpha1_params_proto_rawDescData) }) - return file_stargazer_evm_v1alpha1_params_proto_rawDescData + return file_polaris_evm_v1alpha1_params_proto_rawDescData } -var file_stargazer_evm_v1alpha1_params_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_stargazer_evm_v1alpha1_params_proto_goTypes = []interface{}{ - (*Params)(nil), // 0: stargazer.evm.v1alpha1.Params +var file_polaris_evm_v1alpha1_params_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_polaris_evm_v1alpha1_params_proto_goTypes = []interface{}{ + (*Params)(nil), // 0: polaris.evm.v1alpha1.Params } -var file_stargazer_evm_v1alpha1_params_proto_depIdxs = []int32{ +var file_polaris_evm_v1alpha1_params_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -829,13 +828,13 @@ var file_stargazer_evm_v1alpha1_params_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_stargazer_evm_v1alpha1_params_proto_init() } -func file_stargazer_evm_v1alpha1_params_proto_init() { - if File_stargazer_evm_v1alpha1_params_proto != nil { +func init() { file_polaris_evm_v1alpha1_params_proto_init() } +func file_polaris_evm_v1alpha1_params_proto_init() { + if File_polaris_evm_v1alpha1_params_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_stargazer_evm_v1alpha1_params_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_polaris_evm_v1alpha1_params_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Params); i { case 0: return &v.state @@ -852,18 +851,18 @@ func file_stargazer_evm_v1alpha1_params_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_stargazer_evm_v1alpha1_params_proto_rawDesc, + RawDescriptor: file_polaris_evm_v1alpha1_params_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_stargazer_evm_v1alpha1_params_proto_goTypes, - DependencyIndexes: file_stargazer_evm_v1alpha1_params_proto_depIdxs, - MessageInfos: file_stargazer_evm_v1alpha1_params_proto_msgTypes, + GoTypes: file_polaris_evm_v1alpha1_params_proto_goTypes, + DependencyIndexes: file_polaris_evm_v1alpha1_params_proto_depIdxs, + MessageInfos: file_polaris_evm_v1alpha1_params_proto_msgTypes, }.Build() - File_stargazer_evm_v1alpha1_params_proto = out.File - file_stargazer_evm_v1alpha1_params_proto_rawDesc = nil - file_stargazer_evm_v1alpha1_params_proto_goTypes = nil - file_stargazer_evm_v1alpha1_params_proto_depIdxs = nil + File_polaris_evm_v1alpha1_params_proto = out.File + file_polaris_evm_v1alpha1_params_proto_rawDesc = nil + file_polaris_evm_v1alpha1_params_proto_goTypes = nil + file_polaris_evm_v1alpha1_params_proto_depIdxs = nil } diff --git a/api/stargazer/evm/v1alpha1/query.pulsar.go b/api/polaris/evm/v1alpha1/query.pulsar.go similarity index 77% rename from api/stargazer/evm/v1alpha1/query.pulsar.go rename to api/polaris/evm/v1alpha1/query.pulsar.go index 8e649311b..41cec298b 100644 --- a/api/stargazer/evm/v1alpha1/query.pulsar.go +++ b/api/polaris/evm/v1alpha1/query.pulsar.go @@ -19,8 +19,8 @@ var ( ) func init() { - file_stargazer_evm_v1alpha1_query_proto_init() - md_ParamsRequest = File_stargazer_evm_v1alpha1_query_proto.Messages().ByName("ParamsRequest") + file_polaris_evm_v1alpha1_query_proto_init() + md_ParamsRequest = File_polaris_evm_v1alpha1_query_proto.Messages().ByName("ParamsRequest") } var _ protoreflect.Message = (*fastReflection_ParamsRequest)(nil) @@ -32,7 +32,7 @@ func (x *ParamsRequest) ProtoReflect() protoreflect.Message { } func (x *ParamsRequest) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_evm_v1alpha1_query_proto_msgTypes[0] + mi := &file_polaris_evm_v1alpha1_query_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -105,9 +105,9 @@ func (x *fastReflection_ParamsRequest) Has(fd protoreflect.FieldDescriptor) bool switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsRequest does not contain field %s", fd.FullName())) } } @@ -121,9 +121,9 @@ func (x *fastReflection_ParamsRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsRequest does not contain field %s", fd.FullName())) } } @@ -137,9 +137,9 @@ func (x *fastReflection_ParamsRequest) Get(descriptor protoreflect.FieldDescript switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsRequest does not contain field %s", descriptor.FullName())) } } @@ -157,9 +157,9 @@ func (x *fastReflection_ParamsRequest) Set(fd protoreflect.FieldDescriptor, valu switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsRequest does not contain field %s", fd.FullName())) } } @@ -177,9 +177,9 @@ func (x *fastReflection_ParamsRequest) Mutable(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsRequest does not contain field %s", fd.FullName())) } } @@ -190,9 +190,9 @@ func (x *fastReflection_ParamsRequest) NewField(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsRequest does not contain field %s", fd.FullName())) } } @@ -202,7 +202,7 @@ func (x *fastReflection_ParamsRequest) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_ParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.evm.v1alpha1.ParamsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.evm.v1alpha1.ParamsRequest", d.FullName())) } panic("unreachable") } @@ -376,8 +376,8 @@ var ( ) func init() { - file_stargazer_evm_v1alpha1_query_proto_init() - md_ParamsResponse = File_stargazer_evm_v1alpha1_query_proto.Messages().ByName("ParamsResponse") + file_polaris_evm_v1alpha1_query_proto_init() + md_ParamsResponse = File_polaris_evm_v1alpha1_query_proto.Messages().ByName("ParamsResponse") fd_ParamsResponse_params = md_ParamsResponse.Fields().ByName("params") } @@ -390,7 +390,7 @@ func (x *ParamsResponse) ProtoReflect() protoreflect.Message { } func (x *ParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_evm_v1alpha1_query_proto_msgTypes[1] + mi := &file_polaris_evm_v1alpha1_query_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -467,13 +467,13 @@ func (x *fastReflection_ParamsResponse) Range(f func(protoreflect.FieldDescripto // a repeated field is populated if it is non-empty. func (x *fastReflection_ParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "stargazer.evm.v1alpha1.ParamsResponse.params": + case "polaris.evm.v1alpha1.ParamsResponse.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsResponse does not contain field %s", fd.FullName())) } } @@ -485,13 +485,13 @@ func (x *fastReflection_ParamsResponse) Has(fd protoreflect.FieldDescriptor) boo // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ParamsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.ParamsResponse.params": + case "polaris.evm.v1alpha1.ParamsResponse.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsResponse does not contain field %s", fd.FullName())) } } @@ -503,14 +503,14 @@ func (x *fastReflection_ParamsResponse) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_ParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "stargazer.evm.v1alpha1.ParamsResponse.params": + case "polaris.evm.v1alpha1.ParamsResponse.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -526,13 +526,13 @@ func (x *fastReflection_ParamsResponse) Get(descriptor protoreflect.FieldDescrip // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.ParamsResponse.params": + case "polaris.evm.v1alpha1.ParamsResponse.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsResponse does not contain field %s", fd.FullName())) } } @@ -548,16 +548,16 @@ func (x *fastReflection_ParamsResponse) Set(fd protoreflect.FieldDescriptor, val // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.ParamsResponse.params": + case "polaris.evm.v1alpha1.ParamsResponse.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsResponse does not contain field %s", fd.FullName())) } } @@ -566,14 +566,14 @@ func (x *fastReflection_ParamsResponse) Mutable(fd protoreflect.FieldDescriptor) // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_ParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.ParamsResponse.params": + case "polaris.evm.v1alpha1.ParamsResponse.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.ParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.ParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.ParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.ParamsResponse does not contain field %s", fd.FullName())) } } @@ -583,7 +583,7 @@ func (x *fastReflection_ParamsResponse) NewField(fd protoreflect.FieldDescriptor func (x *fastReflection_ParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.evm.v1alpha1.ParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.evm.v1alpha1.ParamsResponse", d.FullName())) } panic("unreachable") } @@ -829,7 +829,7 @@ func (x *fastReflection_ParamsResponse) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: stargazer/evm/v1alpha1/query.proto +// source: polaris/evm/v1alpha1/query.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -848,7 +848,7 @@ type ParamsRequest struct { func (x *ParamsRequest) Reset() { *x = ParamsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_evm_v1alpha1_query_proto_msgTypes[0] + mi := &file_polaris_evm_v1alpha1_query_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -862,7 +862,7 @@ func (*ParamsRequest) ProtoMessage() {} // Deprecated: Use ParamsRequest.ProtoReflect.Descriptor instead. func (*ParamsRequest) Descriptor() ([]byte, []int) { - return file_stargazer_evm_v1alpha1_query_proto_rawDescGZIP(), []int{0} + return file_polaris_evm_v1alpha1_query_proto_rawDescGZIP(), []int{0} } // `ParamsResponse` is the response type for the Query/Params RPC method. @@ -878,7 +878,7 @@ type ParamsResponse struct { func (x *ParamsResponse) Reset() { *x = ParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_evm_v1alpha1_query_proto_msgTypes[1] + mi := &file_polaris_evm_v1alpha1_query_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -892,7 +892,7 @@ func (*ParamsResponse) ProtoMessage() {} // Deprecated: Use ParamsResponse.ProtoReflect.Descriptor instead. func (*ParamsResponse) Descriptor() ([]byte, []int) { - return file_stargazer_evm_v1alpha1_query_proto_rawDescGZIP(), []int{1} + return file_polaris_evm_v1alpha1_query_proto_rawDescGZIP(), []int{1} } func (x *ParamsResponse) GetParams() *Params { @@ -902,72 +902,70 @@ func (x *ParamsResponse) GetParams() *Params { return nil } -var File_stargazer_evm_v1alpha1_query_proto protoreflect.FileDescriptor - -var file_stargazer_evm_v1alpha1_query_proto_rawDesc = []byte{ - 0x0a, 0x22, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x65, 0x76, 0x6d, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, - 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x14, 0x67, 0x6f, - 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, - 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x23, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x65, 0x76, 0x6d, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4e, 0x0a, 0x0e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, - 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x32, 0x8f, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7f, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x12, 0x25, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, - 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, - 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x73, 0x74, 0x61, 0x72, 0x67, - 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0xd7, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, - 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, +var File_polaris_evm_v1alpha1_query_proto protoreflect.FileDescriptor + +var file_polaris_evm_v1alpha1_query_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x14, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x70, 0x6f, + 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x0f, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x4c, 0x0a, 0x0e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x32, 0x89, + 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x79, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x23, 0x2e, 0x70, 0x6f, 0x6c, 0x61, + 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, + 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x70, + 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0xcb, 0x01, 0x0a, 0x18, 0x63, + 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x33, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, - 0x72, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, - 0x76, 0x6d, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x45, 0x58, - 0xaa, 0x02, 0x16, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x45, 0x76, 0x6d, - 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x16, 0x53, 0x74, 0x61, 0x72, - 0x67, 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xe2, 0x02, 0x22, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x45, - 0x76, 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, - 0x7a, 0x65, 0x72, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, + 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, + 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x76, 0x6d, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x45, 0x58, 0xaa, 0x02, + 0x14, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x56, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x14, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x5c, + 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x20, 0x50, + 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x16, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, + 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_stargazer_evm_v1alpha1_query_proto_rawDescOnce sync.Once - file_stargazer_evm_v1alpha1_query_proto_rawDescData = file_stargazer_evm_v1alpha1_query_proto_rawDesc + file_polaris_evm_v1alpha1_query_proto_rawDescOnce sync.Once + file_polaris_evm_v1alpha1_query_proto_rawDescData = file_polaris_evm_v1alpha1_query_proto_rawDesc ) -func file_stargazer_evm_v1alpha1_query_proto_rawDescGZIP() []byte { - file_stargazer_evm_v1alpha1_query_proto_rawDescOnce.Do(func() { - file_stargazer_evm_v1alpha1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_stargazer_evm_v1alpha1_query_proto_rawDescData) +func file_polaris_evm_v1alpha1_query_proto_rawDescGZIP() []byte { + file_polaris_evm_v1alpha1_query_proto_rawDescOnce.Do(func() { + file_polaris_evm_v1alpha1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_polaris_evm_v1alpha1_query_proto_rawDescData) }) - return file_stargazer_evm_v1alpha1_query_proto_rawDescData + return file_polaris_evm_v1alpha1_query_proto_rawDescData } -var file_stargazer_evm_v1alpha1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_stargazer_evm_v1alpha1_query_proto_goTypes = []interface{}{ - (*ParamsRequest)(nil), // 0: stargazer.evm.v1alpha1.ParamsRequest - (*ParamsResponse)(nil), // 1: stargazer.evm.v1alpha1.ParamsResponse - (*Params)(nil), // 2: stargazer.evm.v1alpha1.Params +var file_polaris_evm_v1alpha1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_polaris_evm_v1alpha1_query_proto_goTypes = []interface{}{ + (*ParamsRequest)(nil), // 0: polaris.evm.v1alpha1.ParamsRequest + (*ParamsResponse)(nil), // 1: polaris.evm.v1alpha1.ParamsResponse + (*Params)(nil), // 2: polaris.evm.v1alpha1.Params } -var file_stargazer_evm_v1alpha1_query_proto_depIdxs = []int32{ - 2, // 0: stargazer.evm.v1alpha1.ParamsResponse.params:type_name -> stargazer.evm.v1alpha1.Params - 0, // 1: stargazer.evm.v1alpha1.QueryService.Params:input_type -> stargazer.evm.v1alpha1.ParamsRequest - 1, // 2: stargazer.evm.v1alpha1.QueryService.Params:output_type -> stargazer.evm.v1alpha1.ParamsResponse +var file_polaris_evm_v1alpha1_query_proto_depIdxs = []int32{ + 2, // 0: polaris.evm.v1alpha1.ParamsResponse.params:type_name -> polaris.evm.v1alpha1.Params + 0, // 1: polaris.evm.v1alpha1.QueryService.Params:input_type -> polaris.evm.v1alpha1.ParamsRequest + 1, // 2: polaris.evm.v1alpha1.QueryService.Params:output_type -> polaris.evm.v1alpha1.ParamsResponse 2, // [2:3] is the sub-list for method output_type 1, // [1:2] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -975,14 +973,14 @@ var file_stargazer_evm_v1alpha1_query_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_stargazer_evm_v1alpha1_query_proto_init() } -func file_stargazer_evm_v1alpha1_query_proto_init() { - if File_stargazer_evm_v1alpha1_query_proto != nil { +func init() { file_polaris_evm_v1alpha1_query_proto_init() } +func file_polaris_evm_v1alpha1_query_proto_init() { + if File_polaris_evm_v1alpha1_query_proto != nil { return } - file_stargazer_evm_v1alpha1_params_proto_init() + file_polaris_evm_v1alpha1_params_proto_init() if !protoimpl.UnsafeEnabled { - file_stargazer_evm_v1alpha1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_polaris_evm_v1alpha1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ParamsRequest); i { case 0: return &v.state @@ -994,7 +992,7 @@ func file_stargazer_evm_v1alpha1_query_proto_init() { return nil } } - file_stargazer_evm_v1alpha1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_polaris_evm_v1alpha1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ParamsResponse); i { case 0: return &v.state @@ -1011,18 +1009,18 @@ func file_stargazer_evm_v1alpha1_query_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_stargazer_evm_v1alpha1_query_proto_rawDesc, + RawDescriptor: file_polaris_evm_v1alpha1_query_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_stargazer_evm_v1alpha1_query_proto_goTypes, - DependencyIndexes: file_stargazer_evm_v1alpha1_query_proto_depIdxs, - MessageInfos: file_stargazer_evm_v1alpha1_query_proto_msgTypes, + GoTypes: file_polaris_evm_v1alpha1_query_proto_goTypes, + DependencyIndexes: file_polaris_evm_v1alpha1_query_proto_depIdxs, + MessageInfos: file_polaris_evm_v1alpha1_query_proto_msgTypes, }.Build() - File_stargazer_evm_v1alpha1_query_proto = out.File - file_stargazer_evm_v1alpha1_query_proto_rawDesc = nil - file_stargazer_evm_v1alpha1_query_proto_goTypes = nil - file_stargazer_evm_v1alpha1_query_proto_depIdxs = nil + File_polaris_evm_v1alpha1_query_proto = out.File + file_polaris_evm_v1alpha1_query_proto_rawDesc = nil + file_polaris_evm_v1alpha1_query_proto_goTypes = nil + file_polaris_evm_v1alpha1_query_proto_depIdxs = nil } diff --git a/api/stargazer/evm/v1alpha1/query_grpc.pb.go b/api/polaris/evm/v1alpha1/query_grpc.pb.go similarity index 95% rename from api/stargazer/evm/v1alpha1/query_grpc.pb.go rename to api/polaris/evm/v1alpha1/query_grpc.pb.go index 4c9274f54..469441e55 100644 --- a/api/stargazer/evm/v1alpha1/query_grpc.pb.go +++ b/api/polaris/evm/v1alpha1/query_grpc.pb.go @@ -22,7 +22,7 @@ // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) -// source: stargazer/evm/v1alpha1/query.proto +// source: polaris/evm/v1alpha1/query.proto package evmv1alpha1 @@ -39,7 +39,7 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - QueryService_Params_FullMethodName = "/stargazer.evm.v1alpha1.QueryService/Params" + QueryService_Params_FullMethodName = "/polaris.evm.v1alpha1.QueryService/Params" ) // QueryServiceClient is the client API for QueryService service. @@ -118,7 +118,7 @@ func _QueryService_Params_Handler(srv interface{}, ctx context.Context, dec func // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var QueryService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "stargazer.evm.v1alpha1.QueryService", + ServiceName: "polaris.evm.v1alpha1.QueryService", HandlerType: (*QueryServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -127,5 +127,5 @@ var QueryService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "stargazer/evm/v1alpha1/query.proto", + Metadata: "polaris/evm/v1alpha1/query.proto", } diff --git a/api/stargazer/evm/v1alpha1/tx.pulsar.go b/api/polaris/evm/v1alpha1/tx.pulsar.go similarity index 81% rename from api/stargazer/evm/v1alpha1/tx.pulsar.go rename to api/polaris/evm/v1alpha1/tx.pulsar.go index d64dccbf5..8f5a13f66 100644 --- a/api/stargazer/evm/v1alpha1/tx.pulsar.go +++ b/api/polaris/evm/v1alpha1/tx.pulsar.go @@ -21,8 +21,8 @@ var ( ) func init() { - file_stargazer_evm_v1alpha1_tx_proto_init() - md_EthTransactionRequest = File_stargazer_evm_v1alpha1_tx_proto.Messages().ByName("EthTransactionRequest") + file_polaris_evm_v1alpha1_tx_proto_init() + md_EthTransactionRequest = File_polaris_evm_v1alpha1_tx_proto.Messages().ByName("EthTransactionRequest") fd_EthTransactionRequest_data = md_EthTransactionRequest.Fields().ByName("data") } @@ -35,7 +35,7 @@ func (x *EthTransactionRequest) ProtoReflect() protoreflect.Message { } func (x *EthTransactionRequest) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_evm_v1alpha1_tx_proto_msgTypes[0] + mi := &file_polaris_evm_v1alpha1_tx_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -112,13 +112,13 @@ func (x *fastReflection_EthTransactionRequest) Range(f func(protoreflect.FieldDe // a repeated field is populated if it is non-empty. func (x *fastReflection_EthTransactionRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionRequest.data": + case "polaris.evm.v1alpha1.EthTransactionRequest.data": return len(x.Data) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionRequest does not contain field %s", fd.FullName())) } } @@ -130,13 +130,13 @@ func (x *fastReflection_EthTransactionRequest) Has(fd protoreflect.FieldDescript // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EthTransactionRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionRequest.data": + case "polaris.evm.v1alpha1.EthTransactionRequest.data": x.Data = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionRequest does not contain field %s", fd.FullName())) } } @@ -148,14 +148,14 @@ func (x *fastReflection_EthTransactionRequest) Clear(fd protoreflect.FieldDescri // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_EthTransactionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionRequest.data": + case "polaris.evm.v1alpha1.EthTransactionRequest.data": value := x.Data return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionRequest does not contain field %s", descriptor.FullName())) } } @@ -171,13 +171,13 @@ func (x *fastReflection_EthTransactionRequest) Get(descriptor protoreflect.Field // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EthTransactionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionRequest.data": + case "polaris.evm.v1alpha1.EthTransactionRequest.data": x.Data = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionRequest does not contain field %s", fd.FullName())) } } @@ -193,13 +193,13 @@ func (x *fastReflection_EthTransactionRequest) Set(fd protoreflect.FieldDescript // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EthTransactionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionRequest.data": - panic(fmt.Errorf("field data of message stargazer.evm.v1alpha1.EthTransactionRequest is not mutable")) + case "polaris.evm.v1alpha1.EthTransactionRequest.data": + panic(fmt.Errorf("field data of message polaris.evm.v1alpha1.EthTransactionRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionRequest does not contain field %s", fd.FullName())) } } @@ -208,13 +208,13 @@ func (x *fastReflection_EthTransactionRequest) Mutable(fd protoreflect.FieldDesc // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_EthTransactionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionRequest.data": + case "polaris.evm.v1alpha1.EthTransactionRequest.data": return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionRequest does not contain field %s", fd.FullName())) } } @@ -224,7 +224,7 @@ func (x *fastReflection_EthTransactionRequest) NewField(fd protoreflect.FieldDes func (x *fastReflection_EthTransactionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.evm.v1alpha1.EthTransactionRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.evm.v1alpha1.EthTransactionRequest", d.FullName())) } panic("unreachable") } @@ -445,8 +445,8 @@ var ( ) func init() { - file_stargazer_evm_v1alpha1_tx_proto_init() - md_EthTransactionResponse = File_stargazer_evm_v1alpha1_tx_proto.Messages().ByName("EthTransactionResponse") + file_polaris_evm_v1alpha1_tx_proto_init() + md_EthTransactionResponse = File_polaris_evm_v1alpha1_tx_proto.Messages().ByName("EthTransactionResponse") fd_EthTransactionResponse_gas_used = md_EthTransactionResponse.Fields().ByName("gas_used") fd_EthTransactionResponse_vm_error = md_EthTransactionResponse.Fields().ByName("vm_error") fd_EthTransactionResponse_return_data = md_EthTransactionResponse.Fields().ByName("return_data") @@ -461,7 +461,7 @@ func (x *EthTransactionResponse) ProtoReflect() protoreflect.Message { } func (x *EthTransactionResponse) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_evm_v1alpha1_tx_proto_msgTypes[1] + mi := &file_polaris_evm_v1alpha1_tx_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -550,17 +550,17 @@ func (x *fastReflection_EthTransactionResponse) Range(f func(protoreflect.FieldD // a repeated field is populated if it is non-empty. func (x *fastReflection_EthTransactionResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionResponse.gas_used": + case "polaris.evm.v1alpha1.EthTransactionResponse.gas_used": return x.GasUsed != uint64(0) - case "stargazer.evm.v1alpha1.EthTransactionResponse.vm_error": + case "polaris.evm.v1alpha1.EthTransactionResponse.vm_error": return x.VmError != "" - case "stargazer.evm.v1alpha1.EthTransactionResponse.return_data": + case "polaris.evm.v1alpha1.EthTransactionResponse.return_data": return len(x.ReturnData) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionResponse does not contain field %s", fd.FullName())) } } @@ -572,17 +572,17 @@ func (x *fastReflection_EthTransactionResponse) Has(fd protoreflect.FieldDescrip // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EthTransactionResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionResponse.gas_used": + case "polaris.evm.v1alpha1.EthTransactionResponse.gas_used": x.GasUsed = uint64(0) - case "stargazer.evm.v1alpha1.EthTransactionResponse.vm_error": + case "polaris.evm.v1alpha1.EthTransactionResponse.vm_error": x.VmError = "" - case "stargazer.evm.v1alpha1.EthTransactionResponse.return_data": + case "polaris.evm.v1alpha1.EthTransactionResponse.return_data": x.ReturnData = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionResponse does not contain field %s", fd.FullName())) } } @@ -594,20 +594,20 @@ func (x *fastReflection_EthTransactionResponse) Clear(fd protoreflect.FieldDescr // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_EthTransactionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionResponse.gas_used": + case "polaris.evm.v1alpha1.EthTransactionResponse.gas_used": value := x.GasUsed return protoreflect.ValueOfUint64(value) - case "stargazer.evm.v1alpha1.EthTransactionResponse.vm_error": + case "polaris.evm.v1alpha1.EthTransactionResponse.vm_error": value := x.VmError return protoreflect.ValueOfString(value) - case "stargazer.evm.v1alpha1.EthTransactionResponse.return_data": + case "polaris.evm.v1alpha1.EthTransactionResponse.return_data": value := x.ReturnData return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionResponse does not contain field %s", descriptor.FullName())) } } @@ -623,17 +623,17 @@ func (x *fastReflection_EthTransactionResponse) Get(descriptor protoreflect.Fiel // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EthTransactionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionResponse.gas_used": + case "polaris.evm.v1alpha1.EthTransactionResponse.gas_used": x.GasUsed = value.Uint() - case "stargazer.evm.v1alpha1.EthTransactionResponse.vm_error": + case "polaris.evm.v1alpha1.EthTransactionResponse.vm_error": x.VmError = value.Interface().(string) - case "stargazer.evm.v1alpha1.EthTransactionResponse.return_data": + case "polaris.evm.v1alpha1.EthTransactionResponse.return_data": x.ReturnData = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionResponse does not contain field %s", fd.FullName())) } } @@ -649,17 +649,17 @@ func (x *fastReflection_EthTransactionResponse) Set(fd protoreflect.FieldDescrip // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EthTransactionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionResponse.gas_used": - panic(fmt.Errorf("field gas_used of message stargazer.evm.v1alpha1.EthTransactionResponse is not mutable")) - case "stargazer.evm.v1alpha1.EthTransactionResponse.vm_error": - panic(fmt.Errorf("field vm_error of message stargazer.evm.v1alpha1.EthTransactionResponse is not mutable")) - case "stargazer.evm.v1alpha1.EthTransactionResponse.return_data": - panic(fmt.Errorf("field return_data of message stargazer.evm.v1alpha1.EthTransactionResponse is not mutable")) + case "polaris.evm.v1alpha1.EthTransactionResponse.gas_used": + panic(fmt.Errorf("field gas_used of message polaris.evm.v1alpha1.EthTransactionResponse is not mutable")) + case "polaris.evm.v1alpha1.EthTransactionResponse.vm_error": + panic(fmt.Errorf("field vm_error of message polaris.evm.v1alpha1.EthTransactionResponse is not mutable")) + case "polaris.evm.v1alpha1.EthTransactionResponse.return_data": + panic(fmt.Errorf("field return_data of message polaris.evm.v1alpha1.EthTransactionResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionResponse does not contain field %s", fd.FullName())) } } @@ -668,17 +668,17 @@ func (x *fastReflection_EthTransactionResponse) Mutable(fd protoreflect.FieldDes // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_EthTransactionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.EthTransactionResponse.gas_used": + case "polaris.evm.v1alpha1.EthTransactionResponse.gas_used": return protoreflect.ValueOfUint64(uint64(0)) - case "stargazer.evm.v1alpha1.EthTransactionResponse.vm_error": + case "polaris.evm.v1alpha1.EthTransactionResponse.vm_error": return protoreflect.ValueOfString("") - case "stargazer.evm.v1alpha1.EthTransactionResponse.return_data": + case "polaris.evm.v1alpha1.EthTransactionResponse.return_data": return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.EthTransactionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.EthTransactionResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.EthTransactionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.EthTransactionResponse does not contain field %s", fd.FullName())) } } @@ -688,7 +688,7 @@ func (x *fastReflection_EthTransactionResponse) NewField(fd protoreflect.FieldDe func (x *fastReflection_EthTransactionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.evm.v1alpha1.EthTransactionResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.evm.v1alpha1.EthTransactionResponse", d.FullName())) } panic("unreachable") } @@ -978,8 +978,8 @@ var ( ) func init() { - file_stargazer_evm_v1alpha1_tx_proto_init() - md_UpdateParamsRequest = File_stargazer_evm_v1alpha1_tx_proto.Messages().ByName("UpdateParamsRequest") + file_polaris_evm_v1alpha1_tx_proto_init() + md_UpdateParamsRequest = File_polaris_evm_v1alpha1_tx_proto.Messages().ByName("UpdateParamsRequest") fd_UpdateParamsRequest_authority = md_UpdateParamsRequest.Fields().ByName("authority") fd_UpdateParamsRequest_params = md_UpdateParamsRequest.Fields().ByName("params") } @@ -993,7 +993,7 @@ func (x *UpdateParamsRequest) ProtoReflect() protoreflect.Message { } func (x *UpdateParamsRequest) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_evm_v1alpha1_tx_proto_msgTypes[2] + mi := &file_polaris_evm_v1alpha1_tx_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1076,15 +1076,15 @@ func (x *fastReflection_UpdateParamsRequest) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_UpdateParamsRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "stargazer.evm.v1alpha1.UpdateParamsRequest.authority": + case "polaris.evm.v1alpha1.UpdateParamsRequest.authority": return x.Authority != "" - case "stargazer.evm.v1alpha1.UpdateParamsRequest.params": + case "polaris.evm.v1alpha1.UpdateParamsRequest.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsRequest does not contain field %s", fd.FullName())) } } @@ -1096,15 +1096,15 @@ func (x *fastReflection_UpdateParamsRequest) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_UpdateParamsRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.UpdateParamsRequest.authority": + case "polaris.evm.v1alpha1.UpdateParamsRequest.authority": x.Authority = "" - case "stargazer.evm.v1alpha1.UpdateParamsRequest.params": + case "polaris.evm.v1alpha1.UpdateParamsRequest.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsRequest does not contain field %s", fd.FullName())) } } @@ -1116,17 +1116,17 @@ func (x *fastReflection_UpdateParamsRequest) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_UpdateParamsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "stargazer.evm.v1alpha1.UpdateParamsRequest.authority": + case "polaris.evm.v1alpha1.UpdateParamsRequest.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "stargazer.evm.v1alpha1.UpdateParamsRequest.params": + case "polaris.evm.v1alpha1.UpdateParamsRequest.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsRequest does not contain field %s", descriptor.FullName())) } } @@ -1142,15 +1142,15 @@ func (x *fastReflection_UpdateParamsRequest) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_UpdateParamsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "stargazer.evm.v1alpha1.UpdateParamsRequest.authority": + case "polaris.evm.v1alpha1.UpdateParamsRequest.authority": x.Authority = value.Interface().(string) - case "stargazer.evm.v1alpha1.UpdateParamsRequest.params": + case "polaris.evm.v1alpha1.UpdateParamsRequest.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsRequest does not contain field %s", fd.FullName())) } } @@ -1166,18 +1166,18 @@ func (x *fastReflection_UpdateParamsRequest) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_UpdateParamsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.UpdateParamsRequest.params": + case "polaris.evm.v1alpha1.UpdateParamsRequest.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) - case "stargazer.evm.v1alpha1.UpdateParamsRequest.authority": - panic(fmt.Errorf("field authority of message stargazer.evm.v1alpha1.UpdateParamsRequest is not mutable")) + case "polaris.evm.v1alpha1.UpdateParamsRequest.authority": + panic(fmt.Errorf("field authority of message polaris.evm.v1alpha1.UpdateParamsRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsRequest does not contain field %s", fd.FullName())) } } @@ -1186,16 +1186,16 @@ func (x *fastReflection_UpdateParamsRequest) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_UpdateParamsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "stargazer.evm.v1alpha1.UpdateParamsRequest.authority": + case "polaris.evm.v1alpha1.UpdateParamsRequest.authority": return protoreflect.ValueOfString("") - case "stargazer.evm.v1alpha1.UpdateParamsRequest.params": + case "polaris.evm.v1alpha1.UpdateParamsRequest.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsRequest")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsRequest does not contain field %s", fd.FullName())) } } @@ -1205,7 +1205,7 @@ func (x *fastReflection_UpdateParamsRequest) NewField(fd protoreflect.FieldDescr func (x *fastReflection_UpdateParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.evm.v1alpha1.UpdateParamsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.evm.v1alpha1.UpdateParamsRequest", d.FullName())) } panic("unreachable") } @@ -1475,8 +1475,8 @@ var ( ) func init() { - file_stargazer_evm_v1alpha1_tx_proto_init() - md_UpdateParamsResponse = File_stargazer_evm_v1alpha1_tx_proto.Messages().ByName("UpdateParamsResponse") + file_polaris_evm_v1alpha1_tx_proto_init() + md_UpdateParamsResponse = File_polaris_evm_v1alpha1_tx_proto.Messages().ByName("UpdateParamsResponse") } var _ protoreflect.Message = (*fastReflection_UpdateParamsResponse)(nil) @@ -1488,7 +1488,7 @@ func (x *UpdateParamsResponse) ProtoReflect() protoreflect.Message { } func (x *UpdateParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_stargazer_evm_v1alpha1_tx_proto_msgTypes[3] + mi := &file_polaris_evm_v1alpha1_tx_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1561,9 +1561,9 @@ func (x *fastReflection_UpdateParamsResponse) Has(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -1577,9 +1577,9 @@ func (x *fastReflection_UpdateParamsResponse) Clear(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -1593,9 +1593,9 @@ func (x *fastReflection_UpdateParamsResponse) Get(descriptor protoreflect.FieldD switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -1613,9 +1613,9 @@ func (x *fastReflection_UpdateParamsResponse) Set(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -1633,9 +1633,9 @@ func (x *fastReflection_UpdateParamsResponse) Mutable(fd protoreflect.FieldDescr switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -1646,9 +1646,9 @@ func (x *fastReflection_UpdateParamsResponse) NewField(fd protoreflect.FieldDesc switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: stargazer.evm.v1alpha1.UpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: polaris.evm.v1alpha1.UpdateParamsResponse")) } - panic(fmt.Errorf("message stargazer.evm.v1alpha1.UpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message polaris.evm.v1alpha1.UpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -1658,7 +1658,7 @@ func (x *fastReflection_UpdateParamsResponse) NewField(fd protoreflect.FieldDesc func (x *fastReflection_UpdateParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in stargazer.evm.v1alpha1.UpdateParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in polaris.evm.v1alpha1.UpdateParamsResponse", d.FullName())) } panic("unreachable") } @@ -1850,7 +1850,7 @@ func (x *fastReflection_UpdateParamsResponse) ProtoMethods() *protoiface.Methods // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: stargazer/evm/v1alpha1/tx.proto +// source: polaris/evm/v1alpha1/tx.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -1872,7 +1872,7 @@ type EthTransactionRequest struct { func (x *EthTransactionRequest) Reset() { *x = EthTransactionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_evm_v1alpha1_tx_proto_msgTypes[0] + mi := &file_polaris_evm_v1alpha1_tx_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1886,7 +1886,7 @@ func (*EthTransactionRequest) ProtoMessage() {} // Deprecated: Use EthTransactionRequest.ProtoReflect.Descriptor instead. func (*EthTransactionRequest) Descriptor() ([]byte, []int) { - return file_stargazer_evm_v1alpha1_tx_proto_rawDescGZIP(), []int{0} + return file_polaris_evm_v1alpha1_tx_proto_rawDescGZIP(), []int{0} } func (x *EthTransactionRequest) GetData() []byte { @@ -1913,7 +1913,7 @@ type EthTransactionResponse struct { func (x *EthTransactionResponse) Reset() { *x = EthTransactionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_evm_v1alpha1_tx_proto_msgTypes[1] + mi := &file_polaris_evm_v1alpha1_tx_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1927,7 +1927,7 @@ func (*EthTransactionResponse) ProtoMessage() {} // Deprecated: Use EthTransactionResponse.ProtoReflect.Descriptor instead. func (*EthTransactionResponse) Descriptor() ([]byte, []int) { - return file_stargazer_evm_v1alpha1_tx_proto_rawDescGZIP(), []int{1} + return file_polaris_evm_v1alpha1_tx_proto_rawDescGZIP(), []int{1} } func (x *EthTransactionResponse) GetGasUsed() uint64 { @@ -1970,7 +1970,7 @@ type UpdateParamsRequest struct { func (x *UpdateParamsRequest) Reset() { *x = UpdateParamsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_evm_v1alpha1_tx_proto_msgTypes[2] + mi := &file_polaris_evm_v1alpha1_tx_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1984,7 +1984,7 @@ func (*UpdateParamsRequest) ProtoMessage() {} // Deprecated: Use UpdateParamsRequest.ProtoReflect.Descriptor instead. func (*UpdateParamsRequest) Descriptor() ([]byte, []int) { - return file_stargazer_evm_v1alpha1_tx_proto_rawDescGZIP(), []int{2} + return file_polaris_evm_v1alpha1_tx_proto_rawDescGZIP(), []int{2} } func (x *UpdateParamsRequest) GetAuthority() string { @@ -2014,7 +2014,7 @@ type UpdateParamsResponse struct { func (x *UpdateParamsResponse) Reset() { *x = UpdateParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_stargazer_evm_v1alpha1_tx_proto_msgTypes[3] + mi := &file_polaris_evm_v1alpha1_tx_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2028,102 +2028,100 @@ func (*UpdateParamsResponse) ProtoMessage() {} // Deprecated: Use UpdateParamsResponse.ProtoReflect.Descriptor instead. func (*UpdateParamsResponse) Descriptor() ([]byte, []int) { - return file_stargazer_evm_v1alpha1_tx_proto_rawDescGZIP(), []int{3} -} - -var File_stargazer_evm_v1alpha1_tx_proto protoreflect.FileDescriptor - -var file_stargazer_evm_v1alpha1_tx_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x65, 0x76, 0x6d, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x16, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, - 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2f, 0x65, - 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, 0x0a, 0x15, 0x45, 0x74, 0x68, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x3a, 0x04, 0x88, 0xa0, 0x1f, 0x00, 0x22, 0x75, 0x0a, 0x16, 0x45, - 0x74, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, - 0x12, 0x19, 0x0a, 0x08, 0x76, 0x6d, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x76, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x72, - 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0a, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x3a, 0x04, 0x88, 0xa0, - 0x1f, 0x00, 0x22, 0x9b, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, - 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x74, 0x79, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, - 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x22, 0x16, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xef, 0x01, 0x0a, 0x0a, 0x4d, 0x73, 0x67, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x0e, 0x45, 0x74, 0x68, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x73, 0x74, 0x61, 0x72, - 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x45, 0x74, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, - 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x45, 0x74, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2b, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, - 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, - 0x72, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, + return file_polaris_evm_v1alpha1_tx_proto_rawDescGZIP(), []int{3} +} + +var File_polaris_evm_v1alpha1_tx_proto protoreflect.FileDescriptor + +var file_polaris_evm_v1alpha1_tx_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x14, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x73, + 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x21, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x31, 0x0a, 0x15, 0x45, 0x74, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x3a, + 0x04, 0x88, 0xa0, 0x1f, 0x00, 0x22, 0x75, 0x0a, 0x16, 0x45, 0x74, 0x68, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x07, 0x67, 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x76, 0x6d, + 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x6d, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x3a, 0x04, 0x88, 0xa0, 0x1f, 0x00, 0x22, 0x99, 0x01, 0x0a, + 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3a, 0x0a, 0x06, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, + 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, + 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x32, 0xe7, 0x01, 0x0a, 0x0a, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x6b, 0x0a, 0x0e, 0x45, 0x74, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x2b, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x74, 0x68, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, + 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x74, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0c, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x29, 0x2e, 0x70, + 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, + 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xd4, 0x01, 0x0a, 0x1a, 0x63, - 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x65, 0x76, 0x6d, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x33, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, - 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, - 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x76, - 0x6d, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x45, 0x58, 0xaa, - 0x02, 0x16, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x2e, 0x45, 0x76, 0x6d, 0x2e, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x16, 0x53, 0x74, 0x61, 0x72, 0x67, - 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xe2, 0x02, 0x22, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, 0x65, 0x72, 0x5c, 0x45, 0x76, - 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x53, 0x74, 0x61, 0x72, 0x67, 0x61, 0x7a, - 0x65, 0x72, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xc8, 0x01, 0x0a, 0x18, 0x63, + 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x31, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x6d, + 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x76, 0x6d, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x45, 0x58, 0xaa, 0x02, 0x14, 0x50, 0x6f, + 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0xca, 0x02, 0x14, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x5c, 0x45, 0x76, 0x6d, + 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x20, 0x50, 0x6f, 0x6c, 0x61, + 0x72, 0x69, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x50, + 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_stargazer_evm_v1alpha1_tx_proto_rawDescOnce sync.Once - file_stargazer_evm_v1alpha1_tx_proto_rawDescData = file_stargazer_evm_v1alpha1_tx_proto_rawDesc + file_polaris_evm_v1alpha1_tx_proto_rawDescOnce sync.Once + file_polaris_evm_v1alpha1_tx_proto_rawDescData = file_polaris_evm_v1alpha1_tx_proto_rawDesc ) -func file_stargazer_evm_v1alpha1_tx_proto_rawDescGZIP() []byte { - file_stargazer_evm_v1alpha1_tx_proto_rawDescOnce.Do(func() { - file_stargazer_evm_v1alpha1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_stargazer_evm_v1alpha1_tx_proto_rawDescData) +func file_polaris_evm_v1alpha1_tx_proto_rawDescGZIP() []byte { + file_polaris_evm_v1alpha1_tx_proto_rawDescOnce.Do(func() { + file_polaris_evm_v1alpha1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_polaris_evm_v1alpha1_tx_proto_rawDescData) }) - return file_stargazer_evm_v1alpha1_tx_proto_rawDescData -} - -var file_stargazer_evm_v1alpha1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_stargazer_evm_v1alpha1_tx_proto_goTypes = []interface{}{ - (*EthTransactionRequest)(nil), // 0: stargazer.evm.v1alpha1.EthTransactionRequest - (*EthTransactionResponse)(nil), // 1: stargazer.evm.v1alpha1.EthTransactionResponse - (*UpdateParamsRequest)(nil), // 2: stargazer.evm.v1alpha1.UpdateParamsRequest - (*UpdateParamsResponse)(nil), // 3: stargazer.evm.v1alpha1.UpdateParamsResponse - (*Params)(nil), // 4: stargazer.evm.v1alpha1.Params -} -var file_stargazer_evm_v1alpha1_tx_proto_depIdxs = []int32{ - 4, // 0: stargazer.evm.v1alpha1.UpdateParamsRequest.params:type_name -> stargazer.evm.v1alpha1.Params - 0, // 1: stargazer.evm.v1alpha1.MsgService.EthTransaction:input_type -> stargazer.evm.v1alpha1.EthTransactionRequest - 2, // 2: stargazer.evm.v1alpha1.MsgService.UpdateParams:input_type -> stargazer.evm.v1alpha1.UpdateParamsRequest - 1, // 3: stargazer.evm.v1alpha1.MsgService.EthTransaction:output_type -> stargazer.evm.v1alpha1.EthTransactionResponse - 3, // 4: stargazer.evm.v1alpha1.MsgService.UpdateParams:output_type -> stargazer.evm.v1alpha1.UpdateParamsResponse + return file_polaris_evm_v1alpha1_tx_proto_rawDescData +} + +var file_polaris_evm_v1alpha1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_polaris_evm_v1alpha1_tx_proto_goTypes = []interface{}{ + (*EthTransactionRequest)(nil), // 0: polaris.evm.v1alpha1.EthTransactionRequest + (*EthTransactionResponse)(nil), // 1: polaris.evm.v1alpha1.EthTransactionResponse + (*UpdateParamsRequest)(nil), // 2: polaris.evm.v1alpha1.UpdateParamsRequest + (*UpdateParamsResponse)(nil), // 3: polaris.evm.v1alpha1.UpdateParamsResponse + (*Params)(nil), // 4: polaris.evm.v1alpha1.Params +} +var file_polaris_evm_v1alpha1_tx_proto_depIdxs = []int32{ + 4, // 0: polaris.evm.v1alpha1.UpdateParamsRequest.params:type_name -> polaris.evm.v1alpha1.Params + 0, // 1: polaris.evm.v1alpha1.MsgService.EthTransaction:input_type -> polaris.evm.v1alpha1.EthTransactionRequest + 2, // 2: polaris.evm.v1alpha1.MsgService.UpdateParams:input_type -> polaris.evm.v1alpha1.UpdateParamsRequest + 1, // 3: polaris.evm.v1alpha1.MsgService.EthTransaction:output_type -> polaris.evm.v1alpha1.EthTransactionResponse + 3, // 4: polaris.evm.v1alpha1.MsgService.UpdateParams:output_type -> polaris.evm.v1alpha1.UpdateParamsResponse 3, // [3:5] is the sub-list for method output_type 1, // [1:3] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -2131,14 +2129,14 @@ var file_stargazer_evm_v1alpha1_tx_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_stargazer_evm_v1alpha1_tx_proto_init() } -func file_stargazer_evm_v1alpha1_tx_proto_init() { - if File_stargazer_evm_v1alpha1_tx_proto != nil { +func init() { file_polaris_evm_v1alpha1_tx_proto_init() } +func file_polaris_evm_v1alpha1_tx_proto_init() { + if File_polaris_evm_v1alpha1_tx_proto != nil { return } - file_stargazer_evm_v1alpha1_params_proto_init() + file_polaris_evm_v1alpha1_params_proto_init() if !protoimpl.UnsafeEnabled { - file_stargazer_evm_v1alpha1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_polaris_evm_v1alpha1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EthTransactionRequest); i { case 0: return &v.state @@ -2150,7 +2148,7 @@ func file_stargazer_evm_v1alpha1_tx_proto_init() { return nil } } - file_stargazer_evm_v1alpha1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_polaris_evm_v1alpha1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EthTransactionResponse); i { case 0: return &v.state @@ -2162,7 +2160,7 @@ func file_stargazer_evm_v1alpha1_tx_proto_init() { return nil } } - file_stargazer_evm_v1alpha1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_polaris_evm_v1alpha1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateParamsRequest); i { case 0: return &v.state @@ -2174,7 +2172,7 @@ func file_stargazer_evm_v1alpha1_tx_proto_init() { return nil } } - file_stargazer_evm_v1alpha1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_polaris_evm_v1alpha1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateParamsResponse); i { case 0: return &v.state @@ -2191,18 +2189,18 @@ func file_stargazer_evm_v1alpha1_tx_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_stargazer_evm_v1alpha1_tx_proto_rawDesc, + RawDescriptor: file_polaris_evm_v1alpha1_tx_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_stargazer_evm_v1alpha1_tx_proto_goTypes, - DependencyIndexes: file_stargazer_evm_v1alpha1_tx_proto_depIdxs, - MessageInfos: file_stargazer_evm_v1alpha1_tx_proto_msgTypes, + GoTypes: file_polaris_evm_v1alpha1_tx_proto_goTypes, + DependencyIndexes: file_polaris_evm_v1alpha1_tx_proto_depIdxs, + MessageInfos: file_polaris_evm_v1alpha1_tx_proto_msgTypes, }.Build() - File_stargazer_evm_v1alpha1_tx_proto = out.File - file_stargazer_evm_v1alpha1_tx_proto_rawDesc = nil - file_stargazer_evm_v1alpha1_tx_proto_goTypes = nil - file_stargazer_evm_v1alpha1_tx_proto_depIdxs = nil + File_polaris_evm_v1alpha1_tx_proto = out.File + file_polaris_evm_v1alpha1_tx_proto_rawDesc = nil + file_polaris_evm_v1alpha1_tx_proto_goTypes = nil + file_polaris_evm_v1alpha1_tx_proto_depIdxs = nil } diff --git a/api/stargazer/evm/v1alpha1/tx_grpc.pb.go b/api/polaris/evm/v1alpha1/tx_grpc.pb.go similarity index 95% rename from api/stargazer/evm/v1alpha1/tx_grpc.pb.go rename to api/polaris/evm/v1alpha1/tx_grpc.pb.go index 65c2036d6..aa979ac07 100644 --- a/api/stargazer/evm/v1alpha1/tx_grpc.pb.go +++ b/api/polaris/evm/v1alpha1/tx_grpc.pb.go @@ -22,7 +22,7 @@ // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) -// source: stargazer/evm/v1alpha1/tx.proto +// source: polaris/evm/v1alpha1/tx.proto package evmv1alpha1 @@ -39,8 +39,8 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - MsgService_EthTransaction_FullMethodName = "/stargazer.evm.v1alpha1.MsgService/EthTransaction" - MsgService_UpdateParams_FullMethodName = "/stargazer.evm.v1alpha1.MsgService/UpdateParams" + MsgService_EthTransaction_FullMethodName = "/polaris.evm.v1alpha1.MsgService/EthTransaction" + MsgService_UpdateParams_FullMethodName = "/polaris.evm.v1alpha1.MsgService/UpdateParams" ) // MsgServiceClient is the client API for MsgService service. @@ -159,7 +159,7 @@ func _MsgService_UpdateParams_Handler(srv interface{}, ctx context.Context, dec // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var MsgService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "stargazer.evm.v1alpha1.MsgService", + ServiceName: "polaris.evm.v1alpha1.MsgService", HandlerType: (*MsgServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -172,5 +172,5 @@ var MsgService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "stargazer/evm/v1alpha1/tx.proto", + Metadata: "polaris/evm/v1alpha1/tx.proto", } diff --git a/build/.golangci.yaml b/build/.golangci.yaml index b4eb2944d..c759bda14 100644 --- a/build/.golangci.yaml +++ b/build/.golangci.yaml @@ -18,8 +18,6 @@ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND # TITLE. - - # This code is licensed under the terms of the MIT license. ## Golden config for golangci-lint v1.50.1 @@ -105,7 +103,7 @@ linters-settings: - Prefix(github.com/cosmos/cosmos-sdk - Prefix(github.com/ethereum/go-ethereum - Prefix(pkg.berachain.dev - - Prefix(pkg.berachain.dev/stargazer + - Prefix(pkg.berachain.dev/polaris - blank - dot skip-generated: true diff --git a/build/mage/build.go b/build/mage/build.go index 2c69e3379..ba9402657 100644 --- a/build/mage/build.go +++ b/build/mage/build.go @@ -27,7 +27,7 @@ import ( "github.com/magefile/mage/sh" "github.com/magefile/mage/target" - mi "pkg.berachain.dev/stargazer/build/mage/internal" + mi "pkg.berachain.dev/polaris/build/mage/internal" ) var ( diff --git a/build/mage/docker.go b/build/mage/docker.go index 5fc573f02..280812799 100644 --- a/build/mage/docker.go +++ b/build/mage/docker.go @@ -20,7 +20,7 @@ package mage -import mi "pkg.berachain.dev/stargazer/build/mage/internal" +import mi "pkg.berachain.dev/polaris/build/mage/internal" var ( // Commands. diff --git a/build/mage/forge.go b/build/mage/forge.go index 5182ee08c..46e7586f4 100644 --- a/build/mage/forge.go +++ b/build/mage/forge.go @@ -24,7 +24,7 @@ import ( "fmt" "os" - mi "pkg.berachain.dev/stargazer/build/mage/internal" + mi "pkg.berachain.dev/polaris/build/mage/internal" ) var ( diff --git a/build/mage/proto.go b/build/mage/proto.go index 161272c2f..3f15c7618 100644 --- a/build/mage/proto.go +++ b/build/mage/proto.go @@ -24,7 +24,7 @@ import ( "fmt" "os" - mi "pkg.berachain.dev/stargazer/build/mage/internal" + mi "pkg.berachain.dev/polaris/build/mage/internal" ) var ( diff --git a/build/mage/test.go b/build/mage/test.go index 09b9fafaa..c29afa1ce 100644 --- a/build/mage/test.go +++ b/build/mage/test.go @@ -23,7 +23,7 @@ package mage import ( "github.com/magefile/mage/sh" - mi "pkg.berachain.dev/stargazer/build/mage/internal" + mi "pkg.berachain.dev/polaris/build/mage/internal" ) var ( diff --git a/build/scripts/proto/proto_generate.sh b/build/scripts/proto/proto_generate.sh index b1d89d187..81ebfca6e 100755 --- a/build/scripts/proto/proto_generate.sh +++ b/build/scripts/proto/proto_generate.sh @@ -44,7 +44,7 @@ for dir in $proto_dirs; do done # move proto files to the right places -cp -r pkg.berachain.dev/stargazer/* ../ +cp -r pkg.berachain.dev/polaris/* ../ rm -rf pkg.berachain.dev cd ../ diff --git a/crypto/codec/codec.go b/crypto/codec/codec.go index 0e48700d4..9898b9c1f 100644 --- a/crypto/codec/codec.go +++ b/crypto/codec/codec.go @@ -24,7 +24,7 @@ import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "pkg.berachain.dev/stargazer/crypto/keys/ethsecp256k1" + "pkg.berachain.dev/polaris/crypto/keys/ethsecp256k1" ) // `RegisterInterfaces` registers the ethsecp256k1 key types. diff --git a/crypto/hd/algo.go b/crypto/hd/algo.go index dd19bf205..a7ed313e2 100644 --- a/crypto/hd/algo.go +++ b/crypto/hd/algo.go @@ -27,8 +27,8 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keyring" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "pkg.berachain.dev/stargazer/crypto/keys/ethsecp256k1" - "pkg.berachain.dev/stargazer/eth/crypto" + "pkg.berachain.dev/polaris/crypto/keys/ethsecp256k1" + "pkg.berachain.dev/polaris/eth/crypto" ) const ( diff --git a/crypto/hd/algo_test.go b/crypto/hd/algo_test.go index ffbf6fce3..e3f5c26cc 100644 --- a/crypto/hd/algo_test.go +++ b/crypto/hd/algo_test.go @@ -25,11 +25,11 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keyring" - ethsecp256k1 "pkg.berachain.dev/stargazer/crypto/keys/ethsecp256k1" - "pkg.berachain.dev/stargazer/eth/accounts" - "pkg.berachain.dev/stargazer/eth/common" - crypto "pkg.berachain.dev/stargazer/eth/crypto" - "pkg.berachain.dev/stargazer/lib/utils" + ethsecp256k1 "pkg.berachain.dev/polaris/crypto/keys/ethsecp256k1" + "pkg.berachain.dev/polaris/eth/accounts" + "pkg.berachain.dev/polaris/eth/common" + crypto "pkg.berachain.dev/polaris/eth/crypto" + "pkg.berachain.dev/polaris/lib/utils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/crypto/keyring/option.go b/crypto/keyring/option.go index 9c7d1bc0f..b69c184d9 100644 --- a/crypto/keyring/option.go +++ b/crypto/keyring/option.go @@ -24,7 +24,7 @@ import ( sdkhd "github.com/cosmos/cosmos-sdk/crypto/hd" "github.com/cosmos/cosmos-sdk/crypto/keyring" - "pkg.berachain.dev/stargazer/crypto/hd" + "pkg.berachain.dev/polaris/crypto/hd" ) // `EthSecp256k1Option` defines a function keys options for the ethereum Secp256k1 curve. diff --git a/crypto/keyring/option_test.go b/crypto/keyring/option_test.go index 658fe6df5..6aea847cb 100644 --- a/crypto/keyring/option_test.go +++ b/crypto/keyring/option_test.go @@ -31,10 +31,10 @@ import ( cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/cosmos/cosmos-sdk/std" - cryptocodec "pkg.berachain.dev/stargazer/crypto/codec" - "pkg.berachain.dev/stargazer/crypto/hd" - accounts "pkg.berachain.dev/stargazer/eth/accounts" - "pkg.berachain.dev/stargazer/eth/common" + cryptocodec "pkg.berachain.dev/polaris/crypto/codec" + "pkg.berachain.dev/polaris/crypto/hd" + accounts "pkg.berachain.dev/polaris/eth/accounts" + "pkg.berachain.dev/polaris/eth/common" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/crypto/keys/ethsecp256k1/keys.go b/crypto/keys/ethsecp256k1/keys.go index 067a5de8b..e49cedee0 100644 --- a/crypto/keys/ethsecp256k1/keys.go +++ b/crypto/keys/ethsecp256k1/keys.go @@ -29,7 +29,7 @@ import ( cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "pkg.berachain.dev/stargazer/eth/crypto" + "pkg.berachain.dev/polaris/eth/crypto" ) const ( diff --git a/crypto/keys/ethsecp256k1/keys.pb.go b/crypto/keys/ethsecp256k1/keys.pb.go index 771e5ee89..35b223c6c 100644 --- a/crypto/keys/ethsecp256k1/keys.pb.go +++ b/crypto/keys/ethsecp256k1/keys.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: stargazer/crypto/ethsecp256k1/v1/keys.proto +// source: polaris/crypto/ethsecp256k1/v1/keys.proto package ethsecp256k1 @@ -34,7 +34,7 @@ func (m *PubKey) Reset() { *m = PubKey{} } func (m *PubKey) String() string { return proto.CompactTextString(m) } func (*PubKey) ProtoMessage() {} func (*PubKey) Descriptor() ([]byte, []int) { - return fileDescriptor_97bdc59afe8db311, []int{0} + return fileDescriptor_e0c989ba1b8717d6, []int{0} } func (m *PubKey) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -81,7 +81,7 @@ func (m *PrivKey) Reset() { *m = PrivKey{} } func (m *PrivKey) String() string { return proto.CompactTextString(m) } func (*PrivKey) ProtoMessage() {} func (*PrivKey) Descriptor() ([]byte, []int) { - return fileDescriptor_97bdc59afe8db311, []int{1} + return fileDescriptor_e0c989ba1b8717d6, []int{1} } func (m *PrivKey) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -118,28 +118,27 @@ func (m *PrivKey) GetKey() []byte { } func init() { - proto.RegisterType((*PubKey)(nil), "stargazer.crypto.ethsecp256k1.v1.PubKey") - proto.RegisterType((*PrivKey)(nil), "stargazer.crypto.ethsecp256k1.v1.PrivKey") + proto.RegisterType((*PubKey)(nil), "polaris.crypto.ethsecp256k1.v1.PubKey") + proto.RegisterType((*PrivKey)(nil), "polaris.crypto.ethsecp256k1.v1.PrivKey") } func init() { - proto.RegisterFile("stargazer/crypto/ethsecp256k1/v1/keys.proto", fileDescriptor_97bdc59afe8db311) + proto.RegisterFile("polaris/crypto/ethsecp256k1/v1/keys.proto", fileDescriptor_e0c989ba1b8717d6) } -var fileDescriptor_97bdc59afe8db311 = []byte{ - // 178 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2e, 0x2e, 0x49, 0x2c, - 0x4a, 0x4f, 0xac, 0x4a, 0x2d, 0xd2, 0x4f, 0x2e, 0xaa, 0x2c, 0x28, 0xc9, 0xd7, 0x4f, 0x2d, 0xc9, - 0x28, 0x4e, 0x4d, 0x2e, 0x30, 0x32, 0x35, 0xcb, 0x36, 0xd4, 0x2f, 0x33, 0xd4, 0xcf, 0x4e, 0xad, - 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x80, 0x2b, 0xd6, 0x83, 0x28, 0xd6, 0x43, - 0x56, 0xac, 0x57, 0x66, 0xa8, 0x24, 0xc5, 0xc5, 0x16, 0x50, 0x9a, 0xe4, 0x9d, 0x5a, 0x29, 0x24, - 0xc0, 0xc5, 0x9c, 0x9d, 0x5a, 0x29, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x13, 0x04, 0x62, 0x2a, 0x49, - 0x73, 0xb1, 0x07, 0x14, 0x65, 0x96, 0x61, 0x95, 0x74, 0xf2, 0x3b, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, - 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, - 0xc6, 0x63, 0x39, 0x86, 0x28, 0x93, 0x82, 0xec, 0x74, 0xbd, 0xa4, 0xd4, 0xa2, 0xc4, 0xe4, 0x8c, - 0xc4, 0xcc, 0x3c, 0xbd, 0x94, 0xd4, 0x32, 0x7d, 0x0c, 0x37, 0x83, 0xdc, 0x88, 0xe2, 0xf0, 0x24, - 0x36, 0xb0, 0x8b, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe8, 0x21, 0x72, 0x46, 0xe0, 0x00, - 0x00, 0x00, +var fileDescriptor_e0c989ba1b8717d6 = []byte{ + // 176 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2c, 0xc8, 0xcf, 0x49, + 0x2c, 0xca, 0x2c, 0xd6, 0x4f, 0x2e, 0xaa, 0x2c, 0x28, 0xc9, 0xd7, 0x4f, 0x2d, 0xc9, 0x28, 0x4e, + 0x4d, 0x2e, 0x30, 0x32, 0x35, 0xcb, 0x36, 0xd4, 0x2f, 0x33, 0xd4, 0xcf, 0x4e, 0xad, 0x2c, 0xd6, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x83, 0x2a, 0xd5, 0x83, 0x28, 0xd5, 0x43, 0x56, 0xaa, + 0x57, 0x66, 0xa8, 0x24, 0xc5, 0xc5, 0x16, 0x50, 0x9a, 0xe4, 0x9d, 0x5a, 0x29, 0x24, 0xc0, 0xc5, + 0x9c, 0x9d, 0x5a, 0x29, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x13, 0x04, 0x62, 0x2a, 0x49, 0x73, 0xb1, + 0x07, 0x14, 0x65, 0x96, 0x61, 0x95, 0x74, 0xf2, 0x39, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, + 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, + 0x39, 0x86, 0x28, 0xa3, 0x82, 0xec, 0x74, 0xbd, 0xa4, 0xd4, 0xa2, 0xc4, 0xe4, 0x8c, 0xc4, 0xcc, + 0x3c, 0xbd, 0x94, 0xd4, 0x32, 0x7d, 0x34, 0xf7, 0x82, 0xdc, 0x87, 0xe2, 0xe8, 0x24, 0x36, 0xb0, + 0x6b, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xd2, 0x2e, 0x01, 0xda, 0x00, 0x00, 0x00, } func (m *PubKey) Marshal() (dAtA []byte, err error) { diff --git a/crypto/keys/ethsecp256k1/keys_test.go b/crypto/keys/ethsecp256k1/keys_test.go index 364328def..df0023ea4 100644 --- a/crypto/keys/ethsecp256k1/keys_test.go +++ b/crypto/keys/ethsecp256k1/keys_test.go @@ -25,7 +25,7 @@ import ( cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "pkg.berachain.dev/stargazer/eth/crypto" + "pkg.berachain.dev/polaris/eth/crypto" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/crypto/keys/ethsecp256k1/signature_cgo.go b/crypto/keys/ethsecp256k1/signature_cgo.go index 42f03c9f9..968a9fd2c 100644 --- a/crypto/keys/ethsecp256k1/signature_cgo.go +++ b/crypto/keys/ethsecp256k1/signature_cgo.go @@ -21,7 +21,7 @@ package ethsecp256k1 import ( - "pkg.berachain.dev/stargazer/eth/crypto" + "pkg.berachain.dev/polaris/eth/crypto" ) // `Sign` signs the provided message using the ECDSA private key. It returns an error if the diff --git a/crypto/keys/ethsecp256k1/signature_cgo_test.go b/crypto/keys/ethsecp256k1/signature_cgo_test.go index cebfc3297..1933a05b8 100644 --- a/crypto/keys/ethsecp256k1/signature_cgo_test.go +++ b/crypto/keys/ethsecp256k1/signature_cgo_test.go @@ -23,7 +23,7 @@ package ethsecp256k1 import ( "crypto/ecdsa" - "pkg.berachain.dev/stargazer/eth/crypto" + "pkg.berachain.dev/polaris/eth/crypto" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/eth/accounts/abi/abi_test.go b/eth/accounts/abi/abi_test.go index 351e054f7..2bd0b1b05 100644 --- a/eth/accounts/abi/abi_test.go +++ b/eth/accounts/abi/abi_test.go @@ -23,7 +23,7 @@ package abi_test import ( "testing" - "pkg.berachain.dev/stargazer/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/accounts/abi" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/eth/api/chain.go b/eth/api/chain.go index c48919032..64a6c9575 100644 --- a/eth/api/chain.go +++ b/eth/api/chain.go @@ -21,7 +21,7 @@ package api import ( - "pkg.berachain.dev/stargazer/eth/core" + "pkg.berachain.dev/polaris/eth/core" ) // `Chain` defines the methods that the Polaris Ethereum API exposes. This is the only interface diff --git a/eth/core/chain.go b/eth/core/chain.go index 507f4dd13..123ed1f73 100644 --- a/eth/core/chain.go +++ b/eth/core/chain.go @@ -26,10 +26,10 @@ import ( lru "github.com/ethereum/go-ethereum/common/lru" "github.com/ethereum/go-ethereum/event" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/state" - "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/core/vm" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/state" + "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/core/vm" ) // By default we are storing up to 64mb of historical data for each cache. diff --git a/eth/core/chain_context.go b/eth/core/chain_context.go index 6989c5f82..be74c72cc 100644 --- a/eth/core/chain_context.go +++ b/eth/core/chain_context.go @@ -23,8 +23,8 @@ package core import ( "github.com/ethereum/go-ethereum/consensus" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/types" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/types" ) // Compile-time interface assertion. diff --git a/eth/core/chain_reader.go b/eth/core/chain_reader.go index d148e7f6c..c1426f3b7 100644 --- a/eth/core/chain_reader.go +++ b/eth/core/chain_reader.go @@ -23,10 +23,10 @@ package core import ( "errors" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/params" - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/params" + "pkg.berachain.dev/polaris/lib/utils" ) // `ChainReader` defines methods that are used to read the state and blocks of the chain. diff --git a/eth/core/chain_resources.go b/eth/core/chain_resources.go index ccf47f6dd..9d8521f38 100644 --- a/eth/core/chain_resources.go +++ b/eth/core/chain_resources.go @@ -23,9 +23,9 @@ package core import ( "context" - "pkg.berachain.dev/stargazer/eth/core/state" - "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/core/vm" + "pkg.berachain.dev/polaris/eth/core/state" + "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/core/vm" ) // `ChainResources` is the interface that defines functions for code paths within the chain to acquire diff --git a/eth/core/chain_subscriber.go b/eth/core/chain_subscriber.go index f869d2422..efad0745c 100644 --- a/eth/core/chain_subscriber.go +++ b/eth/core/chain_subscriber.go @@ -23,7 +23,7 @@ package core import ( "github.com/ethereum/go-ethereum/event" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" + coretypes "pkg.berachain.dev/polaris/eth/core/types" ) type ChainSubscriber interface { diff --git a/eth/core/chain_writer.go b/eth/core/chain_writer.go index 03ef65b11..fc88b0193 100644 --- a/eth/core/chain_writer.go +++ b/eth/core/chain_writer.go @@ -25,8 +25,8 @@ import ( "github.com/ethereum/go-ethereum/core/vm" - "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/lib/utils" ) // `ChainWriter` defines methods that are used to perform state and block transitions. diff --git a/eth/core/host.go b/eth/core/host.go index 772dc5f79..85cb72427 100644 --- a/eth/core/host.go +++ b/eth/core/host.go @@ -21,12 +21,12 @@ package core import ( - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" - "pkg.berachain.dev/stargazer/eth/core/state" - "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/params" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/precompile" + "pkg.berachain.dev/polaris/eth/core/state" + "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/params" + libtypes "pkg.berachain.dev/polaris/lib/types" ) // `PolarisHostChain` defines the plugins that the chain running Polaris EVM should implement. diff --git a/eth/core/mock/block_plugin.mock.go b/eth/core/mock/block_plugin.mock.go index d4bffd710..5ee0856f5 100644 --- a/eth/core/mock/block_plugin.mock.go +++ b/eth/core/mock/block_plugin.mock.go @@ -7,8 +7,8 @@ import ( "context" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "pkg.berachain.dev/stargazer/eth/core" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" + "pkg.berachain.dev/polaris/eth/core" + coretypes "pkg.berachain.dev/polaris/eth/core/types" "sync" ) diff --git a/eth/core/mock/config_plugin.go b/eth/core/mock/config_plugin.go index c6bf8737c..82ad12e2d 100644 --- a/eth/core/mock/config_plugin.go +++ b/eth/core/mock/config_plugin.go @@ -23,8 +23,8 @@ package mock import ( "context" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/params" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/params" ) // const testBaseFee = 69 diff --git a/eth/core/mock/config_plugin.mock.go b/eth/core/mock/config_plugin.mock.go index 23ba80fa3..31c4a1782 100644 --- a/eth/core/mock/config_plugin.mock.go +++ b/eth/core/mock/config_plugin.mock.go @@ -7,7 +7,7 @@ import ( "context" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/params" - "pkg.berachain.dev/stargazer/eth/core" + "pkg.berachain.dev/polaris/eth/core" "sync" ) diff --git a/eth/core/mock/gas.go b/eth/core/mock/gas.go index 0f664b3c1..135a0f932 100644 --- a/eth/core/mock/gas.go +++ b/eth/core/mock/gas.go @@ -24,7 +24,7 @@ import ( "context" "errors" - "pkg.berachain.dev/stargazer/eth/core" + "pkg.berachain.dev/polaris/eth/core" ) type GasPluginMock struct { diff --git a/eth/core/mock/host.go b/eth/core/mock/host.go index b2541d1b4..b992a3806 100644 --- a/eth/core/mock/host.go +++ b/eth/core/mock/host.go @@ -21,7 +21,7 @@ package mock import ( - "pkg.berachain.dev/stargazer/eth/core" + "pkg.berachain.dev/polaris/eth/core" ) //go:generate moq -out ./host.mock.go -pkg mock ../ PolarisHostChain diff --git a/eth/core/mock/host.mock.go b/eth/core/mock/host.mock.go index 59dc7dc20..2ab6bdd5c 100644 --- a/eth/core/mock/host.mock.go +++ b/eth/core/mock/host.mock.go @@ -4,8 +4,8 @@ package mock import ( - "pkg.berachain.dev/stargazer/eth/core" - "pkg.berachain.dev/stargazer/eth/core/precompile" + "pkg.berachain.dev/polaris/eth/core" + "pkg.berachain.dev/polaris/eth/core/precompile" "sync" ) diff --git a/eth/core/mock/message.go b/eth/core/mock/message.go index d34995595..56e29c3e7 100644 --- a/eth/core/mock/message.go +++ b/eth/core/mock/message.go @@ -23,8 +23,8 @@ package mock import ( "math/big" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/types" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/types" ) //go:generate moq -out ./message.mock.go -pkg mock ../ Message diff --git a/eth/core/mock/message.mock.go b/eth/core/mock/message.mock.go index 26d09284b..998478aa8 100644 --- a/eth/core/mock/message.mock.go +++ b/eth/core/mock/message.mock.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "math/big" - "pkg.berachain.dev/stargazer/eth/core" + "pkg.berachain.dev/polaris/eth/core" "sync" ) diff --git a/eth/core/mock/precompile_plugin.go b/eth/core/mock/precompile_plugin.go index 5c6a536b3..c3c74e522 100644 --- a/eth/core/mock/precompile_plugin.go +++ b/eth/core/mock/precompile_plugin.go @@ -23,7 +23,7 @@ package mock import ( "github.com/ethereum/go-ethereum/params" - "pkg.berachain.dev/stargazer/eth/core/vm" + "pkg.berachain.dev/polaris/eth/core/vm" ) //go:generate moq -out ./precompile_plugin.mock.go -pkg mock ../ PrecompilePlugin diff --git a/eth/core/mock/precompile_plugin.mock.go b/eth/core/mock/precompile_plugin.mock.go index 4007cf9a6..560435503 100644 --- a/eth/core/mock/precompile_plugin.mock.go +++ b/eth/core/mock/precompile_plugin.mock.go @@ -9,8 +9,8 @@ import ( "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/params" "math/big" - "pkg.berachain.dev/stargazer/eth/core" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/eth/core" + libtypes "pkg.berachain.dev/polaris/lib/types" "sync" ) diff --git a/eth/core/mock/state_plugin.mock.go b/eth/core/mock/state_plugin.mock.go index 3e8d42d8f..289307645 100644 --- a/eth/core/mock/state_plugin.mock.go +++ b/eth/core/mock/state_plugin.mock.go @@ -7,7 +7,7 @@ import ( "context" "github.com/ethereum/go-ethereum/common" "math/big" - "pkg.berachain.dev/stargazer/eth/core" + "pkg.berachain.dev/polaris/eth/core" "sync" ) diff --git a/eth/core/precompile/default_plugin.go b/eth/core/precompile/default_plugin.go index caf2ef889..aacc21dae 100644 --- a/eth/core/precompile/default_plugin.go +++ b/eth/core/precompile/default_plugin.go @@ -24,11 +24,11 @@ import ( "context" "math/big" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/eth/params" - "pkg.berachain.dev/stargazer/lib/registry" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/eth/params" + "pkg.berachain.dev/polaris/lib/registry" + libtypes "pkg.berachain.dev/polaris/lib/types" ) // `defaultPlugin` is the default precompile plugin, should any chain running Polaris EVM not diff --git a/eth/core/precompile/default_plugin_test.go b/eth/core/precompile/default_plugin_test.go index 6b5bb2f47..646ab0a5c 100644 --- a/eth/core/precompile/default_plugin_test.go +++ b/eth/core/precompile/default_plugin_test.go @@ -23,8 +23,8 @@ package precompile_test import ( "github.com/ethereum/go-ethereum/core/vm" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/precompile" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/eth/core/precompile/factories.go b/eth/core/precompile/factories.go index 4627071da..78de06ac1 100644 --- a/eth/core/precompile/factories.go +++ b/eth/core/precompile/factories.go @@ -21,10 +21,10 @@ package precompile import ( - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/lib/errors" - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/lib/errors" + "pkg.berachain.dev/polaris/lib/utils" ) const ( diff --git a/eth/core/precompile/factories_test.go b/eth/core/precompile/factories_test.go index 73925e0f6..9ff23d8d2 100644 --- a/eth/core/precompile/factories_test.go +++ b/eth/core/precompile/factories_test.go @@ -24,11 +24,11 @@ import ( "context" "math/big" - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" - "pkg.berachain.dev/stargazer/eth/core/vm" - solidity "pkg.berachain.dev/stargazer/eth/testutil/contracts/solidity/generated" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/precompile" + "pkg.berachain.dev/polaris/eth/core/vm" + solidity "pkg.berachain.dev/polaris/eth/testutil/contracts/solidity/generated" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/eth/core/precompile/interfaces.go b/eth/core/precompile/interfaces.go index 2f64624a2..acb3092c3 100644 --- a/eth/core/precompile/interfaces.go +++ b/eth/core/precompile/interfaces.go @@ -21,9 +21,9 @@ package precompile import ( - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/eth/params" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/eth/params" ) type ( diff --git a/eth/core/precompile/method.go b/eth/core/precompile/method.go index 248abfac1..21c2374b0 100644 --- a/eth/core/precompile/method.go +++ b/eth/core/precompile/method.go @@ -26,10 +26,10 @@ import ( "regexp" "strings" - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/lib/errors" - "pkg.berachain.dev/stargazer/lib/errors/debug" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/lib/errors" + "pkg.berachain.dev/polaris/lib/errors/debug" ) /** diff --git a/eth/core/precompile/method_test.go b/eth/core/precompile/method_test.go index 93a9237c2..93617751a 100644 --- a/eth/core/precompile/method_test.go +++ b/eth/core/precompile/method_test.go @@ -24,9 +24,9 @@ import ( "context" "math/big" - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/precompile" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/eth/core/precompile/mock/stateful_impl.go b/eth/core/precompile/mock/stateful_impl.go index fc3132f2b..f82bd909d 100644 --- a/eth/core/precompile/mock/stateful_impl.go +++ b/eth/core/precompile/mock/stateful_impl.go @@ -23,8 +23,8 @@ package mock import ( "github.com/ethereum/go-ethereum/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/precompile" ) //go:generate moq -out ./stateful_impl.mock.go -skip-ensure -pkg mock ../ StatefulImpl diff --git a/eth/core/precompile/mock/stateful_impl.mock.go b/eth/core/precompile/mock/stateful_impl.mock.go index f8d9e7584..277827a50 100644 --- a/eth/core/precompile/mock/stateful_impl.mock.go +++ b/eth/core/precompile/mock/stateful_impl.mock.go @@ -6,7 +6,7 @@ package mock import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" + "pkg.berachain.dev/polaris/eth/core/precompile" "sync" ) diff --git a/eth/core/precompile/stateful.go b/eth/core/precompile/stateful.go index 077511463..3f9172085 100644 --- a/eth/core/precompile/stateful.go +++ b/eth/core/precompile/stateful.go @@ -24,11 +24,11 @@ import ( "context" "math/big" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/lib/errors" - "pkg.berachain.dev/stargazer/lib/errors/debug" - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/lib/errors" + "pkg.berachain.dev/polaris/lib/errors/debug" + "pkg.berachain.dev/polaris/lib/utils" ) // `NumBytesMethodID` is the number of bytes used to represent a ABI method's ID. diff --git a/eth/core/precompile/stateful_test.go b/eth/core/precompile/stateful_test.go index f88321acc..796fd08d2 100644 --- a/eth/core/precompile/stateful_test.go +++ b/eth/core/precompile/stateful_test.go @@ -26,11 +26,11 @@ import ( "math/big" "reflect" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" - "pkg.berachain.dev/stargazer/eth/core/vm" - solidity "pkg.berachain.dev/stargazer/eth/testutil/contracts/solidity/generated" - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/precompile" + "pkg.berachain.dev/polaris/eth/core/vm" + solidity "pkg.berachain.dev/polaris/eth/testutil/contracts/solidity/generated" + "pkg.berachain.dev/polaris/lib/utils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/eth/core/processor.go b/eth/core/processor.go index 527399e4b..1eb53afce 100644 --- a/eth/core/processor.go +++ b/eth/core/processor.go @@ -27,12 +27,12 @@ import ( "github.com/ethereum/go-ethereum/trie" - "pkg.berachain.dev/stargazer/eth/core/precompile" - "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/eth/crypto" - "pkg.berachain.dev/stargazer/lib/errors" - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/eth/core/precompile" + "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/eth/crypto" + "pkg.berachain.dev/polaris/lib/errors" + "pkg.berachain.dev/polaris/lib/utils" ) // `initialTxsCapacity` is the initial capacity of the transactions and receipts slice. diff --git a/eth/core/processor_test.go b/eth/core/processor_test.go index c7f86ac6e..ee646e5f7 100644 --- a/eth/core/processor_test.go +++ b/eth/core/processor_test.go @@ -24,15 +24,15 @@ import ( "context" "math/big" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core" - "pkg.berachain.dev/stargazer/eth/core/mock" - "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/core/vm" - vmmock "pkg.berachain.dev/stargazer/eth/core/vm/mock" - "pkg.berachain.dev/stargazer/eth/crypto" - "pkg.berachain.dev/stargazer/eth/params" - "pkg.berachain.dev/stargazer/eth/testutil/contracts/solidity/generated" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core" + "pkg.berachain.dev/polaris/eth/core/mock" + "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/core/vm" + vmmock "pkg.berachain.dev/polaris/eth/core/vm/mock" + "pkg.berachain.dev/polaris/eth/crypto" + "pkg.berachain.dev/polaris/eth/params" + "pkg.berachain.dev/polaris/eth/testutil/contracts/solidity/generated" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/eth/core/state/interfaces.go b/eth/core/state/interfaces.go index 764d89073..18ae1e0e2 100644 --- a/eth/core/state/interfaces.go +++ b/eth/core/state/interfaces.go @@ -24,9 +24,9 @@ import ( "context" "math/big" - "pkg.berachain.dev/stargazer/eth/common" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/eth/common" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + libtypes "pkg.berachain.dev/polaris/lib/types" ) // `Plugin` is a plugin which tracks the accounts (balances, nonces, codes, states) in the native diff --git a/eth/core/state/journal/access_list.go b/eth/core/state/journal/access_list.go index cd1f2f388..3304d8fde 100644 --- a/eth/core/state/journal/access_list.go +++ b/eth/core/state/journal/access_list.go @@ -21,8 +21,8 @@ package journal import ( - "pkg.berachain.dev/stargazer/lib/ds" - "pkg.berachain.dev/stargazer/lib/ds/stack" + "pkg.berachain.dev/polaris/lib/ds" + "pkg.berachain.dev/polaris/lib/ds/stack" ) type accessList struct { diff --git a/eth/core/state/journal/access_list_test.go b/eth/core/state/journal/access_list_test.go index 7304b191c..d7f4058ca 100644 --- a/eth/core/state/journal/access_list_test.go +++ b/eth/core/state/journal/access_list_test.go @@ -21,7 +21,7 @@ package journal import ( - "pkg.berachain.dev/stargazer/eth/common" + "pkg.berachain.dev/polaris/eth/common" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/eth/core/state/journal/logs.go b/eth/core/state/journal/logs.go index 97bab62a5..486accda0 100644 --- a/eth/core/state/journal/logs.go +++ b/eth/core/state/journal/logs.go @@ -21,10 +21,10 @@ package journal import ( - "pkg.berachain.dev/stargazer/eth/common" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/lib/ds" - "pkg.berachain.dev/stargazer/lib/ds/stack" + "pkg.berachain.dev/polaris/eth/common" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/lib/ds" + "pkg.berachain.dev/polaris/lib/ds/stack" ) // `logs` is a state plugin that tracks Ethereum logs. diff --git a/eth/core/state/journal/logs_test.go b/eth/core/state/journal/logs_test.go index 3ac0ef253..25c382bc9 100644 --- a/eth/core/state/journal/logs_test.go +++ b/eth/core/state/journal/logs_test.go @@ -21,9 +21,9 @@ package journal import ( - "pkg.berachain.dev/stargazer/eth/common" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/eth/common" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/lib/utils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/eth/core/state/journal/mock/state.go b/eth/core/state/journal/mock/state.go index 525c956d8..3d8a5fc90 100644 --- a/eth/core/state/journal/mock/state.go +++ b/eth/core/state/journal/mock/state.go @@ -23,8 +23,8 @@ package mock import ( "math/big" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/crypto" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/crypto" ) //go:generate moq -out ./state.mock.go -pkg mock ../../ Plugin diff --git a/eth/core/state/journal/mock/state.mock.go b/eth/core/state/journal/mock/state.mock.go index 0baebd70c..192846206 100644 --- a/eth/core/state/journal/mock/state.mock.go +++ b/eth/core/state/journal/mock/state.mock.go @@ -7,7 +7,7 @@ import ( "context" "github.com/ethereum/go-ethereum/common" "math/big" - "pkg.berachain.dev/stargazer/eth/core/state" + "pkg.berachain.dev/polaris/eth/core/state" "sync" ) diff --git a/eth/core/state/journal/refund.go b/eth/core/state/journal/refund.go index 9e44305bb..99531cc0a 100644 --- a/eth/core/state/journal/refund.go +++ b/eth/core/state/journal/refund.go @@ -21,8 +21,8 @@ package journal import ( - "pkg.berachain.dev/stargazer/lib/ds" - "pkg.berachain.dev/stargazer/lib/ds/stack" + "pkg.berachain.dev/polaris/lib/ds" + "pkg.berachain.dev/polaris/lib/ds/stack" ) // `refund` is a `Store` that tracks the refund counter. diff --git a/eth/core/state/journal/refund_test.go b/eth/core/state/journal/refund_test.go index f87cd2821..34424ddea 100644 --- a/eth/core/state/journal/refund_test.go +++ b/eth/core/state/journal/refund_test.go @@ -21,7 +21,7 @@ package journal import ( - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/lib/utils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/eth/core/state/statedb.go b/eth/core/state/statedb.go index f847dfd55..fa8b14ed2 100644 --- a/eth/core/state/statedb.go +++ b/eth/core/state/statedb.go @@ -21,14 +21,14 @@ package state import ( - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/state/journal" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/eth/crypto" - "pkg.berachain.dev/stargazer/eth/params" - "pkg.berachain.dev/stargazer/lib/snapshot" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/state/journal" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/eth/crypto" + "pkg.berachain.dev/polaris/eth/params" + "pkg.berachain.dev/polaris/lib/snapshot" + libtypes "pkg.berachain.dev/polaris/lib/types" ) var ( diff --git a/eth/core/state/statedb_test.go b/eth/core/state/statedb_test.go index 71b0cb334..8751da103 100644 --- a/eth/core/state/statedb_test.go +++ b/eth/core/state/statedb_test.go @@ -23,12 +23,12 @@ package state_test import ( "math/big" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/state" - "pkg.berachain.dev/stargazer/eth/core/state/journal/mock" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/eth/params" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/state" + "pkg.berachain.dev/polaris/eth/core/state/journal/mock" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/eth/params" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/eth/core/types/transaction.go b/eth/core/types/transaction.go index ac4595593..661e577e3 100644 --- a/eth/core/types/transaction.go +++ b/eth/core/types/transaction.go @@ -23,7 +23,7 @@ package types import ( "github.com/ethereum/go-ethereum/rlp" - "pkg.berachain.dev/stargazer/eth/common" + "pkg.berachain.dev/polaris/eth/common" ) // `TxLookupEntry` is a positional metadata to help looking up a transaction by hash. diff --git a/eth/core/vm/interfaces.go b/eth/core/vm/interfaces.go index c5f87490a..35302fa35 100644 --- a/eth/core/vm/interfaces.go +++ b/eth/core/vm/interfaces.go @@ -23,8 +23,8 @@ package vm import ( "context" - "pkg.berachain.dev/stargazer/eth/common" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/eth/common" + libtypes "pkg.berachain.dev/polaris/lib/types" ) type ( diff --git a/eth/core/vm/mock/logger.go b/eth/core/vm/mock/logger.go index 4f48a3fa5..93422e8bc 100644 --- a/eth/core/vm/mock/logger.go +++ b/eth/core/vm/mock/logger.go @@ -25,7 +25,7 @@ import ( ethereumcorevm "github.com/ethereum/go-ethereum/core/vm" - "pkg.berachain.dev/stargazer/eth/common" + "pkg.berachain.dev/polaris/eth/common" ) //go:generate moq -out ./logger.mock.go -pkg mock ../ EVMLogger diff --git a/eth/core/vm/mock/logger.mock.go b/eth/core/vm/mock/logger.mock.go index b52a60265..67c6b9add 100644 --- a/eth/core/vm/mock/logger.mock.go +++ b/eth/core/vm/mock/logger.mock.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/common" ethereumcorevm "github.com/ethereum/go-ethereum/core/vm" "math/big" - ethcorevm "pkg.berachain.dev/stargazer/eth/core/vm" + ethcorevm "pkg.berachain.dev/polaris/eth/core/vm" "sync" ) diff --git a/eth/core/vm/mock/statedb.go b/eth/core/vm/mock/statedb.go index 400a0f522..1b52fc352 100644 --- a/eth/core/vm/mock/statedb.go +++ b/eth/core/vm/mock/statedb.go @@ -24,8 +24,8 @@ import ( "context" "math/big" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/types" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/types" ) //go:generate moq -out ./statedb.mock.go -pkg mock ../ PolarisStateDB diff --git a/eth/core/vm/mock/statedb.mock.go b/eth/core/vm/mock/statedb.mock.go index 999e14f51..9988e624e 100644 --- a/eth/core/vm/mock/statedb.mock.go +++ b/eth/core/vm/mock/statedb.mock.go @@ -10,7 +10,7 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/params" "math/big" - "pkg.berachain.dev/stargazer/eth/core/vm" + "pkg.berachain.dev/polaris/eth/core/vm" "sync" ) diff --git a/eth/params/chain_config.go b/eth/params/chain_config.go index ad7c9595a..0b6de97a0 100644 --- a/eth/params/chain_config.go +++ b/eth/params/chain_config.go @@ -23,7 +23,7 @@ package params import ( "math/big" - "pkg.berachain.dev/stargazer/eth/common" + "pkg.berachain.dev/polaris/eth/common" ) const DefaultEIP155ChainID = 69420 diff --git a/eth/provider.go b/eth/provider.go index 2545897e1..b83efb401 100644 --- a/eth/provider.go +++ b/eth/provider.go @@ -21,10 +21,10 @@ package eth import ( - "pkg.berachain.dev/stargazer/eth/api" - "pkg.berachain.dev/stargazer/eth/core" - "pkg.berachain.dev/stargazer/eth/log" - "pkg.berachain.dev/stargazer/eth/rpc" + "pkg.berachain.dev/polaris/eth/api" + "pkg.berachain.dev/polaris/eth/core" + "pkg.berachain.dev/polaris/eth/log" + "pkg.berachain.dev/polaris/eth/rpc" ) type PolarisProvider struct { diff --git a/eth/rpc/api.go b/eth/rpc/api.go index f879fc2f3..f69166562 100644 --- a/eth/rpc/api.go +++ b/eth/rpc/api.go @@ -20,7 +20,7 @@ package rpc -import "pkg.berachain.dev/stargazer/eth/rpc/api" +import "pkg.berachain.dev/polaris/eth/rpc/api" // `GetAPIs` returns a list of all available APIs. func GetAPIs(apiBackend PolarisBackend) []API { diff --git a/eth/rpc/api/net.go b/eth/rpc/api/net.go index 835547027..a79a77d68 100644 --- a/eth/rpc/api/net.go +++ b/eth/rpc/api/net.go @@ -21,7 +21,7 @@ package api import ( - "pkg.berachain.dev/stargazer/eth/common/hexutil" + "pkg.berachain.dev/polaris/eth/common/hexutil" ) // `NetBackend` is the collection of methods required to satisfy the net diff --git a/eth/rpc/backend.go b/eth/rpc/backend.go index 8970b55a8..d24d4c031 100644 --- a/eth/rpc/backend.go +++ b/eth/rpc/backend.go @@ -35,18 +35,18 @@ import ( "github.com/ethereum/go-ethereum/ethdb" "github.com/ethereum/go-ethereum/event" - "pkg.berachain.dev/stargazer/eth/api" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/common/hexutil" - "pkg.berachain.dev/stargazer/eth/core" - "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/eth/log" - "pkg.berachain.dev/stargazer/eth/params" - rpcapi "pkg.berachain.dev/stargazer/eth/rpc/api" - "pkg.berachain.dev/stargazer/eth/rpc/config" - errorslib "pkg.berachain.dev/stargazer/lib/errors" - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/eth/api" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/common/hexutil" + "pkg.berachain.dev/polaris/eth/core" + "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/eth/log" + "pkg.berachain.dev/polaris/eth/params" + rpcapi "pkg.berachain.dev/polaris/eth/rpc/api" + "pkg.berachain.dev/polaris/eth/rpc/config" + errorslib "pkg.berachain.dev/polaris/lib/errors" + "pkg.berachain.dev/polaris/lib/utils" ) var DefaultGasPriceOracleConfig = gasprice.Config{ diff --git a/eth/rpc/server.go b/eth/rpc/server.go index 8de5847d7..7ab2c4831 100644 --- a/eth/rpc/server.go +++ b/eth/rpc/server.go @@ -23,7 +23,7 @@ package rpc import ( "github.com/ethereum/go-ethereum/node" - "pkg.berachain.dev/stargazer/eth/rpc/config" + "pkg.berachain.dev/polaris/eth/rpc/config" ) // `Service` is the interface for the JSON-RPC service. diff --git a/eth/testutil/contracts/solidity/generated/solmate_erc20.abigen.go b/eth/testutil/contracts/solidity/generated/solmate_erc20.abigen.go index 6968248c7..4a3960415 100644 --- a/eth/testutil/contracts/solidity/generated/solmate_erc20.abigen.go +++ b/eth/testutil/contracts/solidity/generated/solmate_erc20.abigen.go @@ -32,7 +32,7 @@ var ( // SolmateERC20MetaData contains all meta data concerning the SolmateERC20 contract. var SolmateERC20MetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", - Bin: "0x60e06040523480156200001157600080fd5b50604051806040016040528060058152602001642a37b5b2b760d91b81525060405180604001604052806002815260200161544b60f01b815250601282600090816200005e9190620001d1565b5060016200006d8382620001d1565b5060ff81166080524660a0526200008362000090565b60c052506200031b915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620000c491906200029d565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015757607f821691505b6020821081036200017857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001cc57600081815260208120601f850160051c81016020861015620001a75750805b601f850160051c820191505b81811015620001c857828155600101620001b3565b5050505b505050565b81516001600160401b03811115620001ed57620001ed6200012c565b6200020581620001fe845462000142565b846200017e565b602080601f8311600181146200023d5760008415620002245750858301515b600019600386901b1c1916600185901b178555620001c8565b600085815260208120601f198616915b828110156200026e578886015182559484019460019091019084016200024d565b50858210156200028d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354620002ad8162000142565b60018281168015620002c85760018114620002de576200030f565b60ff19841687528215158302870194506200030f565b8760005260208060002060005b85811015620003065781548a820152908401908201620002eb565b50505082870194505b50929695505050505050565b60805160a05160c051610b7d6200034b60003960006104540152600061041f015260006101440152610b7d6000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b41146101d5578063a9059cbb146101dd578063d505accf146101f0578063dd62ed3e1461020357600080fd5b806340c10f191461018057806370a08231146101955780637ecebe00146101b557600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd1461012c578063313ce5671461013f5780633644e51514610178575b600080fd5b6100dc61022e565b6040516100e9919061089a565b60405180910390f35b610105610100366004610904565b6102bc565b60405190151581526020016100e9565b61011e60025481565b6040519081526020016100e9565b61010561013a36600461092e565b610329565b6101667f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100e9565b61011e61041b565b61019361018e366004610904565b610476565b005b61011e6101a336600461096a565b60036020526000908152604090205481565b61011e6101c336600461096a565b60056020526000908152604090205481565b6100dc6104c7565b6101056101eb366004610904565b6104d4565b6101936101fe36600461098c565b61054c565b61011e6102113660046109ff565b600460209081526000928352604080842090915290825290205481565b6000805461023b90610a32565b80601f016020809104026020016040519081016040528092919081815260200182805461026790610a32565b80156102b45780601f10610289576101008083540402835291602001916102b4565b820191906000526020600020905b81548152906001019060200180831161029757829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103179086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610385576103608382610a82565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906103ad908490610a82565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104089087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146104515761044c610795565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b610480828261082f565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516104bb91815260200190565b60405180910390a25050565b6001805461023b90610a32565b336000908152600360205260408120805483919083906104f5908490610a82565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103179086815260200190565b428410156105a15760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b600060016105ad61041b565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156106b9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906106ef5750876001600160a01b0316816001600160a01b0316145b61072c5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610598565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516107c79190610a95565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546108419190610b34565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156108c7578581018301518582016040015282016108ab565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108ff57600080fd5b919050565b6000806040838503121561091757600080fd5b610920836108e8565b946020939093013593505050565b60008060006060848603121561094357600080fd5b61094c846108e8565b925061095a602085016108e8565b9150604084013590509250925092565b60006020828403121561097c57600080fd5b610985826108e8565b9392505050565b600080600080600080600060e0888a0312156109a757600080fd5b6109b0886108e8565b96506109be602089016108e8565b95506040880135945060608801359350608088013560ff811681146109e257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610a1257600080fd5b610a1b836108e8565b9150610a29602084016108e8565b90509250929050565b600181811c90821680610a4657607f821691505b602082108103610a6657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561032357610323610a6c565b600080835481600182811c915080831680610ab157607f831692505b60208084108203610ad057634e487b7160e01b86526022600452602486fd5b818015610ae45760018114610af957610b26565b60ff1986168952841515850289019650610b26565b60008a81526020902060005b86811015610b1e5781548b820152908501908301610b05565b505084890196505b509498975050505050505050565b8082018082111561032357610323610a6c56fea264697066735822122035aa6d6657258d3fa4983cc46c76da92be5fa747d70e6ab448fedb8b7cecd6e064736f6c63430008110033", + Bin: "0x60e06040523480156200001157600080fd5b50604051806040016040528060058152602001642a37b5b2b760d91b81525060405180604001604052806002815260200161544b60f01b815250601282600090816200005e9190620001d1565b5060016200006d8382620001d1565b5060ff81166080524660a0526200008362000090565b60c052506200031b915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620000c491906200029d565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015757607f821691505b6020821081036200017857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001cc57600081815260208120601f850160051c81016020861015620001a75750805b601f850160051c820191505b81811015620001c857828155600101620001b3565b5050505b505050565b81516001600160401b03811115620001ed57620001ed6200012c565b6200020581620001fe845462000142565b846200017e565b602080601f8311600181146200023d5760008415620002245750858301515b600019600386901b1c1916600185901b178555620001c8565b600085815260208120601f198616915b828110156200026e578886015182559484019460019091019084016200024d565b50858210156200028d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354620002ad8162000142565b60018281168015620002c85760018114620002de576200030f565b60ff19841687528215158302870194506200030f565b8760005260208060002060005b85811015620003065781548a820152908401908201620002eb565b50505082870194505b50929695505050505050565b60805160a05160c051610b7d6200034b60003960006104540152600061041f015260006101440152610b7d6000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b41146101d5578063a9059cbb146101dd578063d505accf146101f0578063dd62ed3e1461020357600080fd5b806340c10f191461018057806370a08231146101955780637ecebe00146101b557600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd1461012c578063313ce5671461013f5780633644e51514610178575b600080fd5b6100dc61022e565b6040516100e9919061089a565b60405180910390f35b610105610100366004610904565b6102bc565b60405190151581526020016100e9565b61011e60025481565b6040519081526020016100e9565b61010561013a36600461092e565b610329565b6101667f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100e9565b61011e61041b565b61019361018e366004610904565b610476565b005b61011e6101a336600461096a565b60036020526000908152604090205481565b61011e6101c336600461096a565b60056020526000908152604090205481565b6100dc6104c7565b6101056101eb366004610904565b6104d4565b6101936101fe36600461098c565b61054c565b61011e6102113660046109ff565b600460209081526000928352604080842090915290825290205481565b6000805461023b90610a32565b80601f016020809104026020016040519081016040528092919081815260200182805461026790610a32565b80156102b45780601f10610289576101008083540402835291602001916102b4565b820191906000526020600020905b81548152906001019060200180831161029757829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103179086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610385576103608382610a82565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906103ad908490610a82565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104089087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146104515761044c610795565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b610480828261082f565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516104bb91815260200190565b60405180910390a25050565b6001805461023b90610a32565b336000908152600360205260408120805483919083906104f5908490610a82565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103179086815260200190565b428410156105a15760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b600060016105ad61041b565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156106b9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906106ef5750876001600160a01b0316816001600160a01b0316145b61072c5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610598565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516107c79190610a95565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546108419190610b34565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156108c7578581018301518582016040015282016108ab565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108ff57600080fd5b919050565b6000806040838503121561091757600080fd5b610920836108e8565b946020939093013593505050565b60008060006060848603121561094357600080fd5b61094c846108e8565b925061095a602085016108e8565b9150604084013590509250925092565b60006020828403121561097c57600080fd5b610985826108e8565b9392505050565b600080600080600080600060e0888a0312156109a757600080fd5b6109b0886108e8565b96506109be602089016108e8565b95506040880135945060608801359350608088013560ff811681146109e257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610a1257600080fd5b610a1b836108e8565b9150610a29602084016108e8565b90509250929050565b600181811c90821680610a4657607f821691505b602082108103610a6657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561032357610323610a6c565b600080835481600182811c915080831680610ab157607f831692505b60208084108203610ad057634e487b7160e01b86526022600452602486fd5b818015610ae45760018114610af957610b26565b60ff1986168952841515850289019650610b26565b60008a81526020902060005b86811015610b1e5781548b820152908501908301610b05565b505084890196505b509498975050505050505050565b8082018082111561032357610323610a6c56fea2646970667358221220ee08d7e13a6ad8ecce6ee09a44f35159498332b47f3069e3d4163cb78136174464736f6c63430008110033", } // SolmateERC20ABI is the input ABI used to generate the binding from. diff --git a/eth/testutil/contracts/solidity/out/SolmateERC20.sol/SolmateERC20.bin b/eth/testutil/contracts/solidity/out/SolmateERC20.sol/SolmateERC20.bin index a473e9b10..2c0175ff5 100644 --- a/eth/testutil/contracts/solidity/out/SolmateERC20.sol/SolmateERC20.bin +++ b/eth/testutil/contracts/solidity/out/SolmateERC20.sol/SolmateERC20.bin @@ -1 +1 @@ -60e06040523480156200001157600080fd5b50604051806040016040528060058152602001642a37b5b2b760d91b81525060405180604001604052806002815260200161544b60f01b815250601282600090816200005e9190620001d1565b5060016200006d8382620001d1565b5060ff81166080524660a0526200008362000090565b60c052506200031b915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620000c491906200029d565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015757607f821691505b6020821081036200017857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001cc57600081815260208120601f850160051c81016020861015620001a75750805b601f850160051c820191505b81811015620001c857828155600101620001b3565b5050505b505050565b81516001600160401b03811115620001ed57620001ed6200012c565b6200020581620001fe845462000142565b846200017e565b602080601f8311600181146200023d5760008415620002245750858301515b600019600386901b1c1916600185901b178555620001c8565b600085815260208120601f198616915b828110156200026e578886015182559484019460019091019084016200024d565b50858210156200028d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354620002ad8162000142565b60018281168015620002c85760018114620002de576200030f565b60ff19841687528215158302870194506200030f565b8760005260208060002060005b85811015620003065781548a820152908401908201620002eb565b50505082870194505b50929695505050505050565b60805160a05160c051610b7d6200034b60003960006104540152600061041f015260006101440152610b7d6000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b41146101d5578063a9059cbb146101dd578063d505accf146101f0578063dd62ed3e1461020357600080fd5b806340c10f191461018057806370a08231146101955780637ecebe00146101b557600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd1461012c578063313ce5671461013f5780633644e51514610178575b600080fd5b6100dc61022e565b6040516100e9919061089a565b60405180910390f35b610105610100366004610904565b6102bc565b60405190151581526020016100e9565b61011e60025481565b6040519081526020016100e9565b61010561013a36600461092e565b610329565b6101667f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100e9565b61011e61041b565b61019361018e366004610904565b610476565b005b61011e6101a336600461096a565b60036020526000908152604090205481565b61011e6101c336600461096a565b60056020526000908152604090205481565b6100dc6104c7565b6101056101eb366004610904565b6104d4565b6101936101fe36600461098c565b61054c565b61011e6102113660046109ff565b600460209081526000928352604080842090915290825290205481565b6000805461023b90610a32565b80601f016020809104026020016040519081016040528092919081815260200182805461026790610a32565b80156102b45780601f10610289576101008083540402835291602001916102b4565b820191906000526020600020905b81548152906001019060200180831161029757829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103179086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610385576103608382610a82565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906103ad908490610a82565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104089087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146104515761044c610795565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b610480828261082f565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516104bb91815260200190565b60405180910390a25050565b6001805461023b90610a32565b336000908152600360205260408120805483919083906104f5908490610a82565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103179086815260200190565b428410156105a15760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b600060016105ad61041b565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156106b9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906106ef5750876001600160a01b0316816001600160a01b0316145b61072c5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610598565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516107c79190610a95565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546108419190610b34565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156108c7578581018301518582016040015282016108ab565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108ff57600080fd5b919050565b6000806040838503121561091757600080fd5b610920836108e8565b946020939093013593505050565b60008060006060848603121561094357600080fd5b61094c846108e8565b925061095a602085016108e8565b9150604084013590509250925092565b60006020828403121561097c57600080fd5b610985826108e8565b9392505050565b600080600080600080600060e0888a0312156109a757600080fd5b6109b0886108e8565b96506109be602089016108e8565b95506040880135945060608801359350608088013560ff811681146109e257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610a1257600080fd5b610a1b836108e8565b9150610a29602084016108e8565b90509250929050565b600181811c90821680610a4657607f821691505b602082108103610a6657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561032357610323610a6c565b600080835481600182811c915080831680610ab157607f831692505b60208084108203610ad057634e487b7160e01b86526022600452602486fd5b818015610ae45760018114610af957610b26565b60ff1986168952841515850289019650610b26565b60008a81526020902060005b86811015610b1e5781548b820152908501908301610b05565b505084890196505b509498975050505050505050565b8082018082111561032357610323610a6c56fea264697066735822122035aa6d6657258d3fa4983cc46c76da92be5fa747d70e6ab448fedb8b7cecd6e064736f6c63430008110033 \ No newline at end of file +60e06040523480156200001157600080fd5b50604051806040016040528060058152602001642a37b5b2b760d91b81525060405180604001604052806002815260200161544b60f01b815250601282600090816200005e9190620001d1565b5060016200006d8382620001d1565b5060ff81166080524660a0526200008362000090565b60c052506200031b915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620000c491906200029d565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015757607f821691505b6020821081036200017857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001cc57600081815260208120601f850160051c81016020861015620001a75750805b601f850160051c820191505b81811015620001c857828155600101620001b3565b5050505b505050565b81516001600160401b03811115620001ed57620001ed6200012c565b6200020581620001fe845462000142565b846200017e565b602080601f8311600181146200023d5760008415620002245750858301515b600019600386901b1c1916600185901b178555620001c8565b600085815260208120601f198616915b828110156200026e578886015182559484019460019091019084016200024d565b50858210156200028d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354620002ad8162000142565b60018281168015620002c85760018114620002de576200030f565b60ff19841687528215158302870194506200030f565b8760005260208060002060005b85811015620003065781548a820152908401908201620002eb565b50505082870194505b50929695505050505050565b60805160a05160c051610b7d6200034b60003960006104540152600061041f015260006101440152610b7d6000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b41146101d5578063a9059cbb146101dd578063d505accf146101f0578063dd62ed3e1461020357600080fd5b806340c10f191461018057806370a08231146101955780637ecebe00146101b557600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd1461012c578063313ce5671461013f5780633644e51514610178575b600080fd5b6100dc61022e565b6040516100e9919061089a565b60405180910390f35b610105610100366004610904565b6102bc565b60405190151581526020016100e9565b61011e60025481565b6040519081526020016100e9565b61010561013a36600461092e565b610329565b6101667f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100e9565b61011e61041b565b61019361018e366004610904565b610476565b005b61011e6101a336600461096a565b60036020526000908152604090205481565b61011e6101c336600461096a565b60056020526000908152604090205481565b6100dc6104c7565b6101056101eb366004610904565b6104d4565b6101936101fe36600461098c565b61054c565b61011e6102113660046109ff565b600460209081526000928352604080842090915290825290205481565b6000805461023b90610a32565b80601f016020809104026020016040519081016040528092919081815260200182805461026790610a32565b80156102b45780601f10610289576101008083540402835291602001916102b4565b820191906000526020600020905b81548152906001019060200180831161029757829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103179086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610385576103608382610a82565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906103ad908490610a82565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104089087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146104515761044c610795565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b610480828261082f565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516104bb91815260200190565b60405180910390a25050565b6001805461023b90610a32565b336000908152600360205260408120805483919083906104f5908490610a82565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103179086815260200190565b428410156105a15760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b600060016105ad61041b565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156106b9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906106ef5750876001600160a01b0316816001600160a01b0316145b61072c5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610598565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516107c79190610a95565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546108419190610b34565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156108c7578581018301518582016040015282016108ab565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108ff57600080fd5b919050565b6000806040838503121561091757600080fd5b610920836108e8565b946020939093013593505050565b60008060006060848603121561094357600080fd5b61094c846108e8565b925061095a602085016108e8565b9150604084013590509250925092565b60006020828403121561097c57600080fd5b610985826108e8565b9392505050565b600080600080600080600060e0888a0312156109a757600080fd5b6109b0886108e8565b96506109be602089016108e8565b95506040880135945060608801359350608088013560ff811681146109e257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610a1257600080fd5b610a1b836108e8565b9150610a29602084016108e8565b90509250929050565b600181811c90821680610a4657607f821691505b602082108103610a6657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561032357610323610a6c565b600080835481600182811c915080831680610ab157607f831692505b60208084108203610ad057634e487b7160e01b86526022600452602486fd5b818015610ae45760018114610af957610b26565b60ff1986168952841515850289019650610b26565b60008a81526020902060005b86811015610b1e5781548b820152908501908301610b05565b505084890196505b509498975050505050505050565b8082018082111561032357610323610a6c56fea2646970667358221220ee08d7e13a6ad8ecce6ee09a44f35159498332b47f3069e3d4163cb78136174464736f6c63430008110033 \ No newline at end of file diff --git a/eth/testutil/contracts/solidity/out/SolmateERC20.sol/SolmateERC20.json b/eth/testutil/contracts/solidity/out/SolmateERC20.sol/SolmateERC20.json index caf6fd734..b58b4ec3a 100644 --- a/eth/testutil/contracts/solidity/out/SolmateERC20.sol/SolmateERC20.json +++ b/eth/testutil/contracts/solidity/out/SolmateERC20.sol/SolmateERC20.json @@ -341,13 +341,13 @@ } ], "bytecode": { - "object": "0x60e06040523480156200001157600080fd5b50604051806040016040528060058152602001642a37b5b2b760d91b81525060405180604001604052806002815260200161544b60f01b815250601282600090816200005e9190620001d1565b5060016200006d8382620001d1565b5060ff81166080524660a0526200008362000090565b60c052506200031b915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620000c491906200029d565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015757607f821691505b6020821081036200017857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001cc57600081815260208120601f850160051c81016020861015620001a75750805b601f850160051c820191505b81811015620001c857828155600101620001b3565b5050505b505050565b81516001600160401b03811115620001ed57620001ed6200012c565b6200020581620001fe845462000142565b846200017e565b602080601f8311600181146200023d5760008415620002245750858301515b600019600386901b1c1916600185901b178555620001c8565b600085815260208120601f198616915b828110156200026e578886015182559484019460019091019084016200024d565b50858210156200028d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354620002ad8162000142565b60018281168015620002c85760018114620002de576200030f565b60ff19841687528215158302870194506200030f565b8760005260208060002060005b85811015620003065781548a820152908401908201620002eb565b50505082870194505b50929695505050505050565b60805160a05160c051610b7d6200034b60003960006104540152600061041f015260006101440152610b7d6000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b41146101d5578063a9059cbb146101dd578063d505accf146101f0578063dd62ed3e1461020357600080fd5b806340c10f191461018057806370a08231146101955780637ecebe00146101b557600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd1461012c578063313ce5671461013f5780633644e51514610178575b600080fd5b6100dc61022e565b6040516100e9919061089a565b60405180910390f35b610105610100366004610904565b6102bc565b60405190151581526020016100e9565b61011e60025481565b6040519081526020016100e9565b61010561013a36600461092e565b610329565b6101667f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100e9565b61011e61041b565b61019361018e366004610904565b610476565b005b61011e6101a336600461096a565b60036020526000908152604090205481565b61011e6101c336600461096a565b60056020526000908152604090205481565b6100dc6104c7565b6101056101eb366004610904565b6104d4565b6101936101fe36600461098c565b61054c565b61011e6102113660046109ff565b600460209081526000928352604080842090915290825290205481565b6000805461023b90610a32565b80601f016020809104026020016040519081016040528092919081815260200182805461026790610a32565b80156102b45780601f10610289576101008083540402835291602001916102b4565b820191906000526020600020905b81548152906001019060200180831161029757829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103179086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610385576103608382610a82565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906103ad908490610a82565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104089087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146104515761044c610795565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b610480828261082f565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516104bb91815260200190565b60405180910390a25050565b6001805461023b90610a32565b336000908152600360205260408120805483919083906104f5908490610a82565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103179086815260200190565b428410156105a15760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b600060016105ad61041b565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156106b9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906106ef5750876001600160a01b0316816001600160a01b0316145b61072c5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610598565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516107c79190610a95565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546108419190610b34565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156108c7578581018301518582016040015282016108ab565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108ff57600080fd5b919050565b6000806040838503121561091757600080fd5b610920836108e8565b946020939093013593505050565b60008060006060848603121561094357600080fd5b61094c846108e8565b925061095a602085016108e8565b9150604084013590509250925092565b60006020828403121561097c57600080fd5b610985826108e8565b9392505050565b600080600080600080600060e0888a0312156109a757600080fd5b6109b0886108e8565b96506109be602089016108e8565b95506040880135945060608801359350608088013560ff811681146109e257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610a1257600080fd5b610a1b836108e8565b9150610a29602084016108e8565b90509250929050565b600181811c90821680610a4657607f821691505b602082108103610a6657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561032357610323610a6c565b600080835481600182811c915080831680610ab157607f831692505b60208084108203610ad057634e487b7160e01b86526022600452602486fd5b818015610ae45760018114610af957610b26565b60ff1986168952841515850289019650610b26565b60008a81526020902060005b86811015610b1e5781548b820152908501908301610b05565b505084890196505b509498975050505050505050565b8082018082111561032357610323610a6c56fea264697066735822122035aa6d6657258d3fa4983cc46c76da92be5fa747d70e6ab448fedb8b7cecd6e064736f6c63430008110033", - "sourceMap": "99:255:3:-:0;;;136:41;;;;;;;;;;1968:292:0;;;;;;;;;;;;;-1:-1:-1;;;1968:292:0;;;;;;;;;;;;;;;;-1:-1:-1;;;1968:292:0;;;171:2:3;2088:5:0;2081:4;:12;;;;;;:::i;:::-;-1:-1:-1;2103:6:0;:16;2112:7;2103:6;:16;:::i;:::-;-1:-1:-1;2129:20:0;;;;;2179:13;2160:32;;2229:24;:22;:24::i;:::-;2202:51;;-1:-1:-1;99:255:3;;-1:-1:-1;;99:255:3;5497:446:0;5562:7;5659:95;5792:4;5776:22;;;;;;:::i;:::-;;;;;;;;;;5627:295;;;3843:25:4;;;;3884:18;;3877:34;;;;5820:14:0;3927:18:4;;;3920:34;5856:13:0;3970:18:4;;;3963:34;5899:4:0;4013:19:4;;;4006:61;3815:19;;5627:295:0;;;;;;;;;;;;5600:336;;;;;;5581:355;;5497:446;:::o;14:127:4:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:380;225:1;221:12;;;;268;;;289:61;;343:4;335:6;331:17;321:27;;289:61;396:2;388:6;385:14;365:18;362:38;359:161;;442:10;437:3;433:20;430:1;423:31;477:4;474:1;467:15;505:4;502:1;495:15;359:161;;146:380;;;:::o;657:545::-;759:2;754:3;751:11;748:448;;;795:1;820:5;816:2;809:17;865:4;861:2;851:19;935:2;923:10;919:19;916:1;912:27;906:4;902:38;971:4;959:10;956:20;953:47;;;-1:-1:-1;994:4:4;953:47;1049:2;1044:3;1040:12;1037:1;1033:20;1027:4;1023:31;1013:41;;1104:82;1122:2;1115:5;1112:13;1104:82;;;1167:17;;;1148:1;1137:13;1104:82;;;1108:3;;;748:448;657:545;;;:::o;1378:1352::-;1498:10;;-1:-1:-1;;;;;1520:30:4;;1517:56;;;1553:18;;:::i;:::-;1582:97;1672:6;1632:38;1664:4;1658:11;1632:38;:::i;:::-;1626:4;1582:97;:::i;:::-;1734:4;;1798:2;1787:14;;1815:1;1810:663;;;;2517:1;2534:6;2531:89;;;-1:-1:-1;2586:19:4;;;2580:26;2531:89;-1:-1:-1;;1335:1:4;1331:11;;;1327:24;1323:29;1313:40;1359:1;1355:11;;;1310:57;2633:81;;1780:944;;1810:663;604:1;597:14;;;641:4;628:18;;-1:-1:-1;;1846:20:4;;;1964:236;1978:7;1975:1;1972:14;1964:236;;;2067:19;;;2061:26;2046:42;;2159:27;;;;2127:1;2115:14;;;;1994:19;;1964:236;;;1968:3;2228:6;2219:7;2216:19;2213:201;;;2289:19;;;2283:26;-1:-1:-1;;2372:1:4;2368:14;;;2384:3;2364:24;2360:37;2356:42;2341:58;2326:74;;2213:201;-1:-1:-1;;;;;2460:1:4;2444:14;;;2440:22;2427:36;;-1:-1:-1;1378:1352:4:o;2735:844::-;2865:3;2894:1;2927:6;2921:13;2957:36;2983:9;2957:36;:::i;:::-;3012:1;3029:18;;;3056:133;;;;3203:1;3198:356;;;;3022:532;;3056:133;-1:-1:-1;;3089:24:4;;3077:37;;3162:14;;3155:22;3143:35;;3134:45;;;-1:-1:-1;3056:133:4;;3198:356;3229:6;3226:1;3219:17;3259:4;3304:2;3301:1;3291:16;3329:1;3343:165;3357:6;3354:1;3351:13;3343:165;;;3435:14;;3422:11;;;3415:35;3478:16;;;;3372:10;;3343:165;;;3347:3;;;3537:6;3532:3;3528:16;3521:23;;3022:532;-1:-1:-1;3570:3:4;;2735:844;-1:-1:-1;;;;;;2735:844:4:o;3584:489::-;99:255:3;;;;;;;;;;;;;;;;;;;;;;;;", + "object": "0x60e06040523480156200001157600080fd5b50604051806040016040528060058152602001642a37b5b2b760d91b81525060405180604001604052806002815260200161544b60f01b815250601282600090816200005e9190620001d1565b5060016200006d8382620001d1565b5060ff81166080524660a0526200008362000090565b60c052506200031b915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620000c491906200029d565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015757607f821691505b6020821081036200017857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001cc57600081815260208120601f850160051c81016020861015620001a75750805b601f850160051c820191505b81811015620001c857828155600101620001b3565b5050505b505050565b81516001600160401b03811115620001ed57620001ed6200012c565b6200020581620001fe845462000142565b846200017e565b602080601f8311600181146200023d5760008415620002245750858301515b600019600386901b1c1916600185901b178555620001c8565b600085815260208120601f198616915b828110156200026e578886015182559484019460019091019084016200024d565b50858210156200028d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354620002ad8162000142565b60018281168015620002c85760018114620002de576200030f565b60ff19841687528215158302870194506200030f565b8760005260208060002060005b85811015620003065781548a820152908401908201620002eb565b50505082870194505b50929695505050505050565b60805160a05160c051610b7d6200034b60003960006104540152600061041f015260006101440152610b7d6000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b41146101d5578063a9059cbb146101dd578063d505accf146101f0578063dd62ed3e1461020357600080fd5b806340c10f191461018057806370a08231146101955780637ecebe00146101b557600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd1461012c578063313ce5671461013f5780633644e51514610178575b600080fd5b6100dc61022e565b6040516100e9919061089a565b60405180910390f35b610105610100366004610904565b6102bc565b60405190151581526020016100e9565b61011e60025481565b6040519081526020016100e9565b61010561013a36600461092e565b610329565b6101667f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100e9565b61011e61041b565b61019361018e366004610904565b610476565b005b61011e6101a336600461096a565b60036020526000908152604090205481565b61011e6101c336600461096a565b60056020526000908152604090205481565b6100dc6104c7565b6101056101eb366004610904565b6104d4565b6101936101fe36600461098c565b61054c565b61011e6102113660046109ff565b600460209081526000928352604080842090915290825290205481565b6000805461023b90610a32565b80601f016020809104026020016040519081016040528092919081815260200182805461026790610a32565b80156102b45780601f10610289576101008083540402835291602001916102b4565b820191906000526020600020905b81548152906001019060200180831161029757829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103179086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610385576103608382610a82565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906103ad908490610a82565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104089087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146104515761044c610795565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b610480828261082f565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516104bb91815260200190565b60405180910390a25050565b6001805461023b90610a32565b336000908152600360205260408120805483919083906104f5908490610a82565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103179086815260200190565b428410156105a15760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b600060016105ad61041b565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156106b9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906106ef5750876001600160a01b0316816001600160a01b0316145b61072c5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610598565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516107c79190610a95565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546108419190610b34565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156108c7578581018301518582016040015282016108ab565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108ff57600080fd5b919050565b6000806040838503121561091757600080fd5b610920836108e8565b946020939093013593505050565b60008060006060848603121561094357600080fd5b61094c846108e8565b925061095a602085016108e8565b9150604084013590509250925092565b60006020828403121561097c57600080fd5b610985826108e8565b9392505050565b600080600080600080600060e0888a0312156109a757600080fd5b6109b0886108e8565b96506109be602089016108e8565b95506040880135945060608801359350608088013560ff811681146109e257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610a1257600080fd5b610a1b836108e8565b9150610a29602084016108e8565b90509250929050565b600181811c90821680610a4657607f821691505b602082108103610a6657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561032357610323610a6c565b600080835481600182811c915080831680610ab157607f831692505b60208084108203610ad057634e487b7160e01b86526022600452602486fd5b818015610ae45760018114610af957610b26565b60ff1986168952841515850289019650610b26565b60008a81526020902060005b86811015610b1e5781548b820152908501908301610b05565b505084890196505b509498975050505050505050565b8082018082111561032357610323610a6c56fea2646970667358221220ee08d7e13a6ad8ecce6ee09a44f35159498332b47f3069e3d4163cb78136174464736f6c63430008110033", + "sourceMap": "99:255:1:-:0;;;136:41;;;;;;;;;;1968:292:0;;;;;;;;;;;;;-1:-1:-1;;;1968:292:0;;;;;;;;;;;;;;;;-1:-1:-1;;;1968:292:0;;;171:2:1;2088:5:0;2081:4;:12;;;;;;:::i;:::-;-1:-1:-1;2103:6:0;:16;2112:7;2103:6;:16;:::i;:::-;-1:-1:-1;2129:20:0;;;;;2179:13;2160:32;;2229:24;:22;:24::i;:::-;2202:51;;-1:-1:-1;99:255:1;;-1:-1:-1;;99:255:1;5497:446:0;5562:7;5659:95;5792:4;5776:22;;;;;;:::i;:::-;;;;;;;;;;5627:295;;;3843:25:2;;;;3884:18;;3877:34;;;;5820:14:0;3927:18:2;;;3920:34;5856:13:0;3970:18:2;;;3963:34;5899:4:0;4013:19:2;;;4006:61;3815:19;;5627:295:0;;;;;;;;;;;;5600:336;;;;;;5581:355;;5497:446;:::o;14:127:2:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:380;225:1;221:12;;;;268;;;289:61;;343:4;335:6;331:17;321:27;;289:61;396:2;388:6;385:14;365:18;362:38;359:161;;442:10;437:3;433:20;430:1;423:31;477:4;474:1;467:15;505:4;502:1;495:15;359:161;;146:380;;;:::o;657:545::-;759:2;754:3;751:11;748:448;;;795:1;820:5;816:2;809:17;865:4;861:2;851:19;935:2;923:10;919:19;916:1;912:27;906:4;902:38;971:4;959:10;956:20;953:47;;;-1:-1:-1;994:4:2;953:47;1049:2;1044:3;1040:12;1037:1;1033:20;1027:4;1023:31;1013:41;;1104:82;1122:2;1115:5;1112:13;1104:82;;;1167:17;;;1148:1;1137:13;1104:82;;;1108:3;;;748:448;657:545;;;:::o;1378:1352::-;1498:10;;-1:-1:-1;;;;;1520:30:2;;1517:56;;;1553:18;;:::i;:::-;1582:97;1672:6;1632:38;1664:4;1658:11;1632:38;:::i;:::-;1626:4;1582:97;:::i;:::-;1734:4;;1798:2;1787:14;;1815:1;1810:663;;;;2517:1;2534:6;2531:89;;;-1:-1:-1;2586:19:2;;;2580:26;2531:89;-1:-1:-1;;1335:1:2;1331:11;;;1327:24;1323:29;1313:40;1359:1;1355:11;;;1310:57;2633:81;;1780:944;;1810:663;604:1;597:14;;;641:4;628:18;;-1:-1:-1;;1846:20:2;;;1964:236;1978:7;1975:1;1972:14;1964:236;;;2067:19;;;2061:26;2046:42;;2159:27;;;;2127:1;2115:14;;;;1994:19;;1964:236;;;1968:3;2228:6;2219:7;2216:19;2213:201;;;2289:19;;;2283:26;-1:-1:-1;;2372:1:2;2368:14;;;2384:3;2364:24;2360:37;2356:42;2341:58;2326:74;;2213:201;-1:-1:-1;;;;;2460:1:2;2444:14;;;2440:22;2427:36;;-1:-1:-1;1378:1352:2:o;2735:844::-;2865:3;2894:1;2927:6;2921:13;2957:36;2983:9;2957:36;:::i;:::-;3012:1;3029:18;;;3056:133;;;;3203:1;3198:356;;;;3022:532;;3056:133;-1:-1:-1;;3089:24:2;;3077:37;;3162:14;;3155:22;3143:35;;3134:45;;;-1:-1:-1;3056:133:2;;3198:356;3229:6;3226:1;3219:17;3259:4;3304:2;3301:1;3291:16;3329:1;3343:165;3357:6;3354:1;3351:13;3343:165;;;3435:14;;3422:11;;;3415:35;3478:16;;;;3372:10;;3343:165;;;3347:3;;;3537:6;3532:3;3528:16;3521:23;;3022:532;-1:-1:-1;3570:3:2;;2735:844;-1:-1:-1;;;;;;2735:844:2:o;3584:489::-;99:255:1;;;;;;;;;;;;;;;;;;;;;;;;", "linkReferences": {} }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b41146101d5578063a9059cbb146101dd578063d505accf146101f0578063dd62ed3e1461020357600080fd5b806340c10f191461018057806370a08231146101955780637ecebe00146101b557600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd1461012c578063313ce5671461013f5780633644e51514610178575b600080fd5b6100dc61022e565b6040516100e9919061089a565b60405180910390f35b610105610100366004610904565b6102bc565b60405190151581526020016100e9565b61011e60025481565b6040519081526020016100e9565b61010561013a36600461092e565b610329565b6101667f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100e9565b61011e61041b565b61019361018e366004610904565b610476565b005b61011e6101a336600461096a565b60036020526000908152604090205481565b61011e6101c336600461096a565b60056020526000908152604090205481565b6100dc6104c7565b6101056101eb366004610904565b6104d4565b6101936101fe36600461098c565b61054c565b61011e6102113660046109ff565b600460209081526000928352604080842090915290825290205481565b6000805461023b90610a32565b80601f016020809104026020016040519081016040528092919081815260200182805461026790610a32565b80156102b45780601f10610289576101008083540402835291602001916102b4565b820191906000526020600020905b81548152906001019060200180831161029757829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103179086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610385576103608382610a82565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906103ad908490610a82565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104089087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146104515761044c610795565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b610480828261082f565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516104bb91815260200190565b60405180910390a25050565b6001805461023b90610a32565b336000908152600360205260408120805483919083906104f5908490610a82565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103179086815260200190565b428410156105a15760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b600060016105ad61041b565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156106b9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906106ef5750876001600160a01b0316816001600160a01b0316145b61072c5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610598565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516107c79190610a95565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546108419190610b34565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156108c7578581018301518582016040015282016108ab565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108ff57600080fd5b919050565b6000806040838503121561091757600080fd5b610920836108e8565b946020939093013593505050565b60008060006060848603121561094357600080fd5b61094c846108e8565b925061095a602085016108e8565b9150604084013590509250925092565b60006020828403121561097c57600080fd5b610985826108e8565b9392505050565b600080600080600080600060e0888a0312156109a757600080fd5b6109b0886108e8565b96506109be602089016108e8565b95506040880135945060608801359350608088013560ff811681146109e257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610a1257600080fd5b610a1b836108e8565b9150610a29602084016108e8565b90509250929050565b600181811c90821680610a4657607f821691505b602082108103610a6657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561032357610323610a6c565b600080835481600182811c915080831680610ab157607f831692505b60208084108203610ad057634e487b7160e01b86526022600452602486fd5b818015610ae45760018114610af957610b26565b60ff1986168952841515850289019650610b26565b60008a81526020902060005b86811015610b1e5781548b820152908501908301610b05565b505084890196505b509498975050505050505050565b8082018082111561032357610323610a6c56fea264697066735822122035aa6d6657258d3fa4983cc46c76da92be5fa747d70e6ab448fedb8b7cecd6e064736f6c63430008110033", - "sourceMap": "99:255:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1018:18:0;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2448:211;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:4;;1162:22;1144:41;;1132:2;1117:18;2448:211:0;1004:187:4;1291:26:0;;;;;;;;;1342:25:4;;;1330:2;1315:18;1291:26:0;1196:177:4;3044:592:0;;;;;;:::i;:::-;;:::i;1070:31::-;;;;;;;;1883:4:4;1871:17;;;1853:36;;1841:2;1826:18;1070:31:0;1711:184:4;5314:177:0;;;:::i;236:116:3:-;;;;;;:::i;:::-;;:::i;:::-;;1324:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;1738:41;;;;;;:::i;:::-;;;;;;;;;;;;;;1043:20;;;:::i;2665:373::-;;;;;;:::i;:::-;;:::i;3825:1483::-;;;;;;:::i;:::-;;:::i;1375:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1018:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2448:211::-;2548:10;2522:4;2538:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2538:30:0;;;;;;;;;;:39;;;2593:37;2522:4;;2538:30;;2593:37;;;;2571:6;1342:25:4;;1330:2;1315:18;;1196:177;2593:37:0;;;;;;;;-1:-1:-1;2648:4:0;2448:211;;;;;:::o;3044:592::-;-1:-1:-1;;;;;3196:15:0;;3162:4;3196:15;;;:9;:15;;;;;;;;3212:10;3196:27;;;;;;;;-1:-1:-1;;3274:28:0;;3270:80;;3334:16;3344:6;3334:7;:16;:::i;:::-;-1:-1:-1;;;;;3304:15:0;;;;;;:9;:15;;;;;;;;3320:10;3304:27;;;;;;;:46;3270:80;-1:-1:-1;;;;;3361:15:0;;;;;;:9;:15;;;;;:25;;3380:6;;3361:15;:25;;3380:6;;3361:25;:::i;:::-;;;;-1:-1:-1;;;;;;;3532:13:0;;;;;;;:9;:13;;;;;;;:23;;;;;;3581:26;3532:13;;3581:26;;;;;;;3549:6;1342:25:4;;1330:2;1315:18;;1196:177;3581:26:0;;;;;;;;-1:-1:-1;3625:4:0;;3044:592;-1:-1:-1;;;;3044:592:0:o;5314:177::-;5371:7;5414:16;5397:13;:33;:87;;5460:24;:22;:24::i;:::-;5390:94;;5314:177;:::o;5397:87::-;-1:-1:-1;5433:24:0;;5314:177::o;236:116:3:-;297:17;303:2;307:6;297:5;:17::i;:::-;334:2;-1:-1:-1;;;;;329:16:3;;338:6;329:16;;;;1342:25:4;;1330:2;1315:18;;1196:177;329:16:3;;;;;;;;236:116;;:::o;1043:20:0:-;;;;;;;:::i;2665:373::-;2761:10;2735:4;2751:21;;;:9;:21;;;;;:31;;2776:6;;2751:21;2735:4;;2751:31;;2776:6;;2751:31;:::i;:::-;;;;-1:-1:-1;;;;;;;2928:13:0;;;;;;:9;:13;;;;;;;:23;;;;;;2977:32;2986:10;;2977:32;;;;2945:6;1342:25:4;;1330:2;1315:18;;1196:177;3825:1483:0;4044:15;4032:8;:27;;4024:63;;;;-1:-1:-1;;;4024:63:0;;4088:2:4;4024:63:0;;;4070:21:4;4127:2;4107:18;;;4100:30;4166:25;4146:18;;;4139:53;4209:18;;4024:63:0;;;;;;;;;4252:24;4279:805;4415:18;:16;:18::i;:::-;-1:-1:-1;;;;;4860:13:0;;;;;;;:6;:13;;;;;;;;;:15;;;;;;;;4498:449;;4542:165;4498:449;;;4525:25:4;4604:18;;;4597:43;;;;4676:15;;;4656:18;;;4649:43;4708:18;;;4701:34;;;4751:19;;;4744:35;;;;4795:19;;;;4788:35;;;4498:449:0;;;;;;;;;;4497:19:4;;;4498:449:0;;;4459:514;;;;;;;;-1:-1:-1;;;4337:658:0;;;5092:27:4;5135:11;;;5128:27;;;;5171:12;;;5164:28;;;;5208:12;;4337:658:0;;;-1:-1:-1;;4337:658:0;;;;;;;;;4306:707;;4337:658;4306:707;;;;4279:805;;;;;;;;;5458:25:4;5531:4;5519:17;;5499:18;;;5492:45;5553:18;;;5546:34;;;5596:18;;;5589:34;;;5430:19;;4279:805:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4279:805:0;;-1:-1:-1;;4279:805:0;;;-1:-1:-1;;;;;;;5107:30:0;;;;;;:59;;;5161:5;-1:-1:-1;;;;;5141:25:0;:16;-1:-1:-1;;;;;5141:25:0;;5107:59;5099:86;;;;-1:-1:-1;;;5099:86:0;;5836:2:4;5099:86:0;;;5818:21:4;5875:2;5855:18;;;5848:30;-1:-1:-1;;;5894:18:4;;;5887:44;5948:18;;5099:86:0;5634:338:4;5099:86:0;-1:-1:-1;;;;;5200:27:0;;;;;;;:9;:27;;;;;;;;:36;;;;;;;;;;;;;:44;;;5270:31;1342:25:4;;;5200:36:0;;5270:31;;;;;1315:18:4;5270:31:0;;;;;;;3825:1483;;;;;;;:::o;5497:446::-;5562:7;5659:95;5792:4;5776:22;;;;;;:::i;:::-;;;;;;;;;;5627:295;;;7503:25:4;;;;7544:18;;7537:34;;;;5820:14:0;7587:18:4;;;7580:34;5856:13:0;7630:18:4;;;7623:34;5899:4:0;7673:19:4;;;7666:61;7475:19;;5627:295:0;;;;;;;;;;;;5600:336;;;;;;5581:355;;5497:446;:::o;6137:325::-;6222:6;6207:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;6374:13:0;;;;;;:9;:13;;;;;;;;:23;;;;;;6423:32;1342:25:4;;;6423:32:0;;1315:18:4;6423:32:0;;;;;;;6137:325;;:::o;14:548:4:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:4;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:4:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;2082:186::-;2141:6;2194:2;2182:9;2173:7;2169:23;2165:32;2162:52;;;2210:1;2207;2200:12;2162:52;2233:29;2252:9;2233:29;:::i;:::-;2223:39;2082:186;-1:-1:-1;;;2082:186:4:o;2273:693::-;2384:6;2392;2400;2408;2416;2424;2432;2485:3;2473:9;2464:7;2460:23;2456:33;2453:53;;;2502:1;2499;2492:12;2453:53;2525:29;2544:9;2525:29;:::i;:::-;2515:39;;2573:38;2607:2;2596:9;2592:18;2573:38;:::i;:::-;2563:48;;2658:2;2647:9;2643:18;2630:32;2620:42;;2709:2;2698:9;2694:18;2681:32;2671:42;;2763:3;2752:9;2748:19;2735:33;2808:4;2801:5;2797:16;2790:5;2787:27;2777:55;;2828:1;2825;2818:12;2777:55;2273:693;;;;-1:-1:-1;2273:693:4;;;;2851:5;2903:3;2888:19;;2875:33;;-1:-1:-1;2955:3:4;2940:19;;;2927:33;;2273:693;-1:-1:-1;;2273:693:4:o;2971:260::-;3039:6;3047;3100:2;3088:9;3079:7;3075:23;3071:32;3068:52;;;3116:1;3113;3106:12;3068:52;3139:29;3158:9;3139:29;:::i;:::-;3129:39;;3187:38;3221:2;3210:9;3206:18;3187:38;:::i;:::-;3177:48;;2971:260;;;;;:::o;3236:380::-;3315:1;3311:12;;;;3358;;;3379:61;;3433:4;3425:6;3421:17;3411:27;;3379:61;3486:2;3478:6;3475:14;3455:18;3452:38;3449:161;;3532:10;3527:3;3523:20;3520:1;3513:31;3567:4;3564:1;3557:15;3595:4;3592:1;3585:15;3449:161;;3236:380;;;:::o;3621:127::-;3682:10;3677:3;3673:20;3670:1;3663:31;3713:4;3710:1;3703:15;3737:4;3734:1;3727:15;3753:128;3820:9;;;3841:11;;;3838:37;;;3855:18;;:::i;6106:1133::-;6236:3;6265:1;6298:6;6292:13;6328:3;6350:1;6378:9;6374:2;6370:18;6360:28;;6438:2;6427:9;6423:18;6460;6450:61;;6504:4;6496:6;6492:17;6482:27;;6450:61;6530:2;6578;6570:6;6567:14;6547:18;6544:38;6541:165;;-1:-1:-1;;;6605:33:4;;6661:4;6658:1;6651:15;6691:4;6612:3;6679:17;6541:165;6722:18;6749:133;;;;6896:1;6891:323;;;;6715:499;;6749:133;-1:-1:-1;;6782:24:4;;6770:37;;6855:14;;6848:22;6836:35;;6827:45;;;-1:-1:-1;6749:133:4;;6891:323;6053:1;6046:14;;;6090:4;6077:18;;6989:1;7003:165;7017:6;7014:1;7011:13;7003:165;;;7095:14;;7082:11;;;7075:35;7138:16;;;;7032:10;;7003:165;;;7007:3;;7197:6;7192:3;7188:16;7181:23;;6715:499;-1:-1:-1;7230:3:4;;6106:1133;-1:-1:-1;;;;;;;;6106:1133:4:o;7738:125::-;7803:9;;;7824:10;;;7821:36;;;7837:18;;:::i", + "object": "0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b41146101d5578063a9059cbb146101dd578063d505accf146101f0578063dd62ed3e1461020357600080fd5b806340c10f191461018057806370a08231146101955780637ecebe00146101b557600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd1461012c578063313ce5671461013f5780633644e51514610178575b600080fd5b6100dc61022e565b6040516100e9919061089a565b60405180910390f35b610105610100366004610904565b6102bc565b60405190151581526020016100e9565b61011e60025481565b6040519081526020016100e9565b61010561013a36600461092e565b610329565b6101667f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100e9565b61011e61041b565b61019361018e366004610904565b610476565b005b61011e6101a336600461096a565b60036020526000908152604090205481565b61011e6101c336600461096a565b60056020526000908152604090205481565b6100dc6104c7565b6101056101eb366004610904565b6104d4565b6101936101fe36600461098c565b61054c565b61011e6102113660046109ff565b600460209081526000928352604080842090915290825290205481565b6000805461023b90610a32565b80601f016020809104026020016040519081016040528092919081815260200182805461026790610a32565b80156102b45780601f10610289576101008083540402835291602001916102b4565b820191906000526020600020905b81548152906001019060200180831161029757829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103179086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610385576103608382610a82565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906103ad908490610a82565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104089087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146104515761044c610795565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b610480828261082f565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516104bb91815260200190565b60405180910390a25050565b6001805461023b90610a32565b336000908152600360205260408120805483919083906104f5908490610a82565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103179086815260200190565b428410156105a15760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b600060016105ad61041b565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156106b9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906106ef5750876001600160a01b0316816001600160a01b0316145b61072c5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610598565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516107c79190610a95565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546108419190610b34565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156108c7578581018301518582016040015282016108ab565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108ff57600080fd5b919050565b6000806040838503121561091757600080fd5b610920836108e8565b946020939093013593505050565b60008060006060848603121561094357600080fd5b61094c846108e8565b925061095a602085016108e8565b9150604084013590509250925092565b60006020828403121561097c57600080fd5b610985826108e8565b9392505050565b600080600080600080600060e0888a0312156109a757600080fd5b6109b0886108e8565b96506109be602089016108e8565b95506040880135945060608801359350608088013560ff811681146109e257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610a1257600080fd5b610a1b836108e8565b9150610a29602084016108e8565b90509250929050565b600181811c90821680610a4657607f821691505b602082108103610a6657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561032357610323610a6c565b600080835481600182811c915080831680610ab157607f831692505b60208084108203610ad057634e487b7160e01b86526022600452602486fd5b818015610ae45760018114610af957610b26565b60ff1986168952841515850289019650610b26565b60008a81526020902060005b86811015610b1e5781548b820152908501908301610b05565b505084890196505b509498975050505050505050565b8082018082111561032357610323610a6c56fea2646970667358221220ee08d7e13a6ad8ecce6ee09a44f35159498332b47f3069e3d4163cb78136174464736f6c63430008110033", + "sourceMap": "99:255:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1018:18:0;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2448:211;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:2;;1162:22;1144:41;;1132:2;1117:18;2448:211:0;1004:187:2;1291:26:0;;;;;;;;;1342:25:2;;;1330:2;1315:18;1291:26:0;1196:177:2;3044:592:0;;;;;;:::i;:::-;;:::i;1070:31::-;;;;;;;;1883:4:2;1871:17;;;1853:36;;1841:2;1826:18;1070:31:0;1711:184:2;5314:177:0;;;:::i;236:116:1:-;;;;;;:::i;:::-;;:::i;:::-;;1324:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;1738:41;;;;;;:::i;:::-;;;;;;;;;;;;;;1043:20;;;:::i;2665:373::-;;;;;;:::i;:::-;;:::i;3825:1483::-;;;;;;:::i;:::-;;:::i;1375:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1018:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2448:211::-;2548:10;2522:4;2538:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2538:30:0;;;;;;;;;;:39;;;2593:37;2522:4;;2538:30;;2593:37;;;;2571:6;1342:25:2;;1330:2;1315:18;;1196:177;2593:37:0;;;;;;;;-1:-1:-1;2648:4:0;2448:211;;;;;:::o;3044:592::-;-1:-1:-1;;;;;3196:15:0;;3162:4;3196:15;;;:9;:15;;;;;;;;3212:10;3196:27;;;;;;;;-1:-1:-1;;3274:28:0;;3270:80;;3334:16;3344:6;3334:7;:16;:::i;:::-;-1:-1:-1;;;;;3304:15:0;;;;;;:9;:15;;;;;;;;3320:10;3304:27;;;;;;;:46;3270:80;-1:-1:-1;;;;;3361:15:0;;;;;;:9;:15;;;;;:25;;3380:6;;3361:15;:25;;3380:6;;3361:25;:::i;:::-;;;;-1:-1:-1;;;;;;;3532:13:0;;;;;;;:9;:13;;;;;;;:23;;;;;;3581:26;3532:13;;3581:26;;;;;;;3549:6;1342:25:2;;1330:2;1315:18;;1196:177;3581:26:0;;;;;;;;-1:-1:-1;3625:4:0;;3044:592;-1:-1:-1;;;;3044:592:0:o;5314:177::-;5371:7;5414:16;5397:13;:33;:87;;5460:24;:22;:24::i;:::-;5390:94;;5314:177;:::o;5397:87::-;-1:-1:-1;5433:24:0;;5314:177::o;236:116:1:-;297:17;303:2;307:6;297:5;:17::i;:::-;334:2;-1:-1:-1;;;;;329:16:1;;338:6;329:16;;;;1342:25:2;;1330:2;1315:18;;1196:177;329:16:1;;;;;;;;236:116;;:::o;1043:20:0:-;;;;;;;:::i;2665:373::-;2761:10;2735:4;2751:21;;;:9;:21;;;;;:31;;2776:6;;2751:21;2735:4;;2751:31;;2776:6;;2751:31;:::i;:::-;;;;-1:-1:-1;;;;;;;2928:13:0;;;;;;:9;:13;;;;;;;:23;;;;;;2977:32;2986:10;;2977:32;;;;2945:6;1342:25:2;;1330:2;1315:18;;1196:177;3825:1483:0;4044:15;4032:8;:27;;4024:63;;;;-1:-1:-1;;;4024:63:0;;4088:2:2;4024:63:0;;;4070:21:2;4127:2;4107:18;;;4100:30;4166:25;4146:18;;;4139:53;4209:18;;4024:63:0;;;;;;;;;4252:24;4279:805;4415:18;:16;:18::i;:::-;-1:-1:-1;;;;;4860:13:0;;;;;;;:6;:13;;;;;;;;;:15;;;;;;;;4498:449;;4542:165;4498:449;;;4525:25:2;4604:18;;;4597:43;;;;4676:15;;;4656:18;;;4649:43;4708:18;;;4701:34;;;4751:19;;;4744:35;;;;4795:19;;;;4788:35;;;4498:449:0;;;;;;;;;;4497:19:2;;;4498:449:0;;;4459:514;;;;;;;;-1:-1:-1;;;4337:658:0;;;5092:27:2;5135:11;;;5128:27;;;;5171:12;;;5164:28;;;;5208:12;;4337:658:0;;;-1:-1:-1;;4337:658:0;;;;;;;;;4306:707;;4337:658;4306:707;;;;4279:805;;;;;;;;;5458:25:2;5531:4;5519:17;;5499:18;;;5492:45;5553:18;;;5546:34;;;5596:18;;;5589:34;;;5430:19;;4279:805:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4279:805:0;;-1:-1:-1;;4279:805:0;;;-1:-1:-1;;;;;;;5107:30:0;;;;;;:59;;;5161:5;-1:-1:-1;;;;;5141:25:0;:16;-1:-1:-1;;;;;5141:25:0;;5107:59;5099:86;;;;-1:-1:-1;;;5099:86:0;;5836:2:2;5099:86:0;;;5818:21:2;5875:2;5855:18;;;5848:30;-1:-1:-1;;;5894:18:2;;;5887:44;5948:18;;5099:86:0;5634:338:2;5099:86:0;-1:-1:-1;;;;;5200:27:0;;;;;;;:9;:27;;;;;;;;:36;;;;;;;;;;;;;:44;;;5270:31;1342:25:2;;;5200:36:0;;5270:31;;;;;1315:18:2;5270:31:0;;;;;;;3825:1483;;;;;;;:::o;5497:446::-;5562:7;5659:95;5792:4;5776:22;;;;;;:::i;:::-;;;;;;;;;;5627:295;;;7503:25:2;;;;7544:18;;7537:34;;;;5820:14:0;7587:18:2;;;7580:34;5856:13:0;7630:18:2;;;7623:34;5899:4:0;7673:19:2;;;7666:61;7475:19;;5627:295:0;;;;;;;;;;;;5600:336;;;;;;5581:355;;5497:446;:::o;6137:325::-;6222:6;6207:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;6374:13:0;;;;;;:9;:13;;;;;;;;:23;;;;;;6423:32;1342:25:2;;;6423:32:0;;1315:18:2;6423:32:0;;;;;;;6137:325;;:::o;14:548:2:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:2;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:2:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;2082:186::-;2141:6;2194:2;2182:9;2173:7;2169:23;2165:32;2162:52;;;2210:1;2207;2200:12;2162:52;2233:29;2252:9;2233:29;:::i;:::-;2223:39;2082:186;-1:-1:-1;;;2082:186:2:o;2273:693::-;2384:6;2392;2400;2408;2416;2424;2432;2485:3;2473:9;2464:7;2460:23;2456:33;2453:53;;;2502:1;2499;2492:12;2453:53;2525:29;2544:9;2525:29;:::i;:::-;2515:39;;2573:38;2607:2;2596:9;2592:18;2573:38;:::i;:::-;2563:48;;2658:2;2647:9;2643:18;2630:32;2620:42;;2709:2;2698:9;2694:18;2681:32;2671:42;;2763:3;2752:9;2748:19;2735:33;2808:4;2801:5;2797:16;2790:5;2787:27;2777:55;;2828:1;2825;2818:12;2777:55;2273:693;;;;-1:-1:-1;2273:693:2;;;;2851:5;2903:3;2888:19;;2875:33;;-1:-1:-1;2955:3:2;2940:19;;;2927:33;;2273:693;-1:-1:-1;;2273:693:2:o;2971:260::-;3039:6;3047;3100:2;3088:9;3079:7;3075:23;3071:32;3068:52;;;3116:1;3113;3106:12;3068:52;3139:29;3158:9;3139:29;:::i;:::-;3129:39;;3187:38;3221:2;3210:9;3206:18;3187:38;:::i;:::-;3177:48;;2971:260;;;;;:::o;3236:380::-;3315:1;3311:12;;;;3358;;;3379:61;;3433:4;3425:6;3421:17;3411:27;;3379:61;3486:2;3478:6;3475:14;3455:18;3452:38;3449:161;;3532:10;3527:3;3523:20;3520:1;3513:31;3567:4;3564:1;3557:15;3595:4;3592:1;3585:15;3449:161;;3236:380;;;:::o;3621:127::-;3682:10;3677:3;3673:20;3670:1;3663:31;3713:4;3710:1;3703:15;3737:4;3734:1;3727:15;3753:128;3820:9;;;3841:11;;;3838:37;;;3855:18;;:::i;6106:1133::-;6236:3;6265:1;6298:6;6292:13;6328:3;6350:1;6378:9;6374:2;6370:18;6360:28;;6438:2;6427:9;6423:18;6460;6450:61;;6504:4;6496:6;6492:17;6482:27;;6450:61;6530:2;6578;6570:6;6567:14;6547:18;6544:38;6541:165;;-1:-1:-1;;;6605:33:2;;6661:4;6658:1;6651:15;6691:4;6612:3;6679:17;6541:165;6722:18;6749:133;;;;6896:1;6891:323;;;;6715:499;;6749:133;-1:-1:-1;;6782:24:2;;6770:37;;6855:14;;6848:22;6836:35;;6827:45;;;-1:-1:-1;6749:133:2;;6891:323;6053:1;6046:14;;;6090:4;6077:18;;6989:1;7003:165;7017:6;7014:1;7011:13;7003:165;;;7095:14;;7082:11;;;7075:35;7138:16;;;;7032:10;;7003:165;;;7007:3;;7197:6;7192:3;7188:16;7181:23;;6715:499;-1:-1:-1;7230:3:2;;6106:1133;-1:-1:-1;;;;;;;;6106:1133:2:o;7738:125::-;7803:9;;;7824:10;;;7821:36;;;7837:18;;:::i", "linkReferences": {}, "immutableReferences": { "24": [ @@ -385,7 +385,7 @@ "transfer(address,uint256)": "a9059cbb", "transferFrom(address,address,uint256)": "23b872dd" }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/SolmateERC20.sol\":\"SolmateERC20\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@forge-std/=lib/forge-std/src/\",\":@interfaces/=interfaces/\",\":@solmate/=lib/solmate/src/\",\":@src/=src/\"]},\"sources\":{\"lib/ERC20.sol\":{\"keccak256\":\"0xb7cab03155316740414c481eb4f82c8c86550ae415afa3fee9441fb6d25901d8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://27252fd28e8b2b7731f4ce9f6796314f90744461ccb1da23425090cd0155f607\",\"dweb:/ipfs/QmTTwxZ5LbtQy62qKwmfR3GzEvnuHyppk2tvpvTgdzcd3C\"]},\"src/SolmateERC20.sol\":{\"keccak256\":\"0xc88969069f11c47f941610e34ee1927e255782e9c556d527c1d184d7bdc4265b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8e183345965845b012727a1e36d0143f66606ab1b548ca0dffb02f1611ac003\",\"dweb:/ipfs/QmWXc5djmXKt99AjnZjeSo4zpoRsdrZ2Z3n42m14FAfU3x\"]}},\"version\":1}", + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/SolmateERC20.sol\":\"SolmateERC20\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@forge-std/=lib/forge-std/src/\",\":@interfaces/=interfaces/\",\":@solmate/=lib/solmate/src/\",\":@src/=src/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/ERC20.sol\":{\"keccak256\":\"0xb7cab03155316740414c481eb4f82c8c86550ae415afa3fee9441fb6d25901d8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://27252fd28e8b2b7731f4ce9f6796314f90744461ccb1da23425090cd0155f607\",\"dweb:/ipfs/QmTTwxZ5LbtQy62qKwmfR3GzEvnuHyppk2tvpvTgdzcd3C\"]},\"src/SolmateERC20.sol\":{\"keccak256\":\"0xc88969069f11c47f941610e34ee1927e255782e9c556d527c1d184d7bdc4265b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8e183345965845b012727a1e36d0143f66606ab1b548ca0dffb02f1611ac003\",\"dweb:/ipfs/QmWXc5djmXKt99AjnZjeSo4zpoRsdrZ2Z3n42m14FAfU3x\"]}},\"version\":1}", "metadata": { "compiler": { "version": "0.8.17+commit.8df45f5f" @@ -747,7 +747,9 @@ ":@forge-std/=lib/forge-std/src/", ":@interfaces/=interfaces/", ":@solmate/=lib/solmate/src/", - ":@src/=src/" + ":@src/=src/", + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" ], "optimizer": { "enabled": true, @@ -783,22 +785,22 @@ }, "ast": { "absolutePath": "src/SolmateERC20.sol", - "id": 470, + "id": 428, "exportedSymbols": { "ERC20": [ 387 ], "SolmateERC20": [ - 469 + 427 ] }, "nodeType": "SourceUnit", - "src": "32:322:3", + "src": "32:322:1", "nodes": [ { - "id": 431, + "id": 389, "nodeType": "PragmaDirective", - "src": "32:24:3", + "src": "32:24:1", "nodes": [], "literals": [ "solidity", @@ -808,24 +810,24 @@ ] }, { - "id": 433, + "id": 391, "nodeType": "ImportDirective", - "src": "58:39:3", + "src": "58:39:1", "nodes": [], "absolutePath": "lib/ERC20.sol", "file": "../lib/ERC20.sol", "nameLocation": "-1:-1:-1", - "scope": 470, + "scope": 428, "sourceUnit": 388, "symbolAliases": [ { "foreign": { - "id": 432, + "id": 390, "name": "ERC20", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 387, - "src": "66:5:3", + "src": "66:5:1", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -834,19 +836,19 @@ "unitAlias": "" }, { - "id": 469, + "id": 427, "nodeType": "ContractDefinition", - "src": "99:255:3", + "src": "99:255:1", "nodes": [ { - "id": 444, + "id": 402, "nodeType": "FunctionDefinition", - "src": "136:41:3", + "src": "136:41:1", "nodes": [], "body": { - "id": 443, + "id": 401, "nodeType": "Block", - "src": "175:2:3", + "src": "175:2:1", "nodes": [], "statements": [] }, @@ -857,14 +859,14 @@ "arguments": [ { "hexValue": "546f6b656e", - "id": 438, + "id": 396, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "156:7:3", + "src": "156:7:1", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1317f51c845ce3bfb7c268e5337a825f12f3d0af9584c2bbfbf4e64e314eaf73", "typeString": "literal_string \"Token\"" @@ -873,14 +875,14 @@ }, { "hexValue": "544b", - "id": 439, + "id": 397, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "165:4:3", + "src": "165:4:1", "typeDescriptions": { "typeIdentifier": "t_stringliteral_74a9eceacca16a19243c8d7744838b80a7c23e6f27379d796e76c25ca0784b5e", "typeString": "literal_string \"TK\"" @@ -889,14 +891,14 @@ }, { "hexValue": "3138", - "id": 440, + "id": 398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "171:2:3", + "src": "171:2:1", "typeDescriptions": { "typeIdentifier": "t_rational_18_by_1", "typeString": "int_const 18" @@ -904,64 +906,64 @@ "value": "18" } ], - "id": 441, + "id": 399, "kind": "baseConstructorSpecifier", "modifierName": { - "id": 437, + "id": 395, "name": "ERC20", "nameLocations": [ - "150:5:3" + "150:5:1" ], "nodeType": "IdentifierPath", "referencedDeclaration": 387, - "src": "150:5:3" + "src": "150:5:1" }, "nodeType": "ModifierInvocation", - "src": "150:24:3" + "src": "150:24:1" } ], "name": "", "nameLocation": "-1:-1:-1", "parameters": { - "id": 436, + "id": 394, "nodeType": "ParameterList", "parameters": [], - "src": "147:2:3" + "src": "147:2:1" }, "returnParameters": { - "id": 442, + "id": 400, "nodeType": "ParameterList", "parameters": [], - "src": "175:0:3" + "src": "175:0:1" }, - "scope": 469, + "scope": 427, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 450, + "id": 408, "nodeType": "EventDefinition", - "src": "183:47:3", + "src": "183:47:1", "nodes": [], "anonymous": false, "eventSelector": "0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885", "name": "Mint", - "nameLocation": "189:4:3", + "nameLocation": "189:4:1", "parameters": { - "id": 449, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 446, + "id": 404, "indexed": true, "mutability": "mutable", "name": "to", - "nameLocation": "210:2:3", + "nameLocation": "210:2:1", "nodeType": "VariableDeclaration", - "scope": 450, - "src": "194:18:3", + "scope": 408, + "src": "194:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -969,10 +971,10 @@ "typeString": "address" }, "typeName": { - "id": 445, + "id": 403, "name": "address", "nodeType": "ElementaryTypeName", - "src": "194:7:3", + "src": "194:7:1", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -983,14 +985,14 @@ }, { "constant": false, - "id": 448, + "id": 406, "indexed": false, "mutability": "mutable", "name": "amount", - "nameLocation": "222:6:3", + "nameLocation": "222:6:1", "nodeType": "VariableDeclaration", - "scope": 450, - "src": "214:14:3", + "scope": 408, + "src": "214:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -998,10 +1000,10 @@ "typeString": "uint256" }, "typeName": { - "id": 447, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "214:7:3", + "src": "214:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1010,42 +1012,42 @@ "visibility": "internal" } ], - "src": "193:36:3" + "src": "193:36:1" } }, { - "id": 468, + "id": 426, "nodeType": "FunctionDefinition", - "src": "236:116:3", + "src": "236:116:1", "nodes": [], "body": { - "id": 467, + "id": 425, "nodeType": "Block", - "src": "287:65:3", + "src": "287:65:1", "nodes": [], "statements": [ { "expression": { "arguments": [ { - "id": 458, + "id": 416, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "303:2:3", + "referencedDeclaration": 410, + "src": "303:2:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 459, + "id": 417, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "307:6:3", + "referencedDeclaration": 412, + "src": "307:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1063,18 +1065,18 @@ "typeString": "uint256" } ], - "id": 457, + "id": 415, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 358, - "src": "297:5:3", + "src": "297:5:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 460, + "id": 418, "isConstant": false, "isLValue": false, "isPure": false, @@ -1083,39 +1085,39 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "297:17:3", + "src": "297:17:1", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 461, + "id": 419, "nodeType": "ExpressionStatement", - "src": "297:17:3" + "src": "297:17:1" }, { "eventCall": { "arguments": [ { - "id": 463, + "id": 421, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "334:2:3", + "referencedDeclaration": 410, + "src": "334:2:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 464, + "id": 422, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "338:6:3", + "referencedDeclaration": 412, + "src": "338:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1133,18 +1135,18 @@ "typeString": "uint256" } ], - "id": 462, + "id": 420, "name": "Mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 450, - "src": "329:4:3", + "referencedDeclaration": 408, + "src": "329:4:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 465, + "id": 423, "isConstant": false, "isLValue": false, "isPure": false, @@ -1153,16 +1155,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "329:16:3", + "src": "329:16:1", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 466, + "id": 424, "nodeType": "EmitStatement", - "src": "324:21:3" + "src": "324:21:1" } ] }, @@ -1171,20 +1173,20 @@ "kind": "function", "modifiers": [], "name": "mint", - "nameLocation": "245:4:3", + "nameLocation": "245:4:1", "parameters": { - "id": 455, + "id": 413, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 452, + "id": 410, "mutability": "mutable", "name": "to", - "nameLocation": "258:2:3", + "nameLocation": "258:2:1", "nodeType": "VariableDeclaration", - "scope": 468, - "src": "250:10:3", + "scope": 426, + "src": "250:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1192,10 +1194,10 @@ "typeString": "address" }, "typeName": { - "id": 451, + "id": 409, "name": "address", "nodeType": "ElementaryTypeName", - "src": "250:7:3", + "src": "250:7:1", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1206,13 +1208,13 @@ }, { "constant": false, - "id": 454, + "id": 412, "mutability": "mutable", "name": "amount", - "nameLocation": "270:6:3", + "nameLocation": "270:6:1", "nodeType": "VariableDeclaration", - "scope": 468, - "src": "262:14:3", + "scope": 426, + "src": "262:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1220,10 +1222,10 @@ "typeString": "uint256" }, "typeName": { - "id": 453, + "id": 411, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "262:7:3", + "src": "262:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1232,15 +1234,15 @@ "visibility": "internal" } ], - "src": "249:28:3" + "src": "249:28:1" }, "returnParameters": { - "id": 456, + "id": 414, "nodeType": "ParameterList", "parameters": [], - "src": "287:0:3" + "src": "287:0:1" }, - "scope": 469, + "scope": 427, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -1250,18 +1252,18 @@ "baseContracts": [ { "baseName": { - "id": 434, + "id": 392, "name": "ERC20", "nameLocations": [ - "124:5:3" + "124:5:1" ], "nodeType": "IdentifierPath", "referencedDeclaration": 387, - "src": "124:5:3" + "src": "124:5:1" }, - "id": 435, + "id": 393, "nodeType": "InheritanceSpecifier", - "src": "124:5:3" + "src": "124:5:1" } ], "canonicalName": "SolmateERC20", @@ -1269,16 +1271,16 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 469, + 427, 387 ], "name": "SolmateERC20", - "nameLocation": "108:12:3", - "scope": 470, + "nameLocation": "108:12:1", + "scope": 428, "usedErrors": [] } ], "license": "MIT" }, - "id": 3 + "id": 1 } \ No newline at end of file diff --git a/go.mod b/go.mod index bfb3616ef..6648d8639 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module pkg.berachain.dev/stargazer +module pkg.berachain.dev/polaris go 1.20 @@ -18,7 +18,7 @@ require ( cosmossdk.io/core v0.6.0 cosmossdk.io/depinject v1.0.0-alpha.3 cosmossdk.io/errors v1.0.0-beta.7 - cosmossdk.io/log v0.0.0-20230305125317-672b052f323b + cosmossdk.io/log v0.0.0-20230305202224-89c956f8ed3a cosmossdk.io/math v1.0.0-beta.6.0.20230305125317-672b052f323b cosmossdk.io/simapp v0.0.0-20230305125317-672b052f323b cosmossdk.io/store v0.0.0-20230305125317-672b052f323b diff --git a/go.sum b/go.sum index 08d73257c..3cd34be0f 100644 --- a/go.sum +++ b/go.sum @@ -208,8 +208,8 @@ cosmossdk.io/depinject v1.0.0-alpha.3 h1:6evFIgj//Y3w09bqOUOzEpFj5tsxBqdc5CfkO7z cosmossdk.io/depinject v1.0.0-alpha.3/go.mod h1:eRbcdQ7MRpIPEM5YUJh8k97nxHpYbc3sMUnEtt8HPWU= cosmossdk.io/errors v1.0.0-beta.7 h1:gypHW76pTQGVnHKo6QBkb4yFOJjC+sUGRc5Al3Odj1w= cosmossdk.io/errors v1.0.0-beta.7/go.mod h1:mz6FQMJRku4bY7aqS/Gwfcmr/ue91roMEKAmDUDpBfE= -cosmossdk.io/log v0.0.0-20230305125317-672b052f323b h1:1/qcK3tmCE4eoQla6WhcRWdseSjxK1Vz/xLt2RL0W7U= -cosmossdk.io/log v0.0.0-20230305125317-672b052f323b/go.mod h1:ilL9YXutMQo36MS9CD1cFNUqqHadAtyf8+A2b2EqO5A= +cosmossdk.io/log v0.0.0-20230305202224-89c956f8ed3a h1:RsQs9qgu7kOCZkrQmOMjV04VPmamSAaqOPgveNV0Pr4= +cosmossdk.io/log v0.0.0-20230305202224-89c956f8ed3a/go.mod h1:ilL9YXutMQo36MS9CD1cFNUqqHadAtyf8+A2b2EqO5A= cosmossdk.io/math v1.0.0-beta.6.0.20230305125317-672b052f323b h1:1nPzZ+I1yZqIUJyRzBkn1V5DZ+iF+s3YlgM155IPPBk= cosmossdk.io/math v1.0.0-beta.6.0.20230305125317-672b052f323b/go.mod h1:Ygz4wBHrgc7g0N+8+MrnTfS9LLn9aaTGa9hKopuym5k= cosmossdk.io/simapp v0.0.0-20230305125317-672b052f323b h1:fMEyoiUZ/hjeqiwOtMH6/CA+9q0AAtyIYv+NpWMAwHA= diff --git a/lib/ds/ds.go b/lib/ds/ds.go index c3d7d2cca..e8f385c4d 100644 --- a/lib/ds/ds.go +++ b/lib/ds/ds.go @@ -23,7 +23,7 @@ package ds import ( dbm "github.com/cosmos/cosmos-db" - libtypes "pkg.berachain.dev/stargazer/lib/types" + libtypes "pkg.berachain.dev/polaris/lib/types" ) // `Stack` is an interface represent a FILO data structure. diff --git a/lib/ds/stack/appendable_stack.go b/lib/ds/stack/appendable_stack.go index c131175c6..bfc224484 100644 --- a/lib/ds/stack/appendable_stack.go +++ b/lib/ds/stack/appendable_stack.go @@ -15,7 +15,7 @@ //nolint:ireturn // Stack uses generics. package stack -import "pkg.berachain.dev/stargazer/lib/ds" +import "pkg.berachain.dev/polaris/lib/ds" // `aStack` is a struct that holds a slice of Items as a last in, first out data structure. // It is implemented by the built-in `append` operation. diff --git a/lib/ds/stack/appendable_stack_test.go b/lib/ds/stack/appendable_stack_test.go index a80705cc1..8c116f077 100644 --- a/lib/ds/stack/appendable_stack_test.go +++ b/lib/ds/stack/appendable_stack_test.go @@ -21,8 +21,8 @@ package stack_test import ( - "pkg.berachain.dev/stargazer/lib/ds" - "pkg.berachain.dev/stargazer/lib/ds/stack" + "pkg.berachain.dev/polaris/lib/ds" + "pkg.berachain.dev/polaris/lib/ds/stack" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/lib/ds/stack/cloneable_stack.go b/lib/ds/stack/cloneable_stack.go index 19b555904..0a1ddbd5e 100644 --- a/lib/ds/stack/cloneable_stack.go +++ b/lib/ds/stack/cloneable_stack.go @@ -21,8 +21,8 @@ package stack import ( - "pkg.berachain.dev/stargazer/lib/ds" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/lib/ds" + libtypes "pkg.berachain.dev/polaris/lib/types" ) // `cloneableStack` is a struct that holds a slice of CacheEntry instances. diff --git a/lib/ds/stack/cloneable_stack_test.go b/lib/ds/stack/cloneable_stack_test.go index 5e0f5bd44..8e43081fe 100644 --- a/lib/ds/stack/cloneable_stack_test.go +++ b/lib/ds/stack/cloneable_stack_test.go @@ -21,9 +21,9 @@ package stack_test import ( - "pkg.berachain.dev/stargazer/lib/ds" - "pkg.berachain.dev/stargazer/lib/ds/stack" - typesmock "pkg.berachain.dev/stargazer/lib/types/mock" + "pkg.berachain.dev/polaris/lib/ds" + "pkg.berachain.dev/polaris/lib/ds/stack" + typesmock "pkg.berachain.dev/polaris/lib/types/mock" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/lib/ds/stack/stack.go b/lib/ds/stack/stack.go index b829c87c3..b3afd771e 100644 --- a/lib/ds/stack/stack.go +++ b/lib/ds/stack/stack.go @@ -15,7 +15,7 @@ //nolint:ireturn // Stack uses generics. package stack -import "pkg.berachain.dev/stargazer/lib/ds" +import "pkg.berachain.dev/polaris/lib/ds" const ( resizeRatio = 2 diff --git a/lib/ds/stack/stack_benchmark_test.go b/lib/ds/stack/stack_benchmark_test.go index dc58b4b38..02ed2bc10 100644 --- a/lib/ds/stack/stack_benchmark_test.go +++ b/lib/ds/stack/stack_benchmark_test.go @@ -17,7 +17,7 @@ package stack_test import ( "testing" - "pkg.berachain.dev/stargazer/lib/ds/stack" + "pkg.berachain.dev/polaris/lib/ds/stack" ) const ( diff --git a/lib/ds/stack/stack_test.go b/lib/ds/stack/stack_test.go index 2916b0678..137e0768c 100644 --- a/lib/ds/stack/stack_test.go +++ b/lib/ds/stack/stack_test.go @@ -23,8 +23,8 @@ package stack_test import ( "testing" - "pkg.berachain.dev/stargazer/lib/ds" - "pkg.berachain.dev/stargazer/lib/ds/stack" + "pkg.berachain.dev/polaris/lib/ds" + "pkg.berachain.dev/polaris/lib/ds/stack" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/lib/ds/trees/btree.go b/lib/ds/trees/btree.go index a7e266d12..a3214939c 100644 --- a/lib/ds/trees/btree.go +++ b/lib/ds/trees/btree.go @@ -27,7 +27,7 @@ import ( dbm "github.com/cosmos/cosmos-db" "github.com/tidwall/btree" - "pkg.berachain.dev/stargazer/lib/ds" + "pkg.berachain.dev/polaris/lib/ds" ) const ( diff --git a/lib/ds/trees/btree_test.go b/lib/ds/trees/btree_test.go index 8300b1408..6b80013fb 100644 --- a/lib/ds/trees/btree_test.go +++ b/lib/ds/trees/btree_test.go @@ -26,8 +26,8 @@ import ( dbm "github.com/cosmos/cosmos-db" - "pkg.berachain.dev/stargazer/lib/ds" - "pkg.berachain.dev/stargazer/lib/ds/trees" + "pkg.berachain.dev/polaris/lib/ds" + "pkg.berachain.dev/polaris/lib/ds/trees" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/lib/encoding/json_test.go b/lib/encoding/json_test.go index c3827131a..fcb01e038 100644 --- a/lib/encoding/json_test.go +++ b/lib/encoding/json_test.go @@ -21,7 +21,7 @@ package encoding_test import ( - enclib "pkg.berachain.dev/stargazer/lib/encoding" + enclib "pkg.berachain.dev/polaris/lib/encoding" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/lib/errors/debug/debug_test.go b/lib/errors/debug/debug_test.go index 6f1e91221..45847a534 100644 --- a/lib/errors/debug/debug_test.go +++ b/lib/errors/debug/debug_test.go @@ -23,7 +23,7 @@ package debug_test import ( "testing" - "pkg.berachain.dev/stargazer/lib/errors/debug" + "pkg.berachain.dev/polaris/lib/errors/debug" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/lib/errors/errors_test.go b/lib/errors/errors_test.go index f187de095..5331817ca 100644 --- a/lib/errors/errors_test.go +++ b/lib/errors/errors_test.go @@ -24,7 +24,7 @@ import ( "errors" "testing" - liberrors "pkg.berachain.dev/stargazer/lib/errors" + liberrors "pkg.berachain.dev/polaris/lib/errors" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/lib/registry/map.go b/lib/registry/map.go index 5f095478a..56aa9cc5a 100644 --- a/lib/registry/map.go +++ b/lib/registry/map.go @@ -21,7 +21,7 @@ package registry import ( - libtypes "pkg.berachain.dev/stargazer/lib/types" + libtypes "pkg.berachain.dev/polaris/lib/types" ) // `mapRegistry` is a simple implementation of `Registry` that uses a map as the underlying data diff --git a/lib/registry/map_test.go b/lib/registry/map_test.go index f46e78954..7c0da670c 100644 --- a/lib/registry/map_test.go +++ b/lib/registry/map_test.go @@ -21,9 +21,9 @@ package registry_test import ( - "pkg.berachain.dev/stargazer/lib/registry" - "pkg.berachain.dev/stargazer/lib/registry/mock" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/lib/registry" + "pkg.berachain.dev/polaris/lib/registry/mock" + libtypes "pkg.berachain.dev/polaris/lib/types" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/lib/registry/mock/registrable.go b/lib/registry/mock/registrable.go index e45b6811d..af888cbe8 100644 --- a/lib/registry/mock/registrable.go +++ b/lib/registry/mock/registrable.go @@ -20,7 +20,7 @@ package mock -import libtypes "pkg.berachain.dev/stargazer/lib/types" +import libtypes "pkg.berachain.dev/polaris/lib/types" // Assert that `MockRegistrable` implements `Registrable`. var _ libtypes.Registrable[string] = &Registrable{} diff --git a/lib/snapshot/controller.go b/lib/snapshot/controller.go index 81e2667a8..2336b6e42 100644 --- a/lib/snapshot/controller.go +++ b/lib/snapshot/controller.go @@ -21,10 +21,10 @@ package snapshot import ( - "pkg.berachain.dev/stargazer/lib/ds" - "pkg.berachain.dev/stargazer/lib/ds/stack" - "pkg.berachain.dev/stargazer/lib/registry" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/lib/ds" + "pkg.berachain.dev/polaris/lib/ds/stack" + "pkg.berachain.dev/polaris/lib/registry" + libtypes "pkg.berachain.dev/polaris/lib/types" ) // `initJournalCapacity` is the initial capacity of the `journal` stack. diff --git a/lib/snapshot/controller_test.go b/lib/snapshot/controller_test.go index 0b9bd03b8..84e22d354 100644 --- a/lib/snapshot/controller_test.go +++ b/lib/snapshot/controller_test.go @@ -23,9 +23,9 @@ package snapshot import ( "testing" - libtypes "pkg.berachain.dev/stargazer/lib/types" - typesmock "pkg.berachain.dev/stargazer/lib/types/mock" - "pkg.berachain.dev/stargazer/lib/utils" + libtypes "pkg.berachain.dev/polaris/lib/types" + typesmock "pkg.berachain.dev/polaris/lib/types/mock" + "pkg.berachain.dev/polaris/lib/utils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/lib/types/mock/cloneable.go b/lib/types/mock/cloneable.go index de146da3b..9bf382ccc 100644 --- a/lib/types/mock/cloneable.go +++ b/lib/types/mock/cloneable.go @@ -20,7 +20,7 @@ package mock -import libtypes "pkg.berachain.dev/stargazer/lib/types" +import libtypes "pkg.berachain.dev/polaris/lib/types" //go:generate moq -out ./cloneable.mock.go -pkg mock ../ Cloneable diff --git a/lib/types/mock/cloneable.mock.go b/lib/types/mock/cloneable.mock.go index 3803713c0..7b3a07f70 100644 --- a/lib/types/mock/cloneable.mock.go +++ b/lib/types/mock/cloneable.mock.go @@ -4,7 +4,7 @@ package mock import ( - "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/lib/types" "sync" ) diff --git a/lib/types/mock/snapshottable.mock.go b/lib/types/mock/snapshottable.mock.go index de96053f9..08f6838a0 100644 --- a/lib/types/mock/snapshottable.mock.go +++ b/lib/types/mock/snapshottable.mock.go @@ -4,7 +4,7 @@ package mock import ( - "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/lib/types" "sync" ) diff --git a/lib/utils/unsafe_bytes_test.go b/lib/utils/unsafe_bytes_test.go index b2b306da3..e97a77ae5 100644 --- a/lib/utils/unsafe_bytes_test.go +++ b/lib/utils/unsafe_bytes_test.go @@ -21,7 +21,7 @@ package utils_test import ( - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/lib/utils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/main.go b/main.go index 2fdd887bf..553060753 100644 --- a/main.go +++ b/main.go @@ -24,5 +24,5 @@ package main import ( //mage:import - _ "pkg.berachain.dev/stargazer/build/mage" + _ "pkg.berachain.dev/polaris/build/mage" ) diff --git a/precompile/bank/bank.go b/precompile/bank/bank.go index 7ad530de0..fdc3e8480 100644 --- a/precompile/bank/bank.go +++ b/precompile/bank/bank.go @@ -24,11 +24,11 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" - "pkg.berachain.dev/stargazer/precompile/contracts/solidity/generated" - evmutils "pkg.berachain.dev/stargazer/x/evm/utils" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/precompile" + "pkg.berachain.dev/polaris/precompile/contracts/solidity/generated" + evmutils "pkg.berachain.dev/polaris/x/evm/utils" ) // `Contract` is the precompile contract for the bank module. diff --git a/precompile/bank/bank_test.go b/precompile/bank/bank_test.go index 3e0edaeff..07fa3552c 100644 --- a/precompile/bank/bank_test.go +++ b/precompile/bank/bank_test.go @@ -26,9 +26,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/lib/utils" - "pkg.berachain.dev/stargazer/x/evm/plugins/precompile/log" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/lib/utils" + "pkg.berachain.dev/polaris/x/evm/plugins/precompile/log" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/precompile/staking/helpers.go b/precompile/staking/helpers.go index 3573bee5d..8ab11fb68 100644 --- a/precompile/staking/helpers.go +++ b/precompile/staking/helpers.go @@ -28,8 +28,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "pkg.berachain.dev/stargazer/eth/common" - evmutils "pkg.berachain.dev/stargazer/x/evm/utils" + "pkg.berachain.dev/polaris/eth/common" + evmutils "pkg.berachain.dev/polaris/x/evm/utils" ) // `delegationHelper` is the helper function for `getDelegation`. diff --git a/precompile/staking/staking.go b/precompile/staking/staking.go index 0aafd2fad..0749db1e5 100644 --- a/precompile/staking/staking.go +++ b/precompile/staking/staking.go @@ -29,12 +29,12 @@ import ( stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" - "pkg.berachain.dev/stargazer/lib/utils" - "pkg.berachain.dev/stargazer/precompile/contracts/solidity/generated" - evmutils "pkg.berachain.dev/stargazer/x/evm/utils" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/precompile" + "pkg.berachain.dev/polaris/lib/utils" + "pkg.berachain.dev/polaris/precompile/contracts/solidity/generated" + evmutils "pkg.berachain.dev/polaris/x/evm/utils" ) // `Contract` is the precompile contract for the staking module. diff --git a/precompile/staking/staking_test.go b/precompile/staking/staking_test.go index 6d8368f09..5ff0ee04e 100644 --- a/precompile/staking/staking_test.go +++ b/precompile/staking/staking_test.go @@ -33,12 +33,12 @@ import ( stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/lib/utils" - "pkg.berachain.dev/stargazer/precompile/contracts/solidity/generated" - testutil "pkg.berachain.dev/stargazer/testing/utils" - evmutils "pkg.berachain.dev/stargazer/x/evm/utils" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/lib/utils" + "pkg.berachain.dev/polaris/precompile/contracts/solidity/generated" + testutil "pkg.berachain.dev/polaris/testing/utils" + evmutils "pkg.berachain.dev/polaris/x/evm/utils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/proto/buf.yaml b/proto/buf.yaml index a93de90e7..234d8a32f 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -18,10 +18,8 @@ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND # TITLE. - - version: v1 -name: buf.build/berachain/stargazer +name: buf.build/berachain/polaris deps: - buf.build/cosmos/cosmos-sdk - buf.build/cosmos/cosmos-proto diff --git a/proto/stargazer/crypto/ethsecp256k1/v1/keys.proto b/proto/polaris/crypto/ethsecp256k1/v1/keys.proto similarity index 92% rename from proto/stargazer/crypto/ethsecp256k1/v1/keys.proto rename to proto/polaris/crypto/ethsecp256k1/v1/keys.proto index 5ef0ffcd9..92c7041b2 100644 --- a/proto/stargazer/crypto/ethsecp256k1/v1/keys.proto +++ b/proto/polaris/crypto/ethsecp256k1/v1/keys.proto @@ -20,9 +20,9 @@ syntax = "proto3"; -package stargazer.crypto.ethsecp256k1.v1; +package polaris.crypto.ethsecp256k1.v1; -option go_package = "pkg.berachain.dev/stargazer/crypto/keys/ethsecp256k1"; +option go_package = "pkg.berachain.dev/polaris/crypto/keys/ethsecp256k1"; // `PubKey` defines a type alias for an `ecdsa.PublicKey` that implements // CometBFT's `PubKey` interface. It represents the 33-byte compressed public diff --git a/proto/stargazer/evm/module/v1/module.proto b/proto/polaris/evm/module/v1alpha1/module.proto similarity index 95% rename from proto/stargazer/evm/module/v1/module.proto rename to proto/polaris/evm/module/v1alpha1/module.proto index 4f61da54e..5ee148548 100644 --- a/proto/stargazer/evm/module/v1/module.proto +++ b/proto/polaris/evm/module/v1alpha1/module.proto @@ -20,13 +20,13 @@ syntax = "proto3"; -package stargazer.evm.module.v1; +package polaris.evm.module.v1alpha1; import "cosmos/app/v1alpha1/module.proto"; // Module is the config object of the evm module. message Module { - option (cosmos.app.v1alpha1.module) = {go_import: "pkg.berachain.dev/stargazer/x/evm"}; + option (cosmos.app.v1alpha1.module) = {go_import: "pkg.berachain.dev/polaris/x/evm"}; // authority defines the custom module authority. If not set, defaults to the governance module. string authority = 1; diff --git a/proto/stargazer/evm/storage/v1/slot.proto b/proto/polaris/evm/storage/v1/slot.proto similarity index 91% rename from proto/stargazer/evm/storage/v1/slot.proto rename to proto/polaris/evm/storage/v1/slot.proto index 62958d30b..b6fb22b51 100644 --- a/proto/stargazer/evm/storage/v1/slot.proto +++ b/proto/polaris/evm/storage/v1/slot.proto @@ -20,9 +20,9 @@ syntax = "proto3"; -package stargazer.evm.storage.v1; +package polaris.evm.storage.v1; -option go_package = "pkg.berachain.dev/stargazer/x/evm/plugins/state/storage"; +option go_package = "pkg.berachain.dev/polaris/x/evm/plugins/state/storage"; // `Slot` represents a single key/value pair of evm state data. message Slot { diff --git a/proto/stargazer/evm/v1alpha1/genesis.proto b/proto/polaris/evm/v1alpha1/genesis.proto similarity index 92% rename from proto/stargazer/evm/v1alpha1/genesis.proto rename to proto/polaris/evm/v1alpha1/genesis.proto index c6f9902c9..fb6b7a3a2 100644 --- a/proto/stargazer/evm/v1alpha1/genesis.proto +++ b/proto/polaris/evm/v1alpha1/genesis.proto @@ -19,12 +19,12 @@ // TITLE. syntax = "proto3"; -package stargazer.evm.v1alpha1; +package polaris.evm.v1alpha1; import "gogoproto/gogo.proto"; -import "stargazer/evm/v1alpha1/params.proto"; +import "polaris/evm/v1alpha1/params.proto"; -option go_package = "pkg.berachain.dev/stargazer/x/evm/types"; +option go_package = "pkg.berachain.dev/polaris/x/evm/types"; // GenesisState defines the evm module's genesis state. message GenesisState { diff --git a/proto/stargazer/evm/v1alpha1/params.proto b/proto/polaris/evm/v1alpha1/params.proto similarity index 93% rename from proto/stargazer/evm/v1alpha1/params.proto rename to proto/polaris/evm/v1alpha1/params.proto index 685d2dea8..3598000f9 100644 --- a/proto/stargazer/evm/v1alpha1/params.proto +++ b/proto/polaris/evm/v1alpha1/params.proto @@ -19,11 +19,11 @@ // TITLE. syntax = "proto3"; -package stargazer.evm.v1alpha1; +package polaris.evm.v1alpha1; import "gogoproto/gogo.proto"; -option go_package = "pkg.berachain.dev/stargazer/x/evm/types"; +option go_package = "pkg.berachain.dev/polaris/x/evm/types"; // `Params` defines the parameters for the x/evm module. message Params { @@ -37,7 +37,7 @@ message Params { (gogoproto.moretags) = "yaml:\"extra_eips\"" ]; - // `chain_config` represents the ethereum chain config for the stargazer + // `chain_config` represents the ethereum chain config for the polaris // EVM string chain_config = 3 [(gogoproto.moretags) = "yaml:\"chain_config\""]; } diff --git a/proto/stargazer/evm/v1alpha1/query.proto b/proto/polaris/evm/v1alpha1/query.proto similarity index 88% rename from proto/stargazer/evm/v1alpha1/query.proto rename to proto/polaris/evm/v1alpha1/query.proto index 8a34d5aa5..811a5c9de 100644 --- a/proto/stargazer/evm/v1alpha1/query.proto +++ b/proto/polaris/evm/v1alpha1/query.proto @@ -19,19 +19,19 @@ // TITLE. syntax = "proto3"; -package stargazer.evm.v1alpha1; +package polaris.evm.v1alpha1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "stargazer/evm/v1alpha1/params.proto"; +import "polaris/evm/v1alpha1/params.proto"; -option go_package = "pkg.berachain.dev/stargazer/x/evm/types"; +option go_package = "pkg.berachain.dev/polaris/x/evm/types"; // `QueryService` provides defines the gRPC querier service. service QueryService { // Params returns the total set of evm parameters. rpc Params(ParamsRequest) returns (ParamsResponse) { - option (google.api.http).get = "/stargazer/evm/v1alpha1/params"; + option (google.api.http).get = "/polaris/evm/v1alpha1/params"; } } diff --git a/proto/stargazer/evm/v1alpha1/tx.proto b/proto/polaris/evm/v1alpha1/tx.proto similarity index 95% rename from proto/stargazer/evm/v1alpha1/tx.proto rename to proto/polaris/evm/v1alpha1/tx.proto index 382bed363..31a933a38 100644 --- a/proto/stargazer/evm/v1alpha1/tx.proto +++ b/proto/polaris/evm/v1alpha1/tx.proto @@ -19,14 +19,14 @@ // TITLE. syntax = "proto3"; -package stargazer.evm.v1alpha1; +package polaris.evm.v1alpha1; import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -import "stargazer/evm/v1alpha1/params.proto"; +import "polaris/evm/v1alpha1/params.proto"; -option go_package = "pkg.berachain.dev/stargazer/x/evm/types"; +option go_package = "pkg.berachain.dev/polaris/x/evm/types"; // Msg defines the x/evm Msg service. service MsgService { diff --git a/runtime/app.go b/runtime/app.go index c7d1ee864..a12dd7765 100644 --- a/runtime/app.go +++ b/runtime/app.go @@ -90,16 +90,16 @@ import ( "github.com/cosmos/cosmos-sdk/x/staking" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/lib/utils" - bankprecompile "pkg.berachain.dev/stargazer/precompile/bank" - stakingprecompile "pkg.berachain.dev/stargazer/precompile/staking" - simappconfig "pkg.berachain.dev/stargazer/runtime/config" - "pkg.berachain.dev/stargazer/x/evm" - evmante "pkg.berachain.dev/stargazer/x/evm/ante" - evmkeeper "pkg.berachain.dev/stargazer/x/evm/keeper" - evmmempool "pkg.berachain.dev/stargazer/x/evm/plugins/txpool/mempool" - evmrpc "pkg.berachain.dev/stargazer/x/evm/rpc" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/lib/utils" + bankprecompile "pkg.berachain.dev/polaris/precompile/bank" + stakingprecompile "pkg.berachain.dev/polaris/precompile/staking" + simappconfig "pkg.berachain.dev/polaris/runtime/config" + "pkg.berachain.dev/polaris/x/evm" + evmante "pkg.berachain.dev/polaris/x/evm/ante" + evmkeeper "pkg.berachain.dev/polaris/x/evm/keeper" + evmmempool "pkg.berachain.dev/polaris/x/evm/plugins/txpool/mempool" + evmrpc "pkg.berachain.dev/polaris/x/evm/rpc" _ "embed" _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" // import for side-effects diff --git a/runtime/cmd/stargazerd/cmd/root.go b/runtime/cmd/stargazerd/cmd/root.go index 9e4858f1c..2ec54b418 100644 --- a/runtime/cmd/stargazerd/cmd/root.go +++ b/runtime/cmd/stargazerd/cmd/root.go @@ -57,9 +57,9 @@ import ( "github.com/cosmos/cosmos-sdk/x/crisis" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - "pkg.berachain.dev/stargazer/crypto/keyring" - "pkg.berachain.dev/stargazer/runtime" - evmante "pkg.berachain.dev/stargazer/x/evm/ante" + "pkg.berachain.dev/polaris/crypto/keyring" + "pkg.berachain.dev/polaris/runtime" + evmante "pkg.berachain.dev/polaris/x/evm/ante" ) // encodingConfig := encoding.MakeConfig(app.ModuleBasics) diff --git a/runtime/cmd/stargazerd/cmd/root_test.go b/runtime/cmd/stargazerd/cmd/root_test.go index 8a5f7e8eb..c3756446f 100644 --- a/runtime/cmd/stargazerd/cmd/root_test.go +++ b/runtime/cmd/stargazerd/cmd/root_test.go @@ -29,8 +29,8 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - simapp "pkg.berachain.dev/stargazer/runtime" - "pkg.berachain.dev/stargazer/runtime/cmd/stargazerd/cmd" + simapp "pkg.berachain.dev/polaris/runtime" + "pkg.berachain.dev/polaris/runtime/cmd/stargazerd/cmd" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/runtime/cmd/stargazerd/main.go b/runtime/cmd/stargazerd/main.go index 7348583b9..fea8f9e58 100644 --- a/runtime/cmd/stargazerd/main.go +++ b/runtime/cmd/stargazerd/main.go @@ -26,9 +26,9 @@ import ( "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - simapp "pkg.berachain.dev/stargazer/runtime" - "pkg.berachain.dev/stargazer/runtime/cmd/stargazerd/cmd" - "pkg.berachain.dev/stargazer/runtime/config" + simapp "pkg.berachain.dev/polaris/runtime" + "pkg.berachain.dev/polaris/runtime/cmd/stargazerd/cmd" + "pkg.berachain.dev/polaris/runtime/config" ) func main() { diff --git a/runtime/config/config.go b/runtime/config/config.go index 729c785f0..5e8a22ba9 100644 --- a/runtime/config/config.go +++ b/runtime/config/config.go @@ -23,7 +23,7 @@ package config import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/accounts" + "pkg.berachain.dev/polaris/eth/accounts" ) const ( diff --git a/runtime/config/config_test.go b/runtime/config/config_test.go index 811e8b597..46fcbc0c3 100644 --- a/runtime/config/config_test.go +++ b/runtime/config/config_test.go @@ -26,8 +26,8 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/hd" sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/accounts" - sgconfig "pkg.berachain.dev/stargazer/runtime/config" + "pkg.berachain.dev/polaris/eth/accounts" + sgconfig "pkg.berachain.dev/polaris/runtime/config" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/runtime/config/encoding.go b/runtime/config/encoding.go index 062e22fb3..0af00e1bb 100644 --- a/runtime/config/encoding.go +++ b/runtime/config/encoding.go @@ -30,8 +30,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/signing" "github.com/cosmos/cosmos-sdk/x/auth/tx" - cryptocodec "pkg.berachain.dev/stargazer/crypto/codec" - evmante "pkg.berachain.dev/stargazer/x/evm/ante" + cryptocodec "pkg.berachain.dev/polaris/crypto/codec" + evmante "pkg.berachain.dev/polaris/x/evm/ante" ) func MakeEncodingConfig(mb module.BasicManager) params.EncodingConfig { diff --git a/runtime/config/module.go b/runtime/config/module.go index 676a165c0..c84ac1d18 100644 --- a/runtime/config/module.go +++ b/runtime/config/module.go @@ -67,8 +67,8 @@ import ( slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - evmmodulev1 "pkg.berachain.dev/stargazer/api/stargazer/evm/module/v1" - evmtypes "pkg.berachain.dev/stargazer/x/evm/types" + evmmodulev1alpha1 "pkg.berachain.dev/polaris/api/polaris/evm/module/v1alpha1" + evmtypes "pkg.berachain.dev/polaris/x/evm/types" ) var ( @@ -192,7 +192,7 @@ var ( }, { Name: evmtypes.ModuleName, - Config: appconfig.WrapAny(&evmmodulev1.Module{}), + Config: appconfig.WrapAny(&evmmodulev1alpha1.Module{}), }, } ) diff --git a/runtime/config/runtime.go b/runtime/config/runtime.go index 420385bb1..dbf1b7990 100644 --- a/runtime/config/runtime.go +++ b/runtime/config/runtime.go @@ -42,7 +42,7 @@ import ( slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - evmtypes "pkg.berachain.dev/stargazer/x/evm/types" + evmtypes "pkg.berachain.dev/polaris/x/evm/types" ) // DefaultRuntime represents a standard default runtime configuration. diff --git a/runtime/export.go b/runtime/export.go index 6f93746cf..79bfed53d 100644 --- a/runtime/export.go +++ b/runtime/export.go @@ -35,7 +35,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/staking" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "pkg.berachain.dev/stargazer/lib/errors" + "pkg.berachain.dev/polaris/lib/errors" ) // ExportAppStateAndValidators exports the state of the application for a genesis diff --git a/runtime/options.go b/runtime/options.go index f72ead30c..76f09578d 100644 --- a/runtime/options.go +++ b/runtime/options.go @@ -24,7 +24,7 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "pkg.berachain.dev/stargazer/crypto/codec" + cryptocodec "pkg.berachain.dev/polaris/crypto/codec" ) // `PolarisAppOptions` is a list of `func(*baseapp.BaseApp)` that are used to configure the baseapp. diff --git a/store/bytecode/bytecode.go b/store/bytecode/bytecode.go index 6c0768eaa..d1101e3b8 100644 --- a/store/bytecode/bytecode.go +++ b/store/bytecode/bytecode.go @@ -25,8 +25,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/crypto" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/crypto" ) var ( diff --git a/store/bytecode/store_test.go b/store/bytecode/store_test.go index c47c9b0f9..51dd47260 100644 --- a/store/bytecode/store_test.go +++ b/store/bytecode/store_test.go @@ -25,8 +25,8 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/sims" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/crypto" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/crypto" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/store/ethrlp/store.go b/store/ethrlp/store.go index d5e310144..145902d94 100644 --- a/store/ethrlp/store.go +++ b/store/ethrlp/store.go @@ -24,7 +24,7 @@ import ( "cosmossdk.io/store/prefix" storetypes "cosmossdk.io/store/types" - "pkg.berachain.dev/stargazer/eth/common" + "pkg.berachain.dev/polaris/eth/common" ) // `EthereumRlpEncoded` is an interface that should be used to work with all ethereum rlp encoded data. diff --git a/store/snapmulti/store.go b/store/snapmulti/store.go index c78434e9f..ed47341a9 100644 --- a/store/snapmulti/store.go +++ b/store/snapmulti/store.go @@ -24,9 +24,9 @@ import ( "cosmossdk.io/store/cachekv" storetypes "cosmossdk.io/store/types" - "pkg.berachain.dev/stargazer/lib/ds" - "pkg.berachain.dev/stargazer/lib/ds/stack" - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/lib/ds" + "pkg.berachain.dev/polaris/lib/ds/stack" + "pkg.berachain.dev/polaris/lib/utils" ) const ( diff --git a/testing/network/network.go b/testing/network/network.go index d5b987913..16bd2c51c 100644 --- a/testing/network/network.go +++ b/testing/network/network.go @@ -36,10 +36,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - ethhd "pkg.berachain.dev/stargazer/crypto/hd" - ethkeyring "pkg.berachain.dev/stargazer/crypto/keyring" - runtime "pkg.berachain.dev/stargazer/runtime" - config "pkg.berachain.dev/stargazer/runtime/config" + ethhd "pkg.berachain.dev/polaris/crypto/hd" + ethkeyring "pkg.berachain.dev/polaris/crypto/keyring" + runtime "pkg.berachain.dev/polaris/runtime" + config "pkg.berachain.dev/polaris/runtime/config" ) type ( diff --git a/testing/types/mock/interfaces/mock/store.mock.go b/testing/types/mock/interfaces/mock/store.mock.go index f748d2575..3a03c33e2 100644 --- a/testing/types/mock/interfaces/mock/store.mock.go +++ b/testing/types/mock/interfaces/mock/store.mock.go @@ -7,7 +7,7 @@ import ( storetypes "cosmossdk.io/store/types" "github.com/cosmos/cosmos-db" "io" - "pkg.berachain.dev/stargazer/testing/types/mock/interfaces" + "pkg.berachain.dev/polaris/testing/types/mock/interfaces" "sync" ) diff --git a/testing/types/mock/store.go b/testing/types/mock/store.go index 2c30d2711..d7a9b030f 100644 --- a/testing/types/mock/store.go +++ b/testing/types/mock/store.go @@ -28,9 +28,9 @@ import ( "cosmossdk.io/store/types" - "pkg.berachain.dev/stargazer/lib/utils" - "pkg.berachain.dev/stargazer/testing/types/mock/interfaces" - "pkg.berachain.dev/stargazer/testing/types/mock/interfaces/mock" + "pkg.berachain.dev/polaris/lib/utils" + "pkg.berachain.dev/polaris/testing/types/mock/interfaces" + "pkg.berachain.dev/polaris/testing/types/mock/interfaces/mock" ) // MultiStore is a simple multistore used for testing. diff --git a/testing/utils/setup.go b/testing/utils/setup.go index a90ed742c..a57dde5fd 100644 --- a/testing/utils/setup.go +++ b/testing/utils/setup.go @@ -40,8 +40,8 @@ import ( stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/testing/types/mock" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/testing/types/mock" ) var ( diff --git a/x/evm/ante/ante.go b/x/evm/ante/ante.go index e109bf52b..17bb852b5 100644 --- a/x/evm/ante/ante.go +++ b/x/evm/ante/ante.go @@ -25,7 +25,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/x/auth/ante" - "pkg.berachain.dev/stargazer/lib/errors" + "pkg.berachain.dev/polaris/lib/errors" ) // NewAnteHandler returns an AnteHandler that checks and increments sequence diff --git a/x/evm/ante/sign_mode_handler.go b/x/evm/ante/sign_mode_handler.go index a908d3398..dcdecf135 100644 --- a/x/evm/ante/sign_mode_handler.go +++ b/x/evm/ante/sign_mode_handler.go @@ -28,7 +28,7 @@ import ( signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" "github.com/cosmos/cosmos-sdk/x/auth/signing" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/x/evm/types" ) // `SignMode_SIGN_MODE_ETHEREUM` defines the sign mode for Ethereum transactions. diff --git a/x/evm/ante/sigverify.go b/x/evm/ante/sigverify.go index 009043ec8..0306cefe5 100644 --- a/x/evm/ante/sigverify.go +++ b/x/evm/ante/sigverify.go @@ -29,7 +29,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/ante" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "pkg.berachain.dev/stargazer/crypto/keys/ethsecp256k1" + "pkg.berachain.dev/polaris/crypto/keys/ethsecp256k1" ) const ( diff --git a/x/evm/ante/skip_decorator.go b/x/evm/ante/skip_decorator.go index d819c490c..8b60d4bf7 100644 --- a/x/evm/ante/skip_decorator.go +++ b/x/evm/ante/skip_decorator.go @@ -23,8 +23,8 @@ package ante import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/lib/utils" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/lib/utils" + "pkg.berachain.dev/polaris/x/evm/types" ) // `EthSkipDecorator` is an AnteDecorator that wraps an existing AnteDecorator. It allows diff --git a/x/evm/depinject.go b/x/evm/depinject.go index c44ac3b8d..33f5d477c 100644 --- a/x/evm/depinject.go +++ b/x/evm/depinject.go @@ -30,14 +30,14 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - modulev1 "pkg.berachain.dev/stargazer/api/stargazer/evm/module/v1" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/x/evm/keeper" + modulev1alpha1 "pkg.berachain.dev/polaris/api/polaris/evm/module/v1alpha1" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/x/evm/keeper" ) //nolint:gochecknoinits // GRRRR fix later. func init() { - appmodule.Register(&modulev1.Module{}, appmodule.Provide(ProvideModule)) + appmodule.Register(&modulev1alpha1.Module{}, appmodule.Provide(ProvideModule)) } // `DepInjectInput` is the input for the dep inject framework. @@ -45,7 +45,7 @@ type DepInjectInput struct { depinject.In ModuleKey depinject.OwnModuleKey - Config *modulev1.Module + Config *modulev1alpha1.Module Key *store.KVStoreKey AppOpts servertypes.AppOptions diff --git a/x/evm/genesis.go b/x/evm/genesis.go index 751891cb6..8b9e2ab9e 100644 --- a/x/evm/genesis.go +++ b/x/evm/genesis.go @@ -30,8 +30,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/x/evm/rpc/api" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/x/evm/rpc/api" + "pkg.berachain.dev/polaris/x/evm/types" ) // `DefaultGenesis` returns default genesis state as raw bytes for the evm diff --git a/x/evm/keeper/keeper.go b/x/evm/keeper/keeper.go index 7d7e234f2..02275343c 100644 --- a/x/evm/keeper/keeper.go +++ b/x/evm/keeper/keeper.go @@ -28,23 +28,23 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkmempool "github.com/cosmos/cosmos-sdk/types/mempool" - "pkg.berachain.dev/stargazer/eth" - "pkg.berachain.dev/stargazer/eth/core" - "pkg.berachain.dev/stargazer/eth/core/vm" - ethlog "pkg.berachain.dev/stargazer/eth/log" - ethrpcconfig "pkg.berachain.dev/stargazer/eth/rpc/config" - "pkg.berachain.dev/stargazer/lib/utils" - "pkg.berachain.dev/stargazer/store/offchain" - "pkg.berachain.dev/stargazer/x/evm/plugins" - "pkg.berachain.dev/stargazer/x/evm/plugins/block" - "pkg.berachain.dev/stargazer/x/evm/plugins/configuration" - "pkg.berachain.dev/stargazer/x/evm/plugins/gas" - "pkg.berachain.dev/stargazer/x/evm/plugins/precompile" - "pkg.berachain.dev/stargazer/x/evm/plugins/state" - "pkg.berachain.dev/stargazer/x/evm/plugins/txpool" - "pkg.berachain.dev/stargazer/x/evm/plugins/txpool/mempool" - evmrpc "pkg.berachain.dev/stargazer/x/evm/rpc" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/eth" + "pkg.berachain.dev/polaris/eth/core" + "pkg.berachain.dev/polaris/eth/core/vm" + ethlog "pkg.berachain.dev/polaris/eth/log" + ethrpcconfig "pkg.berachain.dev/polaris/eth/rpc/config" + "pkg.berachain.dev/polaris/lib/utils" + "pkg.berachain.dev/polaris/store/offchain" + "pkg.berachain.dev/polaris/x/evm/plugins" + "pkg.berachain.dev/polaris/x/evm/plugins/block" + "pkg.berachain.dev/polaris/x/evm/plugins/configuration" + "pkg.berachain.dev/polaris/x/evm/plugins/gas" + "pkg.berachain.dev/polaris/x/evm/plugins/precompile" + "pkg.berachain.dev/polaris/x/evm/plugins/state" + "pkg.berachain.dev/polaris/x/evm/plugins/txpool" + "pkg.berachain.dev/polaris/x/evm/plugins/txpool/mempool" + evmrpc "pkg.berachain.dev/polaris/x/evm/rpc" + "pkg.berachain.dev/polaris/x/evm/types" ) // Compile-time interface assertion. diff --git a/x/evm/keeper/msg_server.go b/x/evm/keeper/msg_server.go index c5cb352ff..eb9741759 100644 --- a/x/evm/keeper/msg_server.go +++ b/x/evm/keeper/msg_server.go @@ -27,7 +27,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/x/evm/types" ) // Compile-time check to ensure `Keeper` implements the `MsgServiceServer` interface. diff --git a/x/evm/keeper/processor.go b/x/evm/keeper/processor.go index 4776e95e8..6ce11e431 100644 --- a/x/evm/keeper/processor.go +++ b/x/evm/keeper/processor.go @@ -25,8 +25,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/core" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" + "pkg.berachain.dev/polaris/eth/core" + coretypes "pkg.berachain.dev/polaris/eth/core/types" ) // `BeginBlocker` is called during the BeginBlock processing of the ABCI lifecycle. diff --git a/x/evm/keeper/processor_test.go b/x/evm/keeper/processor_test.go index f97ee139f..bbbf5a45b 100644 --- a/x/evm/keeper/processor_test.go +++ b/x/evm/keeper/processor_test.go @@ -33,22 +33,22 @@ import ( stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/eth/crypto" - "pkg.berachain.dev/stargazer/eth/params" - "pkg.berachain.dev/stargazer/eth/testutil/contracts/solidity/generated" - "pkg.berachain.dev/stargazer/lib/utils" - pcgenerated "pkg.berachain.dev/stargazer/precompile/contracts/solidity/generated" - "pkg.berachain.dev/stargazer/precompile/staking" - testutil "pkg.berachain.dev/stargazer/testing/utils" - "pkg.berachain.dev/stargazer/x/evm/keeper" - "pkg.berachain.dev/stargazer/x/evm/plugins/state" - evmmempool "pkg.berachain.dev/stargazer/x/evm/plugins/txpool/mempool" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/precompile" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/eth/crypto" + "pkg.berachain.dev/polaris/eth/params" + "pkg.berachain.dev/polaris/eth/testutil/contracts/solidity/generated" + "pkg.berachain.dev/polaris/lib/utils" + pcgenerated "pkg.berachain.dev/polaris/precompile/contracts/solidity/generated" + "pkg.berachain.dev/polaris/precompile/staking" + testutil "pkg.berachain.dev/polaris/testing/utils" + "pkg.berachain.dev/polaris/x/evm/keeper" + "pkg.berachain.dev/polaris/x/evm/plugins/state" + evmmempool "pkg.berachain.dev/polaris/x/evm/plugins/txpool/mempool" + "pkg.berachain.dev/polaris/x/evm/types" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/module.go b/x/evm/module.go index 50e6e5987..539ce4ef3 100644 --- a/x/evm/module.go +++ b/x/evm/module.go @@ -32,8 +32,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "pkg.berachain.dev/stargazer/x/evm/keeper" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/x/evm/keeper" + "pkg.berachain.dev/polaris/x/evm/types" ) // `ConsensusVersion` defines the current x/evm module consensus version. diff --git a/x/evm/plugins/base.go b/x/evm/plugins/base.go index d7e090b1f..54dc48ee7 100644 --- a/x/evm/plugins/base.go +++ b/x/evm/plugins/base.go @@ -23,7 +23,7 @@ package plugins import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/x/evm/types" ) // `BaseCosmosPolaris` represents the base class that all x/evm implements of diff --git a/x/evm/plugins/block/genesis.go b/x/evm/plugins/block/genesis.go index 5cd634321..6580af95a 100644 --- a/x/evm/plugins/block/genesis.go +++ b/x/evm/plugins/block/genesis.go @@ -23,7 +23,7 @@ package block import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/x/evm/types" ) // `InitGenesis` performs genesis initialization for the evm module. no-op. diff --git a/x/evm/plugins/block/header.go b/x/evm/plugins/block/header.go index b90929af4..854f974fc 100644 --- a/x/evm/plugins/block/header.go +++ b/x/evm/plugins/block/header.go @@ -28,9 +28,9 @@ import ( "github.com/ethereum/go-ethereum/rlp" - "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/rpc" - errorslib "pkg.berachain.dev/stargazer/lib/errors" + "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/rpc" + errorslib "pkg.berachain.dev/polaris/lib/errors" ) // =========================================================================== diff --git a/x/evm/plugins/block/header_test.go b/x/evm/plugins/block/header_test.go index 6af464e18..a2a8236dd 100644 --- a/x/evm/plugins/block/header_test.go +++ b/x/evm/plugins/block/header_test.go @@ -27,9 +27,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/lib/utils" - offchain "pkg.berachain.dev/stargazer/store/offchain" - testutil "pkg.berachain.dev/stargazer/testing/utils" + "pkg.berachain.dev/polaris/lib/utils" + offchain "pkg.berachain.dev/polaris/store/offchain" + testutil "pkg.berachain.dev/polaris/testing/utils" . "github.com/onsi/ginkgo/v2" ) diff --git a/x/evm/plugins/block/historical_data.go b/x/evm/plugins/block/historical_data.go index 643891c95..b5ceba54c 100644 --- a/x/evm/plugins/block/historical_data.go +++ b/x/evm/plugins/block/historical_data.go @@ -31,9 +31,9 @@ import ( "github.com/ethereum/go-ethereum/rlp" "github.com/ethereum/go-ethereum/trie" - "pkg.berachain.dev/stargazer/eth/common" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - errorslib "pkg.berachain.dev/stargazer/lib/errors" + "pkg.berachain.dev/polaris/eth/common" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + errorslib "pkg.berachain.dev/polaris/lib/errors" ) var ( diff --git a/x/evm/plugins/block/plugin.go b/x/evm/plugins/block/plugin.go index b921425b9..c82312235 100644 --- a/x/evm/plugins/block/plugin.go +++ b/x/evm/plugins/block/plugin.go @@ -28,10 +28,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/x/evm/plugins" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/x/evm/plugins" ) // TODO: change this. diff --git a/x/evm/plugins/block/plugin_test.go b/x/evm/plugins/block/plugin_test.go index f558a4a28..786666c2d 100644 --- a/x/evm/plugins/block/plugin_test.go +++ b/x/evm/plugins/block/plugin_test.go @@ -27,9 +27,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/lib/utils" - offchain "pkg.berachain.dev/stargazer/store/offchain" - testutil "pkg.berachain.dev/stargazer/testing/utils" + "pkg.berachain.dev/polaris/lib/utils" + offchain "pkg.berachain.dev/polaris/store/offchain" + testutil "pkg.berachain.dev/polaris/testing/utils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/configuration/genesis.go b/x/evm/plugins/configuration/genesis.go index cc5a3dd6e..bef289901 100644 --- a/x/evm/plugins/configuration/genesis.go +++ b/x/evm/plugins/configuration/genesis.go @@ -23,7 +23,7 @@ package configuration import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/x/evm/types" ) // `InitGenesis` performs genesis initialization for the evm module. It returns diff --git a/x/evm/plugins/configuration/plugin.go b/x/evm/plugins/configuration/plugin.go index 8b7f608d6..b7dcfc82a 100644 --- a/x/evm/plugins/configuration/plugin.go +++ b/x/evm/plugins/configuration/plugin.go @@ -29,11 +29,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core" - "pkg.berachain.dev/stargazer/eth/params" - "pkg.berachain.dev/stargazer/x/evm/plugins" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core" + "pkg.berachain.dev/polaris/eth/params" + "pkg.berachain.dev/polaris/x/evm/plugins" + "pkg.berachain.dev/polaris/x/evm/types" ) var paramsPrefix = []byte("params") diff --git a/x/evm/plugins/configuration/plugin_test.go b/x/evm/plugins/configuration/plugin_test.go index 2ce222a41..401298b60 100644 --- a/x/evm/plugins/configuration/plugin_test.go +++ b/x/evm/plugins/configuration/plugin_test.go @@ -26,10 +26,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/params" - enclib "pkg.berachain.dev/stargazer/lib/encoding" - testutil "pkg.berachain.dev/stargazer/testing/utils" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/eth/params" + enclib "pkg.berachain.dev/polaris/lib/encoding" + testutil "pkg.berachain.dev/polaris/testing/utils" + "pkg.berachain.dev/polaris/x/evm/types" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/configuration/store.go b/x/evm/plugins/configuration/store.go index 4f6957da9..8841a2bdc 100644 --- a/x/evm/plugins/configuration/store.go +++ b/x/evm/plugins/configuration/store.go @@ -21,7 +21,7 @@ package configuration import ( - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/x/evm/types" ) // `GetParams` is used to get the params for the evm module. diff --git a/x/evm/plugins/configuration/store_test.go b/x/evm/plugins/configuration/store_test.go index b40f8eb5b..9f0ff1539 100644 --- a/x/evm/plugins/configuration/store_test.go +++ b/x/evm/plugins/configuration/store_test.go @@ -25,10 +25,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/params" - enclib "pkg.berachain.dev/stargazer/lib/encoding" - testutil "pkg.berachain.dev/stargazer/testing/utils" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/eth/params" + enclib "pkg.berachain.dev/polaris/lib/encoding" + testutil "pkg.berachain.dev/polaris/testing/utils" + "pkg.berachain.dev/polaris/x/evm/types" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/gas/genesis.go b/x/evm/plugins/gas/genesis.go index 39d23784b..c369c0ddd 100644 --- a/x/evm/plugins/gas/genesis.go +++ b/x/evm/plugins/gas/genesis.go @@ -23,7 +23,7 @@ package gas import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/x/evm/types" ) // `InitGenesis` is a no-op for the gas plugin. diff --git a/x/evm/plugins/gas/plugin.go b/x/evm/plugins/gas/plugin.go index 22398304d..be2a84d21 100644 --- a/x/evm/plugins/gas/plugin.go +++ b/x/evm/plugins/gas/plugin.go @@ -28,9 +28,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/core" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/x/evm/plugins" + "pkg.berachain.dev/polaris/eth/core" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/x/evm/plugins" ) // `gasMeterDescriptor` is the descriptor for the gas meter used in the plugin. diff --git a/x/evm/plugins/gas/plugin_test.go b/x/evm/plugins/gas/plugin_test.go index 6917658a6..1767c72f7 100644 --- a/x/evm/plugins/gas/plugin_test.go +++ b/x/evm/plugins/gas/plugin_test.go @@ -27,8 +27,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/lib/utils" - testutil "pkg.berachain.dev/stargazer/testing/utils" + "pkg.berachain.dev/polaris/lib/utils" + testutil "pkg.berachain.dev/polaris/testing/utils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/precompile/genesis.go b/x/evm/plugins/precompile/genesis.go index 1030ef909..1a13647dd 100644 --- a/x/evm/plugins/precompile/genesis.go +++ b/x/evm/plugins/precompile/genesis.go @@ -23,7 +23,7 @@ package precompile import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/x/evm/types" ) func (p *plugin) InitGenesis(_ sdk.Context, _ *types.GenesisState) {} diff --git a/x/evm/plugins/precompile/log/attributes.go b/x/evm/plugins/precompile/log/attributes.go index 8d7c79088..2351bef0d 100644 --- a/x/evm/plugins/precompile/log/attributes.go +++ b/x/evm/plugins/precompile/log/attributes.go @@ -29,9 +29,9 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/core/precompile" - "pkg.berachain.dev/stargazer/x/evm/utils" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/core/precompile" + "pkg.berachain.dev/polaris/x/evm/utils" ) const ( diff --git a/x/evm/plugins/precompile/log/attributes_test.go b/x/evm/plugins/precompile/log/attributes_test.go index 8e58bceac..9fdbf3016 100644 --- a/x/evm/plugins/precompile/log/attributes_test.go +++ b/x/evm/plugins/precompile/log/attributes_test.go @@ -28,9 +28,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" - libutils "pkg.berachain.dev/stargazer/lib/utils" - "pkg.berachain.dev/stargazer/x/evm/utils" + "pkg.berachain.dev/polaris/eth/common" + libutils "pkg.berachain.dev/polaris/lib/utils" + "pkg.berachain.dev/polaris/x/evm/utils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/precompile/log/factory.go b/x/evm/plugins/precompile/log/factory.go index a971b253f..404adb7f4 100644 --- a/x/evm/plugins/precompile/log/factory.go +++ b/x/evm/plugins/precompile/log/factory.go @@ -23,12 +23,12 @@ package log import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/core/precompile" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/lib/registry" - libtypes "pkg.berachain.dev/stargazer/lib/types" - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/eth/core/precompile" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/lib/registry" + libtypes "pkg.berachain.dev/polaris/lib/types" + "pkg.berachain.dev/polaris/lib/utils" ) // `Factory` is a `PrecompileLogFactory` that builds Ethereum logs from Cosmos events. All Ethereum diff --git a/x/evm/plugins/precompile/log/factory_test.go b/x/evm/plugins/precompile/log/factory_test.go index c57f47333..86bca3eb6 100644 --- a/x/evm/plugins/precompile/log/factory_test.go +++ b/x/evm/plugins/precompile/log/factory_test.go @@ -26,13 +26,13 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" - "pkg.berachain.dev/stargazer/eth/core/precompile/mock" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/eth/crypto" - utils "pkg.berachain.dev/stargazer/x/evm/utils" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/precompile" + "pkg.berachain.dev/polaris/eth/core/precompile/mock" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/eth/crypto" + utils "pkg.berachain.dev/polaris/x/evm/utils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/precompile/log/log.go b/x/evm/plugins/precompile/log/log.go index b30480312..e0accc88b 100644 --- a/x/evm/plugins/precompile/log/log.go +++ b/x/evm/plugins/precompile/log/log.go @@ -21,9 +21,9 @@ package log import ( - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/common" + libtypes "pkg.berachain.dev/polaris/lib/types" ) // Compile-time assertion. diff --git a/x/evm/plugins/precompile/log/log_test.go b/x/evm/plugins/precompile/log/log_test.go index 395f84fe8..509a07d45 100644 --- a/x/evm/plugins/precompile/log/log_test.go +++ b/x/evm/plugins/precompile/log/log_test.go @@ -23,9 +23,9 @@ package log import ( "testing" - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/crypto" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/crypto" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/precompile/log/translator.go b/x/evm/plugins/precompile/log/translator.go index 6856388bd..442902595 100644 --- a/x/evm/plugins/precompile/log/translator.go +++ b/x/evm/plugins/precompile/log/translator.go @@ -23,10 +23,10 @@ package log import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/accounts/abi" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/precompile" - "pkg.berachain.dev/stargazer/lib/errors" + "pkg.berachain.dev/polaris/eth/accounts/abi" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/precompile" + "pkg.berachain.dev/polaris/lib/errors" ) // `makeTopics` generates the Ethereum log `Topics` field for a valid cosmos event. `Topics` is a diff --git a/x/evm/plugins/precompile/plugin.go b/x/evm/plugins/precompile/plugin.go index 7d9686a5a..95d650af3 100644 --- a/x/evm/plugins/precompile/plugin.go +++ b/x/evm/plugins/precompile/plugin.go @@ -27,17 +27,17 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/eth/params" - "pkg.berachain.dev/stargazer/lib/registry" - libtypes "pkg.berachain.dev/stargazer/lib/types" - "pkg.berachain.dev/stargazer/lib/utils" - "pkg.berachain.dev/stargazer/x/evm/plugins" - "pkg.berachain.dev/stargazer/x/evm/plugins/precompile/log" - "pkg.berachain.dev/stargazer/x/evm/plugins/state" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/events" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/eth/params" + "pkg.berachain.dev/polaris/lib/registry" + libtypes "pkg.berachain.dev/polaris/lib/types" + "pkg.berachain.dev/polaris/lib/utils" + "pkg.berachain.dev/polaris/x/evm/plugins" + "pkg.berachain.dev/polaris/x/evm/plugins/precompile/log" + "pkg.berachain.dev/polaris/x/evm/plugins/state" + "pkg.berachain.dev/polaris/x/evm/plugins/state/events" ) // `Plugin` is the interface that must be implemented by the plugin. diff --git a/x/evm/plugins/precompile/plugin_test.go b/x/evm/plugins/precompile/plugin_test.go index 4a4f23932..460203643 100644 --- a/x/evm/plugins/precompile/plugin_test.go +++ b/x/evm/plugins/precompile/plugin_test.go @@ -28,12 +28,12 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core/vm" - "pkg.berachain.dev/stargazer/lib/utils" - testutil "pkg.berachain.dev/stargazer/testing/utils" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/events" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/events/mock" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core/vm" + "pkg.berachain.dev/polaris/lib/utils" + testutil "pkg.berachain.dev/polaris/testing/utils" + "pkg.berachain.dev/polaris/x/evm/plugins/state/events" + "pkg.berachain.dev/polaris/x/evm/plugins/state/events/mock" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/state/events/interfaces.go b/x/evm/plugins/state/events/interfaces.go index a6274c82c..51dfcaa25 100644 --- a/x/evm/plugins/state/events/interfaces.go +++ b/x/evm/plugins/state/events/interfaces.go @@ -23,7 +23,7 @@ package events import ( sdk "github.com/cosmos/cosmos-sdk/types" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" + coretypes "pkg.berachain.dev/polaris/eth/core/types" ) type ( diff --git a/x/evm/plugins/state/events/manager.go b/x/evm/plugins/state/events/manager.go index 4f73da090..757434514 100644 --- a/x/evm/plugins/state/events/manager.go +++ b/x/evm/plugins/state/events/manager.go @@ -23,8 +23,8 @@ package events import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/lib/errors" - "pkg.berachain.dev/stargazer/lib/utils" + "pkg.berachain.dev/polaris/lib/errors" + "pkg.berachain.dev/polaris/lib/utils" ) const ( diff --git a/x/evm/plugins/state/events/manager_test.go b/x/evm/plugins/state/events/manager_test.go index bae9b9bdb..4aded03fd 100644 --- a/x/evm/plugins/state/events/manager_test.go +++ b/x/evm/plugins/state/events/manager_test.go @@ -20,10 +20,10 @@ package events_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - testutil "pkg.berachain.dev/stargazer/testing/utils" - "pkg.berachain.dev/stargazer/x/evm/plugins/state" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/events" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/events/mock" + testutil "pkg.berachain.dev/polaris/testing/utils" + "pkg.berachain.dev/polaris/x/evm/plugins/state" + "pkg.berachain.dev/polaris/x/evm/plugins/state/events" + "pkg.berachain.dev/polaris/x/evm/plugins/state/events/mock" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/state/events/mock/log_factory.go b/x/evm/plugins/state/events/mock/log_factory.go index 5f56bfd05..79362b5cb 100644 --- a/x/evm/plugins/state/events/mock/log_factory.go +++ b/x/evm/plugins/state/events/mock/log_factory.go @@ -25,7 +25,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" + coretypes "pkg.berachain.dev/polaris/eth/core/types" ) //go:generate moq -out ./log_factory.mock.go -pkg mock ../ PrecompileLogFactory diff --git a/x/evm/plugins/state/events/mock/log_factory.mock.go b/x/evm/plugins/state/events/mock/log_factory.mock.go index 74f44efc8..6c9fef49e 100644 --- a/x/evm/plugins/state/events/mock/log_factory.mock.go +++ b/x/evm/plugins/state/events/mock/log_factory.mock.go @@ -6,7 +6,7 @@ package mock import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/core/types" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/events" + "pkg.berachain.dev/polaris/x/evm/plugins/state/events" "sync" ) diff --git a/x/evm/plugins/state/events/mock/logsdb.go b/x/evm/plugins/state/events/mock/logsdb.go index a324bc287..ba5fdf266 100644 --- a/x/evm/plugins/state/events/mock/logsdb.go +++ b/x/evm/plugins/state/events/mock/logsdb.go @@ -21,7 +21,7 @@ package mock import ( - coretypes "pkg.berachain.dev/stargazer/eth/core/types" + coretypes "pkg.berachain.dev/polaris/eth/core/types" ) //go:generate moq -out ./logsdb.mock.go -pkg mock ../ LogsDB diff --git a/x/evm/plugins/state/events/mock/logsdb.mock.go b/x/evm/plugins/state/events/mock/logsdb.mock.go index a636a36cd..21fcd26ea 100644 --- a/x/evm/plugins/state/events/mock/logsdb.mock.go +++ b/x/evm/plugins/state/events/mock/logsdb.mock.go @@ -5,7 +5,7 @@ package mock import ( "github.com/ethereum/go-ethereum/core/types" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/events" + "pkg.berachain.dev/polaris/x/evm/plugins/state/events" "sync" ) diff --git a/x/evm/plugins/state/genesis.go b/x/evm/plugins/state/genesis.go index 8dac5f98b..f8e2b3364 100644 --- a/x/evm/plugins/state/genesis.go +++ b/x/evm/plugins/state/genesis.go @@ -23,8 +23,8 @@ package state import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/x/evm/types" ) // `InitGenesis` takes in a pointer to a genesis state object and populates the KV store. diff --git a/x/evm/plugins/state/genesis_test.go b/x/evm/plugins/state/genesis_test.go index 69cedfa16..3c8783562 100644 --- a/x/evm/plugins/state/genesis_test.go +++ b/x/evm/plugins/state/genesis_test.go @@ -23,11 +23,11 @@ package state_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/crypto" - testutil "pkg.berachain.dev/stargazer/testing/utils" - "pkg.berachain.dev/stargazer/x/evm/plugins/state" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/crypto" + testutil "pkg.berachain.dev/polaris/testing/utils" + "pkg.berachain.dev/polaris/x/evm/plugins/state" + "pkg.berachain.dev/polaris/x/evm/types" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/state/interfaces.go b/x/evm/plugins/state/interfaces.go index fc8369c23..2673305b8 100644 --- a/x/evm/plugins/state/interfaces.go +++ b/x/evm/plugins/state/interfaces.go @@ -25,8 +25,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - libtypes "pkg.berachain.dev/stargazer/lib/types" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/events" + libtypes "pkg.berachain.dev/polaris/lib/types" + "pkg.berachain.dev/polaris/x/evm/plugins/state/events" ) // `ControllableEventManager` defines a cache EventManager that is controllable (snapshottable diff --git a/x/evm/plugins/state/keys.go b/x/evm/plugins/state/keys.go index 750ae4cba..a52dc5219 100644 --- a/x/evm/plugins/state/keys.go +++ b/x/evm/plugins/state/keys.go @@ -21,7 +21,7 @@ package state import ( - "pkg.berachain.dev/stargazer/eth/common" + "pkg.berachain.dev/polaris/eth/common" ) const ( diff --git a/x/evm/plugins/state/keys_test.go b/x/evm/plugins/state/keys_test.go index 2d445ea22..6137139af 100644 --- a/x/evm/plugins/state/keys_test.go +++ b/x/evm/plugins/state/keys_test.go @@ -21,7 +21,7 @@ package state import ( - "pkg.berachain.dev/stargazer/eth/common" + "pkg.berachain.dev/polaris/eth/common" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/state/plugin.go b/x/evm/plugins/state/plugin.go index e04543bac..c4fa69adf 100644 --- a/x/evm/plugins/state/plugin.go +++ b/x/evm/plugins/state/plugin.go @@ -29,16 +29,16 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core" - "pkg.berachain.dev/stargazer/eth/crypto" - "pkg.berachain.dev/stargazer/eth/rpc" - "pkg.berachain.dev/stargazer/lib/snapshot" - libtypes "pkg.berachain.dev/stargazer/lib/types" - "pkg.berachain.dev/stargazer/store/snapmulti" - "pkg.berachain.dev/stargazer/x/evm/plugins" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/events" - types "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core" + "pkg.berachain.dev/polaris/eth/crypto" + "pkg.berachain.dev/polaris/eth/rpc" + "pkg.berachain.dev/polaris/lib/snapshot" + libtypes "pkg.berachain.dev/polaris/lib/types" + "pkg.berachain.dev/polaris/store/snapmulti" + "pkg.berachain.dev/polaris/x/evm/plugins" + "pkg.berachain.dev/polaris/x/evm/plugins/state/events" + types "pkg.berachain.dev/polaris/x/evm/types" ) const pluginRegistryKey = `statePlugin` diff --git a/x/evm/plugins/state/plugin_benchmark_test.go b/x/evm/plugins/state/plugin_benchmark_test.go index 667dc8f65..d9d92943b 100644 --- a/x/evm/plugins/state/plugin_benchmark_test.go +++ b/x/evm/plugins/state/plugin_benchmark_test.go @@ -24,10 +24,10 @@ import ( "math/big" "testing" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core" - testutil "pkg.berachain.dev/stargazer/testing/utils" - "pkg.berachain.dev/stargazer/x/evm/plugins/state" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core" + testutil "pkg.berachain.dev/polaris/testing/utils" + "pkg.berachain.dev/polaris/x/evm/plugins/state" ) var ( diff --git a/x/evm/plugins/state/plugin_test.go b/x/evm/plugins/state/plugin_test.go index a953d3a44..558f35515 100644 --- a/x/evm/plugins/state/plugin_test.go +++ b/x/evm/plugins/state/plugin_test.go @@ -25,14 +25,14 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core" - "pkg.berachain.dev/stargazer/eth/crypto" - testutil "pkg.berachain.dev/stargazer/testing/utils" - "pkg.berachain.dev/stargazer/x/evm/plugins/precompile/log" - "pkg.berachain.dev/stargazer/x/evm/plugins/state" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/events" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/storage" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core" + "pkg.berachain.dev/polaris/eth/crypto" + testutil "pkg.berachain.dev/polaris/testing/utils" + "pkg.berachain.dev/polaris/x/evm/plugins/precompile/log" + "pkg.berachain.dev/polaris/x/evm/plugins/state" + "pkg.berachain.dev/polaris/x/evm/plugins/state/events" + "pkg.berachain.dev/polaris/x/evm/plugins/state/storage" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/state/storage/slot.go b/x/evm/plugins/state/storage/slot.go index 8bfcdc92c..e7438c421 100644 --- a/x/evm/plugins/state/storage/slot.go +++ b/x/evm/plugins/state/storage/slot.go @@ -24,9 +24,9 @@ import ( "fmt" "strings" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/lib/errors" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/lib/errors" + libtypes "pkg.berachain.dev/polaris/lib/types" ) // Compile-time interface assertions. diff --git a/x/evm/plugins/state/storage/slot.pb.go b/x/evm/plugins/state/storage/slot.pb.go index b43a3db00..3a77ba3d6 100644 --- a/x/evm/plugins/state/storage/slot.pb.go +++ b/x/evm/plugins/state/storage/slot.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: stargazer/evm/storage/v1/slot.proto +// source: polaris/evm/storage/v1/slot.proto package storage @@ -34,7 +34,7 @@ func (m *Slot) Reset() { *m = Slot{} } func (m *Slot) String() string { return proto.CompactTextString(m) } func (*Slot) ProtoMessage() {} func (*Slot) Descriptor() ([]byte, []int) { - return fileDescriptor_7d4b40532ddbcd27, []int{0} + return fileDescriptor_4cade16f586fae0d, []int{0} } func (m *Slot) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -78,27 +78,25 @@ func (m *Slot) GetValue() string { } func init() { - proto.RegisterType((*Slot)(nil), "stargazer.evm.storage.v1.Slot") + proto.RegisterType((*Slot)(nil), "polaris.evm.storage.v1.Slot") } -func init() { - proto.RegisterFile("stargazer/evm/storage/v1/slot.proto", fileDescriptor_7d4b40532ddbcd27) -} +func init() { proto.RegisterFile("polaris/evm/storage/v1/slot.proto", fileDescriptor_4cade16f586fae0d) } -var fileDescriptor_7d4b40532ddbcd27 = []byte{ +var fileDescriptor_4cade16f586fae0d = []byte{ // 185 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2e, 0x2e, 0x49, 0x2c, - 0x4a, 0x4f, 0xac, 0x4a, 0x2d, 0xd2, 0x4f, 0x2d, 0xcb, 0xd5, 0x2f, 0x2e, 0xc9, 0x2f, 0x4a, 0x4c, - 0x4f, 0xd5, 0x2f, 0x33, 0xd4, 0x2f, 0xce, 0xc9, 0x2f, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x92, 0x80, 0x2b, 0xd2, 0x4b, 0x2d, 0xcb, 0xd5, 0x83, 0x2a, 0xd2, 0x2b, 0x33, 0x54, 0xd2, 0xe3, - 0x62, 0x09, 0xce, 0xc9, 0x2f, 0x11, 0x12, 0xe0, 0x62, 0xce, 0x4e, 0xad, 0x94, 0x60, 0x54, 0x60, - 0xd4, 0xe0, 0x0c, 0x02, 0x31, 0x85, 0x44, 0xb8, 0x58, 0xcb, 0x12, 0x73, 0x4a, 0x53, 0x25, 0x98, - 0xc0, 0x62, 0x10, 0x8e, 0x53, 0xe0, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, - 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, - 0x99, 0x17, 0x64, 0xa7, 0xeb, 0x25, 0xa5, 0x16, 0x25, 0x26, 0x67, 0x24, 0x66, 0xe6, 0xe9, 0xa5, - 0xa4, 0x96, 0xe9, 0x23, 0x9c, 0x56, 0x01, 0x76, 0x5c, 0x41, 0x4e, 0x69, 0x7a, 0x66, 0x5e, 0x31, - 0x48, 0xbc, 0x24, 0x15, 0xe6, 0xd4, 0x24, 0x36, 0xb0, 0x1b, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x32, 0xf5, 0xdb, 0xd5, 0xca, 0x00, 0x00, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2c, 0xc8, 0xcf, 0x49, + 0x2c, 0xca, 0x2c, 0xd6, 0x4f, 0x2d, 0xcb, 0xd5, 0x2f, 0x2e, 0xc9, 0x2f, 0x4a, 0x4c, 0x4f, 0xd5, + 0x2f, 0x33, 0xd4, 0x2f, 0xce, 0xc9, 0x2f, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x83, + 0x2a, 0xd1, 0x4b, 0x2d, 0xcb, 0xd5, 0x83, 0x2a, 0xd1, 0x2b, 0x33, 0x54, 0xd2, 0xe3, 0x62, 0x09, + 0xce, 0xc9, 0x2f, 0x11, 0x12, 0xe0, 0x62, 0xce, 0x4e, 0xad, 0x94, 0x60, 0x54, 0x60, 0xd4, 0xe0, + 0x0c, 0x02, 0x31, 0x85, 0x44, 0xb8, 0x58, 0xcb, 0x12, 0x73, 0x4a, 0x53, 0x25, 0x98, 0xc0, 0x62, + 0x10, 0x8e, 0x93, 0xff, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, + 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x99, 0x16, + 0x64, 0xa7, 0xeb, 0x25, 0xa5, 0x16, 0x25, 0x26, 0x67, 0x24, 0x66, 0xe6, 0xe9, 0xa5, 0xa4, 0x96, + 0xe9, 0xc3, 0x9c, 0x55, 0x01, 0x76, 0x58, 0x41, 0x4e, 0x69, 0x7a, 0x66, 0x5e, 0xb1, 0x7e, 0x71, + 0x49, 0x62, 0x49, 0x2a, 0xcc, 0x99, 0x49, 0x6c, 0x60, 0xf7, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, + 0xff, 0x9e, 0xd3, 0x2d, 0x36, 0xc4, 0x00, 0x00, 0x00, } func (m *Slot) Marshal() (dAtA []byte, err error) { diff --git a/x/evm/plugins/state/storage/slot_test.go b/x/evm/plugins/state/storage/slot_test.go index fed217562..cc97b2316 100644 --- a/x/evm/plugins/state/storage/slot_test.go +++ b/x/evm/plugins/state/storage/slot_test.go @@ -21,8 +21,8 @@ package storage_test import ( - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/storage" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/x/evm/plugins/state/storage" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/state/storage/storage.go b/x/evm/plugins/state/storage/storage.go index bb2e176cf..4aa155f6d 100644 --- a/x/evm/plugins/state/storage/storage.go +++ b/x/evm/plugins/state/storage/storage.go @@ -23,8 +23,8 @@ package storage import ( "fmt" - "pkg.berachain.dev/stargazer/lib/errors" - libtypes "pkg.berachain.dev/stargazer/lib/types" + "pkg.berachain.dev/polaris/lib/errors" + libtypes "pkg.berachain.dev/polaris/lib/types" ) // Compile-time type assertions. diff --git a/x/evm/plugins/state/storage/storage_test.go b/x/evm/plugins/state/storage/storage_test.go index f6287a8f2..8902b315c 100644 --- a/x/evm/plugins/state/storage/storage_test.go +++ b/x/evm/plugins/state/storage/storage_test.go @@ -23,8 +23,8 @@ package storage_test import ( "testing" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/x/evm/plugins/state/storage" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/x/evm/plugins/state/storage" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/txpool/genesis.go b/x/evm/plugins/txpool/genesis.go index 9ed76fdcd..5029ae851 100644 --- a/x/evm/plugins/txpool/genesis.go +++ b/x/evm/plugins/txpool/genesis.go @@ -23,7 +23,7 @@ package txpool import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/x/evm/types" ) // `InitGenesis` is a no-op for the gas plugin. diff --git a/x/evm/plugins/txpool/mempool/mempool.go b/x/evm/plugins/txpool/mempool/mempool.go index 6f20c1303..c6bccf815 100644 --- a/x/evm/plugins/txpool/mempool/mempool.go +++ b/x/evm/plugins/txpool/mempool/mempool.go @@ -26,10 +26,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkmempool "github.com/cosmos/cosmos-sdk/types/mempool" - "pkg.berachain.dev/stargazer/eth/common" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/lib/utils" - "pkg.berachain.dev/stargazer/x/evm/types" + "pkg.berachain.dev/polaris/eth/common" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/lib/utils" + "pkg.berachain.dev/polaris/x/evm/types" ) // `EthTxPool` is a mempool for Ethereum transactions. It wraps a diff --git a/x/evm/plugins/txpool/plugin.go b/x/evm/plugins/txpool/plugin.go index 0d6e8eb4b..6745b4417 100644 --- a/x/evm/plugins/txpool/plugin.go +++ b/x/evm/plugins/txpool/plugin.go @@ -26,12 +26,12 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/eth/core" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - errorslib "pkg.berachain.dev/stargazer/lib/errors" - mempool "pkg.berachain.dev/stargazer/x/evm/plugins/txpool/mempool" - "pkg.berachain.dev/stargazer/x/evm/rpc" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/eth/core" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + errorslib "pkg.berachain.dev/polaris/lib/errors" + mempool "pkg.berachain.dev/polaris/x/evm/plugins/txpool/mempool" + "pkg.berachain.dev/polaris/x/evm/rpc" ) // `Plugin` represents the transaction pool plugin. diff --git a/x/evm/plugins/txpool/pubkey.go b/x/evm/plugins/txpool/pubkey.go index 3af1ae3e8..0124ea2a5 100644 --- a/x/evm/plugins/txpool/pubkey.go +++ b/x/evm/plugins/txpool/pubkey.go @@ -21,9 +21,9 @@ package txpool import ( - "pkg.berachain.dev/stargazer/crypto/keys/ethsecp256k1" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/crypto" + "pkg.berachain.dev/polaris/crypto/keys/ethsecp256k1" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/crypto" ) // `PubkeyFromTx` returns the public key of the signer of the transaction. diff --git a/x/evm/plugins/txpool/pubkey_test.go b/x/evm/plugins/txpool/pubkey_test.go index 09c1da052..4d2ea11e5 100644 --- a/x/evm/plugins/txpool/pubkey_test.go +++ b/x/evm/plugins/txpool/pubkey_test.go @@ -23,9 +23,9 @@ package txpool import ( "math/big" - "pkg.berachain.dev/stargazer/crypto/keys/ethsecp256k1" - "pkg.berachain.dev/stargazer/eth/core/types" - ethcrypto "pkg.berachain.dev/stargazer/eth/crypto" + "pkg.berachain.dev/polaris/crypto/keys/ethsecp256k1" + "pkg.berachain.dev/polaris/eth/core/types" + ethcrypto "pkg.berachain.dev/polaris/eth/crypto" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/plugins/txpool/serializer.go b/x/evm/plugins/txpool/serializer.go index fabcc1065..60d751d94 100644 --- a/x/evm/plugins/txpool/serializer.go +++ b/x/evm/plugins/txpool/serializer.go @@ -27,9 +27,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - evmante "pkg.berachain.dev/stargazer/x/evm/ante" - "pkg.berachain.dev/stargazer/x/evm/types" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + evmante "pkg.berachain.dev/polaris/x/evm/ante" + "pkg.berachain.dev/polaris/x/evm/types" ) // `Serializer` defines that interface that allows serializes an Ethereum transactions diff --git a/x/evm/rpc/api/apis.go b/x/evm/rpc/api/apis.go index ffe63d969..c014def19 100644 --- a/x/evm/rpc/api/apis.go +++ b/x/evm/rpc/api/apis.go @@ -20,7 +20,7 @@ package api -import ethrpc "pkg.berachain.dev/stargazer/eth/rpc" +import ethrpc "pkg.berachain.dev/polaris/eth/rpc" // `GetExtraFn` returns a list of chain specific apis. func GetExtraFn(apiBackend ethrpc.PolarisBackend) []ethrpc.API { diff --git a/x/evm/rpc/provider.go b/x/evm/rpc/provider.go index f028d483c..07861db92 100644 --- a/x/evm/rpc/provider.go +++ b/x/evm/rpc/provider.go @@ -23,8 +23,8 @@ package rpc import ( "github.com/cosmos/cosmos-sdk/client" - ethrpc "pkg.berachain.dev/stargazer/eth/rpc" - rpcconfig "pkg.berachain.dev/stargazer/eth/rpc/config" + ethrpc "pkg.berachain.dev/polaris/eth/rpc" + rpcconfig "pkg.berachain.dev/polaris/eth/rpc/config" ) // `Provider` is an interface that defines the methods required to register the diff --git a/x/evm/types/genesis.go b/x/evm/types/genesis.go index 5b4e299f7..c5585d393 100644 --- a/x/evm/types/genesis.go +++ b/x/evm/types/genesis.go @@ -21,7 +21,7 @@ package types import ( - "pkg.berachain.dev/stargazer/eth/common" + "pkg.berachain.dev/polaris/eth/common" ) // `DefaultGenesis` is the default genesis state. diff --git a/x/evm/types/genesis.pb.go b/x/evm/types/genesis.pb.go index f2a3f8e54..cdf312d98 100644 --- a/x/evm/types/genesis.pb.go +++ b/x/evm/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: stargazer/evm/v1alpha1/genesis.proto +// source: polaris/evm/v1alpha1/genesis.proto package types @@ -37,7 +37,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_134c80690d273a37, []int{0} + return fileDescriptor_8f2dd36de00e161b, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -99,7 +99,7 @@ func (m *Contract) Reset() { *m = Contract{} } func (m *Contract) String() string { return proto.CompactTextString(m) } func (*Contract) ProtoMessage() {} func (*Contract) Descriptor() ([]byte, []int) { - return fileDescriptor_134c80690d273a37, []int{1} + return fileDescriptor_8f2dd36de00e161b, []int{1} } func (m *Contract) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -143,45 +143,45 @@ func (m *Contract) GetSlotToValue() map[string]string { } func init() { - proto.RegisterType((*GenesisState)(nil), "stargazer.evm.v1alpha1.GenesisState") - proto.RegisterMapType((map[string]*Contract)(nil), "stargazer.evm.v1alpha1.GenesisState.AddressToContractEntry") - proto.RegisterMapType((map[string]string)(nil), "stargazer.evm.v1alpha1.GenesisState.HashToCodeEntry") - proto.RegisterType((*Contract)(nil), "stargazer.evm.v1alpha1.Contract") - proto.RegisterMapType((map[string]string)(nil), "stargazer.evm.v1alpha1.Contract.SlotToValueEntry") + proto.RegisterType((*GenesisState)(nil), "polaris.evm.v1alpha1.GenesisState") + proto.RegisterMapType((map[string]*Contract)(nil), "polaris.evm.v1alpha1.GenesisState.AddressToContractEntry") + proto.RegisterMapType((map[string]string)(nil), "polaris.evm.v1alpha1.GenesisState.HashToCodeEntry") + proto.RegisterType((*Contract)(nil), "polaris.evm.v1alpha1.Contract") + proto.RegisterMapType((map[string]string)(nil), "polaris.evm.v1alpha1.Contract.SlotToValueEntry") } func init() { - proto.RegisterFile("stargazer/evm/v1alpha1/genesis.proto", fileDescriptor_134c80690d273a37) + proto.RegisterFile("polaris/evm/v1alpha1/genesis.proto", fileDescriptor_8f2dd36de00e161b) } -var fileDescriptor_134c80690d273a37 = []byte{ - // 416 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x4f, 0x6b, 0x1a, 0x41, - 0x18, 0xc6, 0x77, 0xdd, 0x56, 0x74, 0xb4, 0xd4, 0x6e, 0x45, 0x96, 0x2d, 0x6c, 0xc5, 0x16, 0xea, - 0x69, 0x16, 0x6d, 0x29, 0xa5, 0xff, 0x40, 0x4b, 0x49, 0x8e, 0x61, 0x35, 0x1e, 0x72, 0x91, 0xd1, - 0x9d, 0xec, 0x8a, 0xeb, 0xce, 0x32, 0x33, 0x59, 0x62, 0x3e, 0x45, 0x3e, 0x4e, 0x4e, 0x39, 0x7b, - 0xf4, 0x98, 0x53, 0x08, 0xfa, 0x45, 0xc2, 0xec, 0xac, 0x7f, 0x10, 0x25, 0xc9, 0x6d, 0x78, 0x79, - 0x9e, 0xe7, 0xf7, 0xce, 0xc3, 0x0b, 0x3e, 0x33, 0x8e, 0xa8, 0x87, 0xae, 0x30, 0xb5, 0x71, 0x3c, - 0xb1, 0xe3, 0x06, 0x0a, 0x22, 0x1f, 0x35, 0x6c, 0x0f, 0x87, 0x98, 0x8d, 0x18, 0x8c, 0x28, 0xe1, - 0x44, 0xaf, 0xac, 0x55, 0x10, 0xc7, 0x13, 0xb8, 0x52, 0x99, 0x65, 0x8f, 0x78, 0x24, 0x91, 0xd8, - 0xe2, 0x25, 0xd5, 0xe6, 0xa7, 0x03, 0x99, 0x11, 0xa2, 0x68, 0x92, 0x46, 0xd6, 0x6e, 0x34, 0x50, - 0x3c, 0x92, 0x90, 0x0e, 0x47, 0x1c, 0xeb, 0xbf, 0x41, 0x56, 0x0a, 0x0c, 0xb5, 0xaa, 0xd6, 0x0b, - 0x4d, 0x0b, 0xee, 0x87, 0xc2, 0x93, 0x44, 0xd5, 0x7e, 0x35, 0xbb, 0xff, 0xa8, 0x38, 0xa9, 0x47, - 0x1f, 0x83, 0xf7, 0xc8, 0x75, 0x29, 0x66, 0xac, 0xcf, 0x49, 0x7f, 0x48, 0x42, 0x4e, 0xd1, 0x90, - 0x1b, 0x99, 0xaa, 0x56, 0x2f, 0x34, 0x7f, 0x1d, 0x8a, 0xda, 0x5e, 0x00, 0xb6, 0xa4, 0xbf, 0x4b, - 0xfe, 0xa5, 0xee, 0xff, 0x21, 0xa7, 0x53, 0xe7, 0x1d, 0xda, 0x9d, 0xeb, 0x3d, 0x50, 0xf4, 0x11, - 0xf3, 0x25, 0xc9, 0xc5, 0x86, 0x96, 0x50, 0xbe, 0x3d, 0x8b, 0x72, 0x8c, 0x98, 0x2f, 0xa2, 0x5c, - 0x2c, 0xe3, 0x81, 0xbf, 0x1e, 0x98, 0xe7, 0xa0, 0xb2, 0x7f, 0x09, 0xbd, 0x04, 0xb4, 0x31, 0x9e, - 0x26, 0xcd, 0xe4, 0x1d, 0xf1, 0xd4, 0xbf, 0x83, 0xd7, 0x31, 0x0a, 0x2e, 0xb0, 0x91, 0x49, 0xda, - 0xaa, 0x1e, 0x82, 0xaf, 0x72, 0x1c, 0x29, 0xff, 0x99, 0xf9, 0xa1, 0x9a, 0x7f, 0xc0, 0xdb, 0x9d, - 0x35, 0xf6, 0x00, 0xca, 0xdb, 0x80, 0xfc, 0x96, 0xbd, 0x76, 0xab, 0x82, 0xdc, 0xba, 0x8b, 0x0f, - 0x20, 0x2f, 0x3a, 0xe8, 0x8b, 0x6f, 0xa4, 0xf6, 0x9c, 0x18, 0x08, 0x80, 0x7e, 0x0a, 0xde, 0xb0, - 0x80, 0x70, 0x51, 0xd4, 0x2a, 0x4b, 0x34, 0xd5, 0x78, 0x6a, 0x59, 0xd8, 0x09, 0x08, 0xef, 0x92, - 0x9e, 0xf0, 0xc8, 0x9a, 0x0a, 0x6c, 0x33, 0x31, 0xff, 0x82, 0xd2, 0xae, 0xe0, 0x25, 0x1f, 0x68, - 0xb7, 0x66, 0x0b, 0x4b, 0x9d, 0x2f, 0x2c, 0xf5, 0x61, 0x61, 0xa9, 0xd7, 0x4b, 0x4b, 0x99, 0x2f, - 0x2d, 0xe5, 0x6e, 0x69, 0x29, 0x67, 0x5f, 0xa2, 0xb1, 0x07, 0x07, 0x98, 0xa2, 0xa1, 0x8f, 0x46, - 0x21, 0x74, 0x71, 0x6c, 0x6f, 0x8e, 0xf9, 0x32, 0x39, 0x67, 0x3e, 0x8d, 0x30, 0x1b, 0x64, 0x93, - 0x2b, 0xfe, 0xfa, 0x18, 0x00, 0x00, 0xff, 0xff, 0x2a, 0xc1, 0xcb, 0xc6, 0x40, 0x03, 0x00, 0x00, +var fileDescriptor_8f2dd36de00e161b = []byte{ + // 412 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0x4a, 0xe3, 0x40, + 0x1c, 0xc6, 0x93, 0x66, 0xb7, 0xb4, 0xd3, 0x2e, 0xdb, 0xcd, 0x96, 0x25, 0x64, 0x25, 0xd6, 0x82, + 0xd0, 0xd3, 0x84, 0x56, 0x0f, 0x5a, 0x50, 0xb1, 0x22, 0x7a, 0x94, 0xb4, 0x78, 0xf0, 0x52, 0xa6, + 0xcd, 0x90, 0x84, 0xa6, 0x99, 0x90, 0x19, 0x83, 0x7d, 0x0b, 0x1f, 0xc5, 0x07, 0xf0, 0x01, 0x7a, + 0xec, 0xd1, 0x93, 0x48, 0xfb, 0x22, 0x32, 0x99, 0xa4, 0x96, 0x12, 0x44, 0x6f, 0xc3, 0x9f, 0xef, + 0xfb, 0x7d, 0xff, 0xf9, 0xf8, 0x83, 0x66, 0x48, 0x7c, 0x14, 0x79, 0xd4, 0xc4, 0xf1, 0xd4, 0x8c, + 0xdb, 0xc8, 0x0f, 0x5d, 0xd4, 0x36, 0x1d, 0x1c, 0x60, 0xea, 0x51, 0x18, 0x46, 0x84, 0x11, 0xb5, + 0x9e, 0x6a, 0x20, 0x8e, 0xa7, 0x30, 0xd3, 0xe8, 0x75, 0x87, 0x38, 0x24, 0x11, 0x98, 0xfc, 0x25, + 0xb4, 0xfa, 0x5e, 0x2e, 0x2f, 0x44, 0x11, 0x9a, 0xa6, 0xb8, 0xe6, 0x93, 0x02, 0xaa, 0x57, 0x22, + 0xa0, 0xcf, 0x10, 0xc3, 0x6a, 0x17, 0x14, 0x85, 0x40, 0x93, 0x1b, 0x72, 0xab, 0xd2, 0xd9, 0x81, + 0x79, 0x81, 0xf0, 0x26, 0xd1, 0xf4, 0x7e, 0xcc, 0x5f, 0x77, 0x25, 0x2b, 0x75, 0xa8, 0x1e, 0xf8, + 0x8b, 0x6c, 0x3b, 0xc2, 0x94, 0x0e, 0x19, 0x19, 0x8e, 0x49, 0xc0, 0x22, 0x34, 0x66, 0x5a, 0xa1, + 0xa1, 0xb4, 0x2a, 0x9d, 0xe3, 0x7c, 0xd0, 0x66, 0x38, 0x3c, 0x17, 0xee, 0x01, 0xb9, 0x48, 0xbd, + 0x97, 0x01, 0x8b, 0x66, 0xd6, 0x1f, 0xb4, 0x3d, 0x57, 0x07, 0xa0, 0xea, 0x22, 0xea, 0x8a, 0x1c, + 0x1b, 0x6b, 0x4a, 0x92, 0xd1, 0xf9, 0x42, 0xc6, 0x35, 0xa2, 0x2e, 0x07, 0xd9, 0x58, 0xc0, 0x81, + 0xbb, 0x1e, 0xe8, 0x36, 0xf8, 0x97, 0xbf, 0x82, 0x5a, 0x03, 0xca, 0x04, 0xcf, 0x92, 0x4e, 0xca, + 0x16, 0x7f, 0xaa, 0x87, 0xe0, 0x67, 0x8c, 0xfc, 0x7b, 0xac, 0x15, 0x92, 0x9e, 0x8c, 0xfc, 0xe8, + 0x8c, 0x62, 0x09, 0x71, 0xb7, 0x70, 0x24, 0xeb, 0x27, 0xe0, 0xf7, 0xd6, 0x12, 0x39, 0xf8, 0xfa, + 0x26, 0xbe, 0xbc, 0x61, 0x6f, 0x3e, 0xcb, 0xa0, 0xb4, 0xee, 0xe1, 0x3f, 0x28, 0xf3, 0xff, 0x0f, + 0xf9, 0x27, 0x52, 0x7b, 0x89, 0x0f, 0x78, 0x80, 0xda, 0x07, 0xbf, 0xa8, 0x4f, 0x18, 0x2f, 0x29, + 0x63, 0xf1, 0x96, 0xcc, 0xcf, 0x57, 0x85, 0x7d, 0x9f, 0xb0, 0x01, 0xb9, 0xe5, 0x0e, 0x51, 0x51, + 0x85, 0x7e, 0x4c, 0xf4, 0x53, 0x50, 0xdb, 0x16, 0x7c, 0x67, 0xfd, 0xde, 0xd9, 0x7c, 0x69, 0xc8, + 0x8b, 0xa5, 0x21, 0xbf, 0x2d, 0x0d, 0xf9, 0x71, 0x65, 0x48, 0x8b, 0x95, 0x21, 0xbd, 0xac, 0x0c, + 0xe9, 0x6e, 0x3f, 0x9c, 0x38, 0x70, 0x84, 0x23, 0x34, 0x76, 0x91, 0x17, 0x40, 0x1b, 0xc7, 0x66, + 0x76, 0xc0, 0x0f, 0xc9, 0x09, 0xb3, 0x59, 0x88, 0xe9, 0xa8, 0x98, 0x5c, 0xee, 0xc1, 0x7b, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x0f, 0x6f, 0xa1, 0x96, 0x2e, 0x03, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/evm/types/genesis_test.go b/x/evm/types/genesis_test.go index 90daf22c8..a86e78add 100644 --- a/x/evm/types/genesis_test.go +++ b/x/evm/types/genesis_test.go @@ -21,7 +21,7 @@ package types import ( - "pkg.berachain.dev/stargazer/eth/common" + "pkg.berachain.dev/polaris/eth/common" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/types/params.go b/x/evm/types/params.go index 2f5a0e9a1..7cad773c4 100644 --- a/x/evm/types/params.go +++ b/x/evm/types/params.go @@ -23,8 +23,8 @@ package types import ( "encoding/json" - "pkg.berachain.dev/stargazer/eth/params" - enclib "pkg.berachain.dev/stargazer/lib/encoding" + "pkg.berachain.dev/polaris/eth/params" + enclib "pkg.berachain.dev/polaris/lib/encoding" ) const ( diff --git a/x/evm/types/params.pb.go b/x/evm/types/params.pb.go index 0b3fa7eca..7f30b37ea 100644 --- a/x/evm/types/params.pb.go +++ b/x/evm/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: stargazer/evm/v1alpha1/params.proto +// source: polaris/evm/v1alpha1/params.proto package types @@ -30,7 +30,7 @@ type Params struct { EvmDenom string `protobuf:"bytes,1,opt,name=evm_denom,json=evmDenom,proto3" json:"evm_denom,omitempty" yaml:"evm_denom"` // `extra_eips` defines a list of additional EIPs for the vm.Config ExtraEIPs []int64 `protobuf:"varint,2,rep,packed,name=extra_eips,json=extraEips,proto3" json:"extra_eips,omitempty" yaml:"extra_eips"` - // `chain_config` represents the ethereum chain config for the stargazer + // `chain_config` represents the ethereum chain config for the polaris // EVM ChainConfig string `protobuf:"bytes,3,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty" yaml:"chain_config"` } @@ -39,7 +39,7 @@ func (m *Params) Reset() { *m = Params{} } func (m *Params) String() string { return proto.CompactTextString(m) } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_2cf03f4895d0757d, []int{0} + return fileDescriptor_9f6c2eac5100e18c, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -90,33 +90,31 @@ func (m *Params) GetChainConfig() string { } func init() { - proto.RegisterType((*Params)(nil), "stargazer.evm.v1alpha1.Params") + proto.RegisterType((*Params)(nil), "polaris.evm.v1alpha1.Params") } -func init() { - proto.RegisterFile("stargazer/evm/v1alpha1/params.proto", fileDescriptor_2cf03f4895d0757d) -} +func init() { proto.RegisterFile("polaris/evm/v1alpha1/params.proto", fileDescriptor_9f6c2eac5100e18c) } -var fileDescriptor_2cf03f4895d0757d = []byte{ - // 283 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2e, 0x2e, 0x49, 0x2c, - 0x4a, 0x4f, 0xac, 0x4a, 0x2d, 0xd2, 0x4f, 0x2d, 0xcb, 0xd5, 0x2f, 0x33, 0x4c, 0xcc, 0x29, 0xc8, - 0x48, 0x34, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x12, 0x83, 0x2b, 0xd2, 0x4b, 0x2d, 0xcb, 0xd5, 0x83, 0x29, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, - 0x07, 0x2b, 0xd1, 0x07, 0xb1, 0x20, 0xaa, 0x95, 0x76, 0x31, 0x72, 0xb1, 0x05, 0x80, 0xb5, 0x0b, - 0x19, 0x72, 0x71, 0xa6, 0x96, 0xe5, 0xc6, 0xa7, 0xa4, 0xe6, 0xe5, 0xe7, 0x4a, 0x30, 0x2a, 0x30, - 0x6a, 0x70, 0x3a, 0x89, 0x7c, 0xba, 0x27, 0x2f, 0x50, 0x99, 0x98, 0x9b, 0x63, 0xa5, 0x04, 0x97, - 0x52, 0x0a, 0xe2, 0x48, 0x2d, 0xcb, 0x75, 0x01, 0x31, 0x85, 0x1c, 0xb9, 0xb8, 0x52, 0x2b, 0x4a, - 0x8a, 0x12, 0xe3, 0x53, 0x33, 0x0b, 0x8a, 0x25, 0x98, 0x14, 0x98, 0x35, 0x98, 0x9d, 0x94, 0x1e, - 0xdd, 0x93, 0xe7, 0x74, 0x05, 0x89, 0xba, 0x7a, 0x06, 0x14, 0x7f, 0xba, 0x27, 0x2f, 0x08, 0x35, - 0x00, 0xae, 0x50, 0x29, 0x88, 0x13, 0xcc, 0x71, 0xcd, 0x2c, 0x28, 0x16, 0xb2, 0xe2, 0xe2, 0x49, - 0xce, 0x48, 0xcc, 0xcc, 0x8b, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0x97, 0x60, 0x06, 0x5b, 0x2c, - 0xfe, 0xe9, 0x9e, 0xbc, 0x30, 0x44, 0x1f, 0xb2, 0xac, 0x52, 0x10, 0x37, 0x98, 0xeb, 0x0c, 0xe6, - 0x39, 0x39, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, - 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x7a, 0x41, 0x76, - 0xba, 0x5e, 0x52, 0x6a, 0x51, 0x22, 0x58, 0xb9, 0x5e, 0x4a, 0x6a, 0x99, 0x3e, 0x22, 0xec, 0x2a, - 0xc0, 0xa1, 0x57, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x06, 0x63, 0x40, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x8c, 0x20, 0x36, 0x5f, 0x5b, 0x01, 0x00, 0x00, +var fileDescriptor_9f6c2eac5100e18c = []byte{ + // 281 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2c, 0xc8, 0xcf, 0x49, + 0x2c, 0xca, 0x2c, 0xd6, 0x4f, 0x2d, 0xcb, 0xd5, 0x2f, 0x33, 0x4c, 0xcc, 0x29, 0xc8, 0x48, 0x34, + 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, + 0x2a, 0xd1, 0x4b, 0x2d, 0xcb, 0xd5, 0x83, 0x29, 0x91, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x2b, + 0xd0, 0x07, 0xb1, 0x20, 0x6a, 0x95, 0x76, 0x31, 0x72, 0xb1, 0x05, 0x80, 0x35, 0x0b, 0x19, 0x72, + 0x71, 0xa6, 0x96, 0xe5, 0xc6, 0xa7, 0xa4, 0xe6, 0xe5, 0xe7, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, + 0x3a, 0x89, 0x7c, 0xba, 0x27, 0x2f, 0x50, 0x99, 0x98, 0x9b, 0x63, 0xa5, 0x04, 0x97, 0x52, 0x0a, + 0xe2, 0x48, 0x2d, 0xcb, 0x75, 0x01, 0x31, 0x85, 0x1c, 0xb9, 0xb8, 0x52, 0x2b, 0x4a, 0x8a, 0x12, + 0xe3, 0x53, 0x33, 0x0b, 0x8a, 0x25, 0x98, 0x14, 0x98, 0x35, 0x98, 0x9d, 0x94, 0x1e, 0xdd, 0x93, + 0xe7, 0x74, 0x05, 0x89, 0xba, 0x7a, 0x06, 0x14, 0x7f, 0xba, 0x27, 0x2f, 0x08, 0x35, 0x00, 0xae, + 0x50, 0x29, 0x88, 0x13, 0xcc, 0x71, 0xcd, 0x2c, 0x28, 0x16, 0xb2, 0xe2, 0xe2, 0x49, 0xce, 0x48, + 0xcc, 0xcc, 0x8b, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0x97, 0x60, 0x06, 0x5b, 0x2c, 0xfe, 0xe9, + 0x9e, 0xbc, 0x30, 0x44, 0x1f, 0xb2, 0xac, 0x52, 0x10, 0x37, 0x98, 0xeb, 0x0c, 0xe6, 0x39, 0xd9, + 0x9f, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, + 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x6a, 0x41, 0x76, 0xba, 0x5e, + 0x52, 0x6a, 0x51, 0x22, 0x58, 0xb9, 0x5e, 0x4a, 0x6a, 0x99, 0x3e, 0x2c, 0xdc, 0x2a, 0xc0, 0x21, + 0x57, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x04, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xae, 0xde, 0xdf, 0xb0, 0x55, 0x01, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/evm/types/query.pb.go b/x/evm/types/query.pb.go index 0c67a8a4c..4dabc616b 100644 --- a/x/evm/types/query.pb.go +++ b/x/evm/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: stargazer/evm/v1alpha1/query.proto +// source: polaris/evm/v1alpha1/query.proto package types @@ -37,7 +37,7 @@ func (m *ParamsRequest) Reset() { *m = ParamsRequest{} } func (m *ParamsRequest) String() string { return proto.CompactTextString(m) } func (*ParamsRequest) ProtoMessage() {} func (*ParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d6856f1576eaff42, []int{0} + return fileDescriptor_eabbdb83b909a591, []int{0} } func (m *ParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -76,7 +76,7 @@ func (m *ParamsResponse) Reset() { *m = ParamsResponse{} } func (m *ParamsResponse) String() string { return proto.CompactTextString(m) } func (*ParamsResponse) ProtoMessage() {} func (*ParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d6856f1576eaff42, []int{1} + return fileDescriptor_eabbdb83b909a591, []int{1} } func (m *ParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -113,34 +113,32 @@ func (m *ParamsResponse) GetParams() Params { } func init() { - proto.RegisterType((*ParamsRequest)(nil), "stargazer.evm.v1alpha1.ParamsRequest") - proto.RegisterType((*ParamsResponse)(nil), "stargazer.evm.v1alpha1.ParamsResponse") -} - -func init() { - proto.RegisterFile("stargazer/evm/v1alpha1/query.proto", fileDescriptor_d6856f1576eaff42) -} - -var fileDescriptor_d6856f1576eaff42 = []byte{ - // 286 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2a, 0x2e, 0x49, 0x2c, - 0x4a, 0x4f, 0xac, 0x4a, 0x2d, 0xd2, 0x4f, 0x2d, 0xcb, 0xd5, 0x2f, 0x33, 0x4c, 0xcc, 0x29, 0xc8, - 0x48, 0x34, 0xd4, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, - 0x83, 0xab, 0xd1, 0x4b, 0x2d, 0xcb, 0xd5, 0x83, 0xa9, 0x91, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, - 0x2b, 0xd1, 0x07, 0xb1, 0x20, 0xaa, 0xa5, 0x64, 0xd2, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, - 0x0b, 0x32, 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0xa1, 0xb2, - 0xca, 0x38, 0xec, 0x2b, 0x48, 0x2c, 0x4a, 0xcc, 0x85, 0x2a, 0x52, 0xe2, 0xe7, 0xe2, 0x0d, 0x00, - 0xf3, 0x83, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x94, 0xfc, 0xb8, 0xf8, 0x60, 0x02, 0xc5, 0x05, - 0xf9, 0x79, 0xc5, 0xa9, 0x42, 0x36, 0x5c, 0x6c, 0x10, 0x2d, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xdc, - 0x46, 0x72, 0x7a, 0xd8, 0x1d, 0xa9, 0x07, 0xd1, 0xe7, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, - 0x54, 0x8f, 0x51, 0x3f, 0x23, 0x17, 0x4f, 0x20, 0xc8, 0x87, 0xc1, 0xa9, 0x45, 0x65, 0x99, 0xc9, - 0xa9, 0x42, 0xf5, 0x5c, 0x6c, 0x10, 0x85, 0x42, 0xaa, 0xf8, 0x0d, 0x82, 0xba, 0x48, 0x4a, 0x8d, - 0x90, 0x32, 0x88, 0x3b, 0x95, 0xd4, 0x9a, 0x2e, 0x3f, 0x99, 0xcc, 0xa4, 0x20, 0x24, 0xa7, 0x8f, - 0xd7, 0xe3, 0x4e, 0x8e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, - 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xa5, 0x5e, - 0x90, 0x9d, 0xae, 0x97, 0x94, 0x5a, 0x94, 0x98, 0x9c, 0x91, 0x98, 0x99, 0xa7, 0x97, 0x92, 0x5a, - 0x86, 0x64, 0x54, 0x05, 0xd8, 0xb0, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0xe0, 0x19, - 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8a, 0xe7, 0x4f, 0xa5, 0xd3, 0x01, 0x00, 0x00, + proto.RegisterType((*ParamsRequest)(nil), "polaris.evm.v1alpha1.ParamsRequest") + proto.RegisterType((*ParamsResponse)(nil), "polaris.evm.v1alpha1.ParamsResponse") +} + +func init() { proto.RegisterFile("polaris/evm/v1alpha1/query.proto", fileDescriptor_eabbdb83b909a591) } + +var fileDescriptor_eabbdb83b909a591 = []byte{ + // 284 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x28, 0xc8, 0xcf, 0x49, + 0x2c, 0xca, 0x2c, 0xd6, 0x4f, 0x2d, 0xcb, 0xd5, 0x2f, 0x33, 0x4c, 0xcc, 0x29, 0xc8, 0x48, 0x34, + 0xd4, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0xaa, + 0xd0, 0x4b, 0x2d, 0xcb, 0xd5, 0x83, 0xa9, 0x90, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x2b, 0xd0, + 0x07, 0xb1, 0x20, 0x6a, 0xa5, 0x64, 0xd2, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, 0x0b, 0x32, + 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0xa1, 0xb2, 0x8a, 0x58, + 0xed, 0x2a, 0x48, 0x2c, 0x4a, 0xcc, 0x85, 0x2a, 0x51, 0xe2, 0xe7, 0xe2, 0x0d, 0x00, 0xf3, 0x83, + 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x94, 0x7c, 0xb8, 0xf8, 0x60, 0x02, 0xc5, 0x05, 0xf9, 0x79, + 0xc5, 0xa9, 0x42, 0x56, 0x5c, 0x6c, 0x10, 0x2d, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0x32, + 0x7a, 0xd8, 0x1c, 0xa8, 0x07, 0xd1, 0xe5, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, 0x54, 0x87, + 0x51, 0x27, 0x23, 0x17, 0x4f, 0x20, 0xc8, 0x6f, 0xc1, 0xa9, 0x45, 0x65, 0x99, 0xc9, 0xa9, 0x42, + 0x95, 0x5c, 0x6c, 0x10, 0x85, 0x42, 0xca, 0xf8, 0x8c, 0x81, 0xba, 0x46, 0x4a, 0x05, 0xbf, 0x22, + 0x88, 0x0b, 0x95, 0x54, 0x9a, 0x2e, 0x3f, 0x99, 0xcc, 0x24, 0x27, 0x24, 0xa3, 0x8f, 0xc7, 0xc3, + 0x4e, 0xf6, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, + 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xa5, 0x5a, 0x90, 0x9d, + 0xae, 0x97, 0x94, 0x5a, 0x94, 0x98, 0x9c, 0x91, 0x98, 0x99, 0xa7, 0x97, 0x92, 0x5a, 0x06, 0x37, + 0xa8, 0x02, 0x6c, 0x54, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0xc8, 0x8c, 0x01, 0x01, + 0x00, 0x00, 0xff, 0xff, 0xf8, 0x5e, 0x2c, 0xb2, 0xc3, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -169,7 +167,7 @@ func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { func (c *queryServiceClient) Params(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) { out := new(ParamsResponse) - err := c.cc.Invoke(ctx, "/stargazer.evm.v1alpha1.QueryService/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/polaris.evm.v1alpha1.QueryService/Params", in, out, opts...) if err != nil { return nil, err } @@ -204,7 +202,7 @@ func _QueryService_Params_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/stargazer.evm.v1alpha1.QueryService/Params", + FullMethod: "/polaris.evm.v1alpha1.QueryService/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).Params(ctx, req.(*ParamsRequest)) @@ -213,7 +211,7 @@ func _QueryService_Params_Handler(srv interface{}, ctx context.Context, dec func } var _QueryService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "stargazer.evm.v1alpha1.QueryService", + ServiceName: "polaris.evm.v1alpha1.QueryService", HandlerType: (*QueryServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -222,7 +220,7 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "stargazer/evm/v1alpha1/query.proto", + Metadata: "polaris/evm/v1alpha1/query.proto", } func (m *ParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/evm/types/query.pb.gw.go b/x/evm/types/query.pb.gw.go index 74666b7ed..0d6190a82 100644 --- a/x/evm/types/query.pb.gw.go +++ b/x/evm/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: stargazer/evm/v1alpha1/query.proto +// source: polaris/evm/v1alpha1/query.proto /* Package types is a reverse proxy. @@ -145,7 +145,7 @@ func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMu } var ( - pattern_QueryService_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"stargazer", "evm", "v1alpha1", "params"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"polaris", "evm", "v1alpha1", "params"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/evm/types/tx.go b/x/evm/types/tx.go index 0578cbe5e..a8958e4d9 100644 --- a/x/evm/types/tx.go +++ b/x/evm/types/tx.go @@ -26,8 +26,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/ante" - "pkg.berachain.dev/stargazer/eth/common" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" + "pkg.berachain.dev/polaris/eth/common" + coretypes "pkg.berachain.dev/polaris/eth/core/types" ) // We must implement the `sdk.Msg` interface to be able to use the `sdk.Msg` type diff --git a/x/evm/types/tx.pb.go b/x/evm/types/tx.pb.go index de9a30c6b..46be48d5b 100644 --- a/x/evm/types/tx.pb.go +++ b/x/evm/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: stargazer/evm/v1alpha1/tx.proto +// source: polaris/evm/v1alpha1/tx.proto package types @@ -40,7 +40,7 @@ func (m *EthTransactionRequest) Reset() { *m = EthTransactionRequest{} } func (m *EthTransactionRequest) String() string { return proto.CompactTextString(m) } func (*EthTransactionRequest) ProtoMessage() {} func (*EthTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_72f89b557d3ac34e, []int{0} + return fileDescriptor_d8b33d2a2c64400f, []int{0} } func (m *EthTransactionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,7 +83,7 @@ func (m *EthTransactionResponse) Reset() { *m = EthTransactionResponse{} func (m *EthTransactionResponse) String() string { return proto.CompactTextString(m) } func (*EthTransactionResponse) ProtoMessage() {} func (*EthTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_72f89b557d3ac34e, []int{1} + return fileDescriptor_d8b33d2a2c64400f, []int{1} } func (m *EthTransactionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -128,7 +128,7 @@ func (m *UpdateParamsRequest) Reset() { *m = UpdateParamsRequest{} } func (m *UpdateParamsRequest) String() string { return proto.CompactTextString(m) } func (*UpdateParamsRequest) ProtoMessage() {} func (*UpdateParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_72f89b557d3ac34e, []int{2} + return fileDescriptor_d8b33d2a2c64400f, []int{2} } func (m *UpdateParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -182,7 +182,7 @@ func (m *UpdateParamsResponse) Reset() { *m = UpdateParamsResponse{} } func (m *UpdateParamsResponse) String() string { return proto.CompactTextString(m) } func (*UpdateParamsResponse) ProtoMessage() {} func (*UpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_72f89b557d3ac34e, []int{3} + return fileDescriptor_d8b33d2a2c64400f, []int{3} } func (m *UpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -212,45 +212,45 @@ func (m *UpdateParamsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_UpdateParamsResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*EthTransactionRequest)(nil), "stargazer.evm.v1alpha1.EthTransactionRequest") - proto.RegisterType((*EthTransactionResponse)(nil), "stargazer.evm.v1alpha1.EthTransactionResponse") - proto.RegisterType((*UpdateParamsRequest)(nil), "stargazer.evm.v1alpha1.UpdateParamsRequest") - proto.RegisterType((*UpdateParamsResponse)(nil), "stargazer.evm.v1alpha1.UpdateParamsResponse") + proto.RegisterType((*EthTransactionRequest)(nil), "polaris.evm.v1alpha1.EthTransactionRequest") + proto.RegisterType((*EthTransactionResponse)(nil), "polaris.evm.v1alpha1.EthTransactionResponse") + proto.RegisterType((*UpdateParamsRequest)(nil), "polaris.evm.v1alpha1.UpdateParamsRequest") + proto.RegisterType((*UpdateParamsResponse)(nil), "polaris.evm.v1alpha1.UpdateParamsResponse") } -func init() { proto.RegisterFile("stargazer/evm/v1alpha1/tx.proto", fileDescriptor_72f89b557d3ac34e) } +func init() { proto.RegisterFile("polaris/evm/v1alpha1/tx.proto", fileDescriptor_d8b33d2a2c64400f) } -var fileDescriptor_72f89b557d3ac34e = []byte{ - // 463 bytes of a gzipped FileDescriptorProto +var fileDescriptor_d8b33d2a2c64400f = []byte{ + // 460 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x31, 0x6f, 0xd3, 0x40, - 0x14, 0xf6, 0x41, 0x68, 0xc9, 0xb5, 0xea, 0x70, 0x84, 0x90, 0x7a, 0x70, 0xaa, 0x30, 0x50, 0x15, - 0x6a, 0x2b, 0x45, 0x62, 0xa8, 0x58, 0x1a, 0xd1, 0x11, 0x09, 0xb9, 0x74, 0x61, 0x89, 0xae, 0xf1, - 0xd3, 0xc5, 0x02, 0xfb, 0xcc, 0xbd, 0xf3, 0xa9, 0x65, 0x42, 0x4c, 0x8c, 0xec, 0x2c, 0xfc, 0x84, - 0x0e, 0xfc, 0x88, 0x8e, 0x15, 0x13, 0x13, 0x42, 0xc9, 0xd0, 0x91, 0xbf, 0x80, 0x72, 0xe7, 0x62, - 0x5a, 0x25, 0x52, 0xa7, 0xdc, 0x7b, 0xef, 0xfb, 0xf2, 0x7d, 0xfe, 0xde, 0xa3, 0x5d, 0xd4, 0x5c, - 0x09, 0xfe, 0x01, 0x54, 0x04, 0x26, 0x8b, 0x4c, 0x9f, 0xbf, 0x2b, 0xc6, 0xbc, 0x1f, 0xe9, 0xe3, - 0xb0, 0x50, 0x52, 0x4b, 0xd6, 0xfe, 0x07, 0x08, 0xc1, 0x64, 0xe1, 0x25, 0xc0, 0x7f, 0x30, 0x92, - 0x98, 0x49, 0x8c, 0x32, 0x14, 0x91, 0xe9, 0xcf, 0x7e, 0x1c, 0xc1, 0x5f, 0x77, 0x83, 0xa1, 0xad, - 0x22, 0x57, 0x54, 0xa3, 0x96, 0x90, 0x42, 0xba, 0xfe, 0xec, 0x55, 0x75, 0x1f, 0x2e, 0xb0, 0x50, - 0x70, 0xc5, 0xb3, 0x8a, 0xda, 0xeb, 0xd3, 0xfb, 0xfb, 0x7a, 0xfc, 0x5a, 0xf1, 0x1c, 0xf9, 0x48, - 0xa7, 0x32, 0x8f, 0xe1, 0x7d, 0x09, 0xa8, 0x19, 0xa3, 0x8d, 0x84, 0x6b, 0xde, 0x21, 0x1b, 0x64, - 0x73, 0x35, 0xb6, 0xef, 0xdd, 0xc6, 0xe7, 0x6f, 0x5d, 0xaf, 0x57, 0xd2, 0xf6, 0x75, 0x0a, 0x16, - 0x32, 0x47, 0x60, 0xeb, 0xf4, 0xae, 0xe0, 0x38, 0x2c, 0x11, 0x12, 0xcb, 0x6b, 0xc4, 0xcb, 0x82, - 0xe3, 0x21, 0x42, 0x32, 0x1b, 0x99, 0x6c, 0x08, 0x4a, 0x49, 0xd5, 0xb9, 0xb5, 0x41, 0x36, 0x9b, - 0xf1, 0xb2, 0xc9, 0xf6, 0x67, 0x25, 0xeb, 0xd2, 0x15, 0x05, 0xba, 0x54, 0xf9, 0xd0, 0x0a, 0xde, - 0xb6, 0x82, 0xd4, 0xb5, 0x5e, 0xd4, 0xb2, 0x5f, 0x09, 0xbd, 0x77, 0x58, 0x24, 0x5c, 0xc3, 0x2b, - 0xfb, 0x01, 0x97, 0x46, 0x9f, 0xd1, 0x26, 0x2f, 0xf5, 0x58, 0xaa, 0x54, 0x9f, 0x58, 0xd5, 0xe6, - 0xa0, 0xf3, 0xe3, 0xfb, 0x76, 0xab, 0x4a, 0x68, 0x2f, 0x49, 0x14, 0x20, 0x1e, 0x68, 0x95, 0xe6, - 0x22, 0xae, 0xa1, 0xec, 0x39, 0x5d, 0x72, 0x49, 0x58, 0x3f, 0x2b, 0x3b, 0x41, 0x38, 0x7f, 0x23, - 0xa1, 0x93, 0x1b, 0x34, 0xce, 0x7e, 0x75, 0xbd, 0xb8, 0xe2, 0xec, 0xae, 0x7d, 0xba, 0x38, 0xdd, - 0xaa, 0xff, 0xad, 0xd7, 0xa6, 0xad, 0xab, 0xe6, 0x5c, 0x24, 0x3b, 0x7f, 0x08, 0xa5, 0x2f, 0x51, - 0x1c, 0x80, 0x32, 0xe9, 0x08, 0x98, 0xa4, 0x6b, 0x57, 0xb3, 0x63, 0xdb, 0x8b, 0x64, 0xe7, 0xae, - 0xc5, 0x0f, 0x6f, 0x0a, 0xaf, 0x56, 0x92, 0xd2, 0xd5, 0xff, 0x7d, 0xb1, 0xc7, 0x8b, 0xf8, 0x73, - 0xa2, 0xf5, 0x9f, 0xdc, 0x0c, 0xec, 0xa4, 0xfc, 0x3b, 0x1f, 0x2f, 0x4e, 0xb7, 0xc8, 0x60, 0xef, - 0x6c, 0x12, 0x90, 0xf3, 0x49, 0x40, 0x7e, 0x4f, 0x02, 0xf2, 0x65, 0x1a, 0x78, 0xe7, 0xd3, 0xc0, - 0xfb, 0x39, 0x0d, 0xbc, 0x37, 0x8f, 0x8a, 0xb7, 0x22, 0x3c, 0x02, 0xc5, 0x47, 0x63, 0x9e, 0xe6, - 0x61, 0x02, 0x26, 0xaa, 0x4f, 0xf4, 0xd8, 0x1e, 0xa9, 0x3e, 0x29, 0x00, 0x8f, 0x96, 0xec, 0x6d, - 0x3e, 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xea, 0x82, 0x16, 0x6c, 0x45, 0x03, 0x00, 0x00, + 0x14, 0xf6, 0x41, 0x68, 0xc9, 0xb5, 0xea, 0x70, 0x84, 0x92, 0x5a, 0xe0, 0x94, 0x48, 0x48, 0x25, + 0x80, 0xad, 0x14, 0x89, 0x21, 0x0b, 0x22, 0xa2, 0x23, 0x12, 0x72, 0xe9, 0xc2, 0x12, 0x5d, 0xe3, + 0x27, 0xc7, 0x6a, 0xed, 0x33, 0xf7, 0xce, 0xa7, 0x76, 0x43, 0x4c, 0x8c, 0xac, 0x6c, 0xfc, 0x84, + 0x0e, 0xfc, 0x88, 0x8e, 0x15, 0x13, 0x13, 0x42, 0xc9, 0x90, 0xbf, 0x81, 0x7c, 0xe7, 0x28, 0xb4, + 0xf2, 0x90, 0xc9, 0xef, 0xbd, 0xef, 0x7d, 0xfe, 0xde, 0x7d, 0xef, 0xd1, 0x47, 0xb9, 0x38, 0xe5, + 0x32, 0xc1, 0x00, 0x74, 0x1a, 0xe8, 0x3e, 0x3f, 0xcd, 0x27, 0xbc, 0x1f, 0xa8, 0x33, 0x3f, 0x97, + 0x42, 0x09, 0xd6, 0xaa, 0x60, 0x1f, 0x74, 0xea, 0x2f, 0x60, 0xf7, 0xc1, 0x58, 0x60, 0x2a, 0x30, + 0x48, 0x31, 0x0e, 0x74, 0xbf, 0xfc, 0xd8, 0x76, 0x77, 0xc7, 0x02, 0x23, 0x93, 0x05, 0x36, 0xa9, + 0xa0, 0x56, 0x2c, 0x62, 0x61, 0xeb, 0x65, 0x54, 0x55, 0x1f, 0xd7, 0xca, 0xe7, 0x5c, 0xf2, 0xb4, + 0x22, 0x76, 0xfb, 0xf4, 0xfe, 0x81, 0x9a, 0x7c, 0x90, 0x3c, 0x43, 0x3e, 0x56, 0x89, 0xc8, 0x42, + 0xf8, 0x54, 0x00, 0x2a, 0xc6, 0x68, 0x23, 0xe2, 0x8a, 0xb7, 0xc9, 0x2e, 0xd9, 0xdb, 0x0c, 0x4d, + 0x3c, 0x68, 0x7c, 0xfd, 0xd1, 0x71, 0xba, 0x05, 0xdd, 0xbe, 0x49, 0xc1, 0x5c, 0x64, 0x08, 0x6c, + 0x87, 0xde, 0x8d, 0x39, 0x8e, 0x0a, 0x84, 0xc8, 0xf0, 0x1a, 0xe1, 0x7a, 0xcc, 0xf1, 0x08, 0x21, + 0x2a, 0x21, 0x9d, 0x8e, 0x40, 0x4a, 0x21, 0xdb, 0xb7, 0x76, 0xc9, 0x5e, 0x33, 0x5c, 0xd7, 0xe9, + 0x41, 0x99, 0xb2, 0x0e, 0xdd, 0x90, 0xa0, 0x0a, 0x99, 0x8d, 0x8c, 0xe0, 0x6d, 0x23, 0x48, 0x6d, + 0xe9, 0xed, 0x52, 0xf6, 0x3b, 0xa1, 0xf7, 0x8e, 0xf2, 0x88, 0x2b, 0x78, 0x6f, 0x1e, 0xb0, 0x18, + 0xf4, 0x15, 0x6d, 0xf2, 0x42, 0x4d, 0x84, 0x4c, 0xd4, 0xb9, 0x51, 0x6d, 0x0e, 0xdb, 0xbf, 0x7e, + 0xbe, 0x68, 0x55, 0xfe, 0xbc, 0x89, 0x22, 0x09, 0x88, 0x87, 0x4a, 0x26, 0x59, 0x1c, 0x2e, 0x5b, + 0xd9, 0x80, 0xae, 0x59, 0x27, 0xcc, 0x3c, 0x1b, 0xfb, 0x0f, 0xfd, 0xba, 0x6d, 0xf8, 0x56, 0x6c, + 0xd8, 0xb8, 0xfc, 0xd3, 0x71, 0xc2, 0x8a, 0x31, 0xd8, 0xfa, 0x32, 0xbf, 0xe8, 0x2d, 0xff, 0xd5, + 0xdd, 0xa6, 0xad, 0xeb, 0xa3, 0x59, 0x43, 0xf6, 0xe7, 0x84, 0xd2, 0x77, 0x18, 0x1f, 0x82, 0xd4, + 0xc9, 0x18, 0xd8, 0x09, 0xdd, 0xba, 0xee, 0x1c, 0x7b, 0x56, 0x2f, 0x5a, 0xbb, 0x12, 0xf7, 0xf9, + 0x6a, 0xcd, 0xd5, 0x32, 0x80, 0x6e, 0xfe, 0x3f, 0x13, 0x7b, 0x5a, 0xcf, 0xae, 0xb1, 0xd4, 0xed, + 0xad, 0xd2, 0x6a, 0x65, 0xdc, 0x3b, 0x9f, 0xe7, 0x17, 0x3d, 0x32, 0x7c, 0x7d, 0x39, 0xf5, 0xc8, + 0xd5, 0xd4, 0x23, 0x7f, 0xa7, 0x1e, 0xf9, 0x36, 0xf3, 0x9c, 0xab, 0x99, 0xe7, 0xfc, 0x9e, 0x79, + 0xce, 0xc7, 0x27, 0xf9, 0x49, 0xec, 0x1f, 0x83, 0xe4, 0xe3, 0x09, 0x4f, 0x32, 0x3f, 0x02, 0x1d, + 0x2c, 0xce, 0xf2, 0xcc, 0x1c, 0xa6, 0x3a, 0xcf, 0x01, 0x8f, 0xd7, 0xcc, 0x3d, 0xbe, 0xfc, 0x17, + 0x00, 0x00, 0xff, 0xff, 0xbb, 0x17, 0x0f, 0x10, 0x33, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -284,7 +284,7 @@ func NewMsgServiceClient(cc grpc1.ClientConn) MsgServiceClient { func (c *msgServiceClient) EthTransaction(ctx context.Context, in *EthTransactionRequest, opts ...grpc.CallOption) (*EthTransactionResponse, error) { out := new(EthTransactionResponse) - err := c.cc.Invoke(ctx, "/stargazer.evm.v1alpha1.MsgService/EthTransaction", in, out, opts...) + err := c.cc.Invoke(ctx, "/polaris.evm.v1alpha1.MsgService/EthTransaction", in, out, opts...) if err != nil { return nil, err } @@ -293,7 +293,7 @@ func (c *msgServiceClient) EthTransaction(ctx context.Context, in *EthTransactio func (c *msgServiceClient) UpdateParams(ctx context.Context, in *UpdateParamsRequest, opts ...grpc.CallOption) (*UpdateParamsResponse, error) { out := new(UpdateParamsResponse) - err := c.cc.Invoke(ctx, "/stargazer.evm.v1alpha1.MsgService/UpdateParams", in, out, opts...) + err := c.cc.Invoke(ctx, "/polaris.evm.v1alpha1.MsgService/UpdateParams", in, out, opts...) if err != nil { return nil, err } @@ -336,7 +336,7 @@ func _MsgService_EthTransaction_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/stargazer.evm.v1alpha1.MsgService/EthTransaction", + FullMethod: "/polaris.evm.v1alpha1.MsgService/EthTransaction", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).EthTransaction(ctx, req.(*EthTransactionRequest)) @@ -354,7 +354,7 @@ func _MsgService_UpdateParams_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/stargazer.evm.v1alpha1.MsgService/UpdateParams", + FullMethod: "/polaris.evm.v1alpha1.MsgService/UpdateParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).UpdateParams(ctx, req.(*UpdateParamsRequest)) @@ -363,7 +363,7 @@ func _MsgService_UpdateParams_Handler(srv interface{}, ctx context.Context, dec } var _MsgService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "stargazer.evm.v1alpha1.MsgService", + ServiceName: "polaris.evm.v1alpha1.MsgService", HandlerType: (*MsgServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -376,7 +376,7 @@ var _MsgService_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "stargazer/evm/v1alpha1/tx.proto", + Metadata: "polaris/evm/v1alpha1/tx.proto", } func (m *EthTransactionRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/evm/types/tx_helper.go b/x/evm/types/tx_helper.go index f4a8a6d33..5a282004b 100644 --- a/x/evm/types/tx_helper.go +++ b/x/evm/types/tx_helper.go @@ -24,8 +24,8 @@ package types import ( "math/big" - "pkg.berachain.dev/stargazer/eth/common" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" + "pkg.berachain.dev/polaris/eth/common" + coretypes "pkg.berachain.dev/polaris/eth/core/types" ) // NewTx returns a reference to a new Ethereum transaction message. diff --git a/x/evm/types/tx_test.go b/x/evm/types/tx_test.go index 0e9ff0dea..89fc80a41 100644 --- a/x/evm/types/tx_test.go +++ b/x/evm/types/tx_test.go @@ -25,10 +25,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - coretypes "pkg.berachain.dev/stargazer/eth/core/types" - "pkg.berachain.dev/stargazer/eth/crypto" - "pkg.berachain.dev/stargazer/eth/params" - "pkg.berachain.dev/stargazer/x/evm/types" + coretypes "pkg.berachain.dev/polaris/eth/core/types" + "pkg.berachain.dev/polaris/eth/crypto" + "pkg.berachain.dev/polaris/eth/params" + "pkg.berachain.dev/polaris/x/evm/types" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/x/evm/types/update_params.go b/x/evm/types/update_params.go index 333b3459e..2ce986bdd 100644 --- a/x/evm/types/update_params.go +++ b/x/evm/types/update_params.go @@ -23,7 +23,7 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" - errorslib "pkg.berachain.dev/stargazer/lib/errors" + errorslib "pkg.berachain.dev/polaris/lib/errors" ) // Compile-time interface assertions. diff --git a/x/evm/utils/address.go b/x/evm/utils/address.go index 85303b20a..e9b0ccb99 100644 --- a/x/evm/utils/address.go +++ b/x/evm/utils/address.go @@ -23,7 +23,7 @@ package utils import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" + "pkg.berachain.dev/polaris/eth/common" ) // `AccAddressToEthAddress` converts a Cosmos SDK `AccAddress` to an Ethereum `Address`. diff --git a/x/evm/utils/address_test.go b/x/evm/utils/address_test.go index 05ba9d921..5f44d380e 100644 --- a/x/evm/utils/address_test.go +++ b/x/evm/utils/address_test.go @@ -25,8 +25,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "pkg.berachain.dev/stargazer/eth/common" - "pkg.berachain.dev/stargazer/runtime/config" + "pkg.berachain.dev/polaris/eth/common" + "pkg.berachain.dev/polaris/runtime/config" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega"