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

Fix test for new AccountId20 type branch #975

Merged

Conversation

joelamouche
Copy link
Contributor

@joelamouche joelamouche commented Nov 9, 2021

What does it do?

  • update deps
  • get rid of dedupe in package-lock
  • fix test by removing .toLowerCase

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

What value does it bring to the blockchain users?

@joelamouche joelamouche changed the base branch from master to joshy-moonbeam-account November 9, 2021 15:11
@joelamouche
Copy link
Contributor Author

@JoshOrndorff pls review

@joelamouche joelamouche added A0-pleasereview Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low Does not elevate a release containing this beyond "low priority". labels Nov 9, 2021
@@ -92,7 +92,7 @@ describeDevMoonbeam("Staking - Join Candidates", (context) => {
"new candidate should have been added"
);
expect((candidatesAfter.toJSON() as { owner: string; amount: string }[])[1].owner).to.equal(
ETHAN.toLowerCase(),
ETHAN,
Copy link

Choose a reason for hiding this comment

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

Cool. It works?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it did work locally

@joelamouche joelamouche merged commit 5644454 into joshy-moonbeam-account Nov 9, 2021
@joelamouche joelamouche deleted the joshy-moonbeam-account-jlm-test-fix branch November 9, 2021 17:54
JoshOrndorff added a commit that referenced this pull request Nov 23, 2021
* initial draft installed in moonbase

* fix cli-opt

* comment about better Display impl

* `Copy`, `FromStr`, and make it build

* rename to AccountId20

* Same FromStr error as AccountId32

* more comment ideas

* Do Moonriver and Moonbeam runtimes

* simplify asset_id_to_account

* start on moonbase tests

* moonbase tests pass

* river and beam

* proper blanket impl

* Be generic over the destination type too 🤷

I'll let @nanocryk tell me how generic it is really appropriate to be here.

* fix account tests

* Fix tests

* update @PolkaDot dependencies in types bundle

* update @PolkaDot dependencies in tests

* update @PolkaDot dependencies in tools

* unused imports

* update deps and fix tests (#975)

* Joshy moonbeam account : remove toLowercase (#977)

* remove tolowercase

* wip fixing tests

* fix tests

* finish fixing tests

* remove todos

* remove more todos

* update package-lock

* Fix recently-merged integration tests

* fix crossed dependencies in runtime-common

* fix package-lock

* downgrade polkadot/types because its broken

* update deps

* update deps

* Joshy moonbeam account downgrade attempt (#1019)

* tried downgrading

* update types

Co-authored-by: gorka <gorka.irazoki@gmail.com>
Co-authored-by: Antoine Estienne <antoine@purestake.com>
Co-authored-by: estienne.antoine@gmail.com <estienne.antoine@gmail.com>
notlesh pushed a commit that referenced this pull request Nov 24, 2021
* initial draft installed in moonbase

* fix cli-opt

* comment about better Display impl

* `Copy`, `FromStr`, and make it build

* rename to AccountId20

* Same FromStr error as AccountId32

* more comment ideas

* Do Moonriver and Moonbeam runtimes

* simplify asset_id_to_account

* start on moonbase tests

* moonbase tests pass

* river and beam

* proper blanket impl

* Be generic over the destination type too 🤷

I'll let @nanocryk tell me how generic it is really appropriate to be here.

* fix account tests

* Fix tests

* update @PolkaDot dependencies in types bundle

* update @PolkaDot dependencies in tests

* update @PolkaDot dependencies in tools

* unused imports

* update deps and fix tests (#975)

* Joshy moonbeam account : remove toLowercase (#977)

* remove tolowercase

* wip fixing tests

* fix tests

* finish fixing tests

* remove todos

* remove more todos

* update package-lock

* Fix recently-merged integration tests

* fix crossed dependencies in runtime-common

* fix package-lock

* downgrade polkadot/types because its broken

* update deps

* update deps

* Joshy moonbeam account downgrade attempt (#1019)

* tried downgrading

* update types

Co-authored-by: gorka <gorka.irazoki@gmail.com>
Co-authored-by: Antoine Estienne <antoine@purestake.com>
Co-authored-by: estienne.antoine@gmail.com <estienne.antoine@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-pleasereview Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low Does not elevate a release containing this beyond "low priority".
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants