Zenigame pfp
Zenigame
@zeni.eth
Looking for some help debugging my completed contract that I can't get to pass. 1000 DEGEN tip for the first that can help me figure out what I'm doing wrong and get it to pass @bountybot link to spec and source code in the comments
7 replies
1 recast
7 reactions

floar.eth γƒ„πŸŽ©πŸ”΅βšͺ️  pfp
floar.eth γƒ„πŸŽ©πŸ”΅βšͺ️
@floar.eth
You are missing the voters in the IssueData you are returning. The unit test checks for: Assert.equal(issue.voters.length, 4) at some point
3 replies
0 recast
1 reaction

Zenigame pfp
Zenigame
@zeni.eth
Damn. This worked. How can you see what the unit test checks for? Thank you! 2000 $DEGEN (extra 1k cause I totally missed this and was getting frustrated)
1 reply
0 recast
1 reaction

floar.eth γƒ„πŸŽ©πŸ”΅βšͺ️  pfp
floar.eth γƒ„πŸŽ©πŸ”΅βšͺ️
@floar.eth
I ran the test function via the website myself, looked at the transaction and that led to the testing contract https://sepolia.basescan.org/address/0x4f333c49b820013e5e6fe86634dc4da88039ce50#code I then manually stepped through the tests defined there in remix to figure out where it was failing
1 reply
0 recast
0 reaction