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 build issue | refactor encoder types #1515

Merged
merged 1 commit into from
May 18, 2022

Conversation

subhod-i
Copy link
Collaborator

No description provided.

Copy link
Member

@davidyuk davidyuk left a comment

Choose a reason for hiding this comment

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

In general, I'm ok to drop the second parameter of decode

src/utils/crypto.ts Show resolved Hide resolved
src/account/multiple.ts Outdated Show resolved Hide resolved
@lgtm-com
Copy link

lgtm-com bot commented May 17, 2022

This pull request introduces 15 alerts when merging 8598e7a into c20b373 - view on LGTM.com

new alerts:

  • 15 for Superfluous trailing arguments

@lgtm-com
Copy link

lgtm-com bot commented May 17, 2022

This pull request introduces 15 alerts when merging 50228ec into c20b373 - view on LGTM.com

new alerts:

  • 15 for Superfluous trailing arguments

@lgtm-com
Copy link

lgtm-com bot commented May 17, 2022

This pull request introduces 15 alerts when merging 1f112f4 into c20b373 - view on LGTM.com

new alerts:

  • 15 for Superfluous trailing arguments

Copy link
Member

@davidyuk davidyuk left a comment

Choose a reason for hiding this comment

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

Additionally, I've removed unused PrefixMismatchError

@lgtm-com
Copy link

lgtm-com bot commented May 17, 2022

This pull request introduces 15 alerts when merging 016d2b8 into 18d907b - view on LGTM.com

new alerts:

  • 15 for Superfluous trailing arguments

@davidyuk
Copy link
Member

👆 this is the first time lgtm find something useful, the second argument should be removed there as well, but we shouldn't forget prefixes while converting to TS

BREAKING CHANGE: since the prefix is evaluated by the type
itself the required prefix parameter is no more required.

rewrite
```js
decode('cb_DA6sWJo=', 'cb')
```
to
```js
decode('cb_DA6sWJo=')
```
@lgtm-com
Copy link

lgtm-com bot commented May 18, 2022

This pull request introduces 13 alerts when merging dec13d7 into 307557e - view on LGTM.com

new alerts:

  • 13 for Superfluous trailing arguments

@subhod-i subhod-i merged commit d42c90d into aeternity:develop May 18, 2022
@subhod-i subhod-i deleted the feature/account-ts branch May 18, 2022 12:24
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.

2 participants