-
Notifications
You must be signed in to change notification settings - Fork 0
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
[NayNay] Transfer updates + unit testing #140
Conversation
Co-authored-by: mix irving <[email protected]>
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.
Great clear test, some nice refactoring, couple suggested tweaks.
The only one I want us all to agree on is:
- https://github.com/entropyxyz/cli/pull/140/files#r1661560792 - how flexy are our atomic functions (team decision, I'll discuss with Frankie when I catch up with her)
The other one about getKeyring
I'm happy to be flexible on, so long as you consider what I've said and thought about future cost of what you're changing
@mixmix @frankiebee this is ready for re-review |
// @ts-ignore | ||
import { spinNetworkUp, spinNetworkDown, } from "@entropyxyz/sdk/testing" | ||
// @ts-ignore | ||
import Keyring from '@entropyxyz/sdk/keys' |
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.
is their an an issue for this on sdk? this dosent look good. why?
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.
Looks good to me! but will wait for @mixmix to re-review.
import cliProgress from 'cli-progress' | ||
import colors from 'ansi-colors' | ||
|
||
export function setupProgress (label: string): { start: () => void; stop: () => void } { |
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.
😘
It's beautiful
@@ -0,0 +1,7 @@ | |||
// @ts-ignore | |||
import { Pair } from '@entropyxyz/sdk/keys' | |||
export interface TransferOptions { |
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.
😍
@@ -0,0 +1,82 @@ | |||
import test from 'tape' | |||
import { wasmGlobalsReady } from '@entropyxyz/sdk' | |||
// WIP: I'm seeing problems importing this? |
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.
Is it resolved in the SDK that is un-published yet I wonder
Great work @rh0delta |
closes #124