-
Notifications
You must be signed in to change notification settings - Fork 80
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
replace all .json to .artifact.ts #283
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -62,8 +65,7 @@ describe('Contract', () => { | |||
|
|||
it('should create new TransferWithTimeout instance', () => { | |||
const provider = new ElectrumNetworkProvider(Network.CHIPNET); | |||
const constructorArgs = [placeholder(65), placeholder(65), 1000000n]; | |||
const instance = new Contract(twtArtifact, constructorArgs, { provider }); | |||
const instance = new Contract(twtArtifact, [placeholder(65), placeholder(65), 1000000n], { provider }); |
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.
I just notice now that adding as const
will make the array as read-only, however passing it to Contract will error because it expect mutable array. I just inline it, or any other suggestion?
Thanks for the PR! Indeed However, after merging Kiok's branch into |
bd0767f
to
7466712
Compare
Thank you for this PR @PHCitizen! |
closes #271