Commit graph

8 commits

Author SHA1 Message Date
f4795cfb31 [#XX] Problem with estack
Unexpected "runtime error: invalid memory address or nil pointer
dereference" in TestContract_Add

Signed-off-by: Lebedeva Ekaterina <ekaterina.lebedeva@yadro.com>
2023-07-24 14:28:23 +03:00
caa0544ada [#XX] Added 'key rules' and key test
Removed unnecessary 'Hello world' contracts
Added required key size and prefix
Modified Put and Get contracts so that they take a key as a parameter
Added test for invalid key case
Modified existing tests

Signed-off-by: Lebedeva Ekaterina <ekaterina.lebedeva@yadro.com>
2023-07-18 13:10:32 +03:00
b6cdd15be1 [#XX] Added 'Get before Put' test
Also changed GetNumber() to check on nil interface

Signed-off-by: Lebedeva Ekaterina <ekaterina.lebedeva@yadro.com>
2023-07-17 19:10:40 +03:00
0c99f24850 [#XX] Added Put-Get contracts with test
Tried to implement PutNumber and GetNumber funcs based on contracts in frostfsid_contract.go
Added just one test for now, it's not failing

Signed-off-by: Lebedeva Ekaterina <ekaterina.lebedeva@yadro.com>
2023-07-17 12:31:09 +03:00
1a4da784a3 [#XX] Added test for GetNumber
Test is awesome, it passed
As a tutorial I used frostfsid_test.go

Signed-off-by: Lebedeva Ekaterina <ekaterina.lebedeva@yadro.com>
2023-07-13 16:25:43 +03:00
fa1b1efbb6 [#XX] Added GetNumber contract
It always returns 42.

Signed-off-by: Lebedeva Ekaterina <ekaterina.lebedeva@yadro.com>
2023-07-13 16:20:56 +03:00
099b1cb9f1 [#XX] Hello world contract
Created a contract to test neo-go contract init command.
It compiles just fine.

Signed-off-by: Lebedeva Ekaterina <ekaterina.lebedeva@yadro.com>
2023-07-12 17:39:46 +03:00
562dd4cb9f Initial commit 2023-07-07 09:30:30 +00:00