-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebranding #120
Rebranding #120
Conversation
disabled/elrondShardCoordinator.go
Outdated
@@ -1,35 +1,35 @@ | |||
package disabled | |||
|
|||
// ElrondShardCoordinator is the disabled shard coordinator instance that satisfies the elrond.sharding.Coordinator interface | |||
type ElrondShardCoordinator struct { | |||
// MultiversXShardCoordinator is the disabled shard coordinator instance that satisfies the mx-chain-go.sharding.Coordinator interface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe it can be renamed in ShardCoordinator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
logger "github.com/ElrondNetwork/elrond-go-logger" | ||
"github.com/ElrondNetwork/elrond-sdk-erdgo/core" | ||
"github.com/ElrondNetwork/elrond-sdk-erdgo/data" | ||
"github.com/multiversx/mx-chain-core-go/core/check" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should rename also the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
blockchain/elrondBaseProxy.go
Outdated
expirationTime time.Duration | ||
httpClientWrapper httpClientWrapper | ||
endpointProvider EndpointProvider | ||
} | ||
|
||
type elrondBaseProxy struct { | ||
type multiversXBaseProxy struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe this structure can be named baseProxy
without multiversX
prefix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
aggregator/notifees/elrondNotifee.go
Outdated
// transaction, having the transaction's data field containing all the price changes information | ||
func (en *elrondNotifee) PriceChanged(ctx context.Context, priceChanges []*aggregator.ArgsPriceChanged) error { | ||
func (en *multiversXNotifee) PriceChanged(ctx context.Context, priceChanges []*aggregator.ArgsPriceChanged) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps mxNotifee
as it is shorter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -27,8 +27,8 @@ var ( | |||
keyGen = signing.NewKeyGenerator(suite) | |||
) | |||
|
|||
func createMockArgsElrondNotifee() ArgsElrondNotifee { | |||
return ArgsElrondNotifee{ | |||
func createMockArgsMultiversXNotifee() ArgsMultiversXNotifee { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ArgsMxNotifee
, also the constructor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
blockchain/proxy.go
Outdated
// ArgsElrondProxy is the DTO used in the elrond proxy constructor | ||
type ArgsElrondProxy struct { | ||
// ArgsMultiversXProxy is the DTO used in the multiversx proxy constructor | ||
type ArgsMultiversXProxy struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove MultiversX ?
This file and the test file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
rebranding + mx-chain-go v1.4.4