Skip to content
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

Merged
merged 18 commits into from
Jan 26, 2023
Merged

Rebranding #120

merged 18 commits into from
Jan 26, 2023

Conversation

raduchis
Copy link
Contributor

rebranding + mx-chain-go v1.4.4

@raduchis raduchis marked this pull request as ready for review January 26, 2023 11:11
@@ -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
Copy link
Contributor

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

Copy link
Contributor Author

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"
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

expirationTime time.Duration
httpClientWrapper httpClientWrapper
endpointProvider EndpointProvider
}

type elrondBaseProxy struct {
type multiversXBaseProxy struct {
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

// 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 {
Copy link
Contributor

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?

Copy link
Contributor Author

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 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ArgsMxNotifee, also the constructor?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

// 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 {
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@raduchis raduchis merged commit d26287d into main Jan 26, 2023
@raduchis raduchis deleted the rebranding branch January 26, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants