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

[NayNay] Transfer updates + unit testing #140

Merged
merged 9 commits into from
Jul 3, 2024
Merged

Conversation

rh0delta
Copy link
Contributor

closes #124

@rh0delta rh0delta marked this pull request as ready for review June 27, 2024 20:46
@rh0delta rh0delta requested a review from frankiebee June 27, 2024 20:47
@rh0delta rh0delta linked an issue Jun 27, 2024 that may be closed by this pull request
tests/transfer.test.ts Outdated Show resolved Hide resolved
Co-authored-by: mix irving <[email protected]>
Copy link
Contributor

@mixmix mixmix left a 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:

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

@rh0delta
Copy link
Contributor Author

rh0delta commented Jul 2, 2024

@mixmix @frankiebee this is ready for re-review

@rh0delta rh0delta requested a review from mixmix July 2, 2024 17:24
Comment on lines 3 to +6
// @ts-ignore
import { spinNetworkUp, spinNetworkDown, } from "@entropyxyz/sdk/testing"
// @ts-ignore
import Keyring from '@entropyxyz/sdk/keys'
Copy link
Contributor

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?

Copy link
Contributor

@frankiebee frankiebee left a 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 } {
Copy link
Contributor

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

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

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

@mixmix
Copy link
Contributor

mixmix commented Jul 3, 2024

Great work @rh0delta
I'm gonna merge, and I've opened an issue for SDK types importing problems

@mixmix mixmix merged commit a9b4b0b into dev Jul 3, 2024
1 check passed
@mixmix mixmix deleted the naynay/transfer-testing branch July 3, 2024 02:35
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.

[test] transfer
3 participants