-
Notifications
You must be signed in to change notification settings - Fork 1
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
Kl factory - deposit tests #190
Conversation
@@ -64,7 +64,12 @@ export class TestMaster { | |||
this.l2Provider.pollingInterval = 5000; | |||
} | |||
|
|||
this.mainWallet = new zksync.Wallet(suiteWalletPK, this.l2Provider, this.l1Provider); | |||
// TODO: suiteWalletPK should be the same as the mainWalletPK used in context-owner.ts, otherwise, account won't have funds to operate with. |
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.
Care to explain bit more about this comment?
Do we have an issue for 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.
Upon further inspecting how the testing works, it turns out that the individual wallet used for each test wasn't getting native erc20 funds needed, this is now done inside of distributeL1BaseToken()
.
Closes #172
What ❔
Add native/base token
deposit
tests.Why ❔
Verify correct functionality. To check,
cd
intots-integration
directory and run the following command:yarn test native-erc20.test.ts
(There are two
TODO
s that should be addressed before merging)Checklist
zk fmt
andzk lint
.