Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
c# translation
Because of the suggestions below, here is the translation which should upgrade this kata to the newest version and remove restrictions of the older versions: https://www.codewars.com/kumite/6308dcade5ae64004ac017b6?sel=6308dcade5ae64004ac017b6
Really needs to be able to use a much newer compiler. That being said, I got major dopamine release when I solved it.
The
buyItem
tests are broken. The code related to checking the owner's balance fails (it seemsweb3.eth.getBalance(owner)
is the culprit) and leads to the following error message:I have commented it out to make the kata completable but either this test should be fixed (unless this is actually a problem with the platform which only the admins might be able to deal with), or the requirement about transfering the money should be removed.