Lesson 9: AssertionError: Unspecified AssertionError in fulfillRandomWords #4568
Replies: 6 comments
-
Hmm it should work but i guess if nothing in mind you can log |
Beta Was this translation helpful? Give feedback.
-
Thank You for your reply 🙂 I'll try it.
…On Wed, Jan 25, 2023, 12:56 AM Rajan lagah ***@***.***> wrote:
Hmm it should work but i guess if nothing in mind you can log endingTimeStamp
> startingTimeStamp and comment some of other asserts and see exactly
where the problem is.
—
Reply to this email directly, view it on GitHub
<#4568 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADSAF4BRXN5ODK6N6HNO4O3WUAJWXANCNFSM6AAAAAAUC3NY7E>
.
You are receiving this because you authored the thread.Message ID:
<smartcontractkit/full-blockchain-solidity-course-js/repo-discussions/4568/comments/4769338
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
@zubeirarhesta got the same error. so if you are facing issue for eg as you said
change it to
Seems like some issue with bigInt in JS in my case it was with
I hope this helps |
Beta Was this translation helpful? Give feedback.
-
Bro thanks for help me up. I am sorry for the long respond. Actually, can
you help with upgradeable contract using chugsplash?
Pada tanggal Min, 29 Jan 2023 pukul 00.20 Rajan lagah <
***@***.***> menulis:
… @zubeirarhesta <https://github.com/zubeirarhesta> got the same error. so
if you are facing issue for eg as you said
assert(endingTimeStamp > startingTimeStamp)
change it to
assert.isAbove(endingTimeStamp,startingTimeStamp)
Seems like some issue with bigInt in JS in my case it was with
assert.isAbove(winnerEndingBalance, winnerStartingBalance)
I hope this helps
—
Reply to this email directly, view it on GitHub
<#4568 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADSAF4DZGCCU35DFJGDL3ITWUVINXANCNFSM6AAAAAAUC3NY7E>
.
You are receiving this because you were mentioned.Message ID:
<smartcontractkit/full-blockchain-solidity-course-js/repo-discussions/4568/comments/4805061
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
@zubeirarhesta Sorry no idea about this |
Beta Was this translation helpful? Give feedback.
-
Thank you Never Mind
Pada tanggal Sen, 6 Feb 2023 pukul 13.22 lagahrajan <
***@***.***> menulis:
… @zubeirarhesta <https://github.com/zubeirarhesta> Sorry no idea about this
—
Reply to this email directly, view it on GitHub
<#4568 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADSAF4FEIZMUFKNUANDCZLTWWCKDXANCNFSM6AAAAAAUC3NY7E>
.
You are receiving this because you were mentioned.Message ID:
<smartcontractkit/full-blockchain-solidity-course-js/repo-discussions/4568/comments/4879044
@github.com>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys, I found similiar problem in #4479, but this different
Here is the error:

and here my test that failed:
and from the error message, the problem went to this specific line:
almost forgot and this is the getter function from Raffle.sol:
all the rest fo the tests are successful, only this one. Really hope for the answer. :)
I'm sorry for bad english and bad formatting.
Beta Was this translation helpful? Give feedback.
All reactions