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

Update system tests to the new version of tbtc-v2.ts #739

Merged
merged 24 commits into from
Nov 15, 2023

Conversation

tomaszslabon
Copy link
Contributor

@tomaszslabon tomaszslabon commented Nov 7, 2023

#Refs: #716.
This PR updates the version of tbtc-v2.ts used for system tests.

@tomaszslabon tomaszslabon self-assigned this Nov 7, 2023
@tomaszslabon tomaszslabon added the 🔌 typescript TypeScript library label Nov 7, 2023
@tomaszslabon tomaszslabon force-pushed the system-test-update branch 2 times, most recently from 05e511c to 664b448 Compare November 8, 2023 13:13
Copy link
Member

@lukasz-zimnoch lukasz-zimnoch left a comment

Choose a reason for hiding this comment

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

One of the goals of this migration is testing the new API of the SDK v2. I'm afraid we are not making that with the presented changes. We are just using renamed components but keeping the old way of doing things. Left some comments that explain the intended direction:

system-tests/test/minting-unminting.test.ts Outdated Show resolved Hide resolved
system-tests/test/minting-unminting.test.ts Outdated Show resolved Hide resolved
system-tests/test/deposit-redemption.test.ts Outdated Show resolved Hide resolved
system-tests/test/deposit-redemption.test.ts Outdated Show resolved Hide resolved
system-tests/test/minting-unminting.test.ts Outdated Show resolved Hide resolved
@@ -18,7 +18,7 @@
"test/**/*"
],
"dependencies": {
"@keep-network/tbtc-v2.ts": "2.0.0-dev.0",
"@keep-network/tbtc-v2.ts": "^2.2.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change to ^2.3.0 once 2.3.0 is available.

@tomaszslabon tomaszslabon marked this pull request as ready for review November 14, 2023 09:33
Copy link
Member

@lukasz-zimnoch lukasz-zimnoch left a comment

Choose a reason for hiding this comment

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

Last batch of comments:

system-tests/test/deposit-redemption.test.ts Outdated Show resolved Hide resolved
system-tests/test/deposit-redemption.test.ts Outdated Show resolved Hide resolved
system-tests/test/deposit-redemption.test.ts Outdated Show resolved Hide resolved
system-tests/test/deposit-redemption.test.ts Outdated Show resolved Hide resolved
system-tests/test/deposit-redemption.test.ts Outdated Show resolved Hide resolved
system-tests/test/deposit-redemption.test.ts Outdated Show resolved Hide resolved
system-tests/test/deposit-redemption.test.ts Outdated Show resolved Hide resolved
system-tests/test/deposit-redemption.test.ts Outdated Show resolved Hide resolved
system-tests/test/deposit-redemption.test.ts Outdated Show resolved Hide resolved
system-tests/test/minting-unminting.test.ts Show resolved Hide resolved
lukasz-zimnoch
lukasz-zimnoch previously approved these changes Nov 14, 2023
Copy link
Member

@lukasz-zimnoch lukasz-zimnoch left a comment

Choose a reason for hiding this comment

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

LGTM! Holding off with merge until @keep-network/tbtc-v2.ts is pinned to ^2.3.0

@lukasz-zimnoch lukasz-zimnoch merged commit 465bfea into main Nov 15, 2023
38 checks passed
@lukasz-zimnoch lukasz-zimnoch deleted the system-test-update branch November 15, 2023 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔌 typescript TypeScript library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants