sCrypt-Inc / boilerplate

sCrypt project boilerplate
326 stars 87 forks source link

Create counterFromTx.test.ts #310

Closed yusufidimaina9989 closed 9 months ago

msinkec commented 12 months ago

@yusufidimaina9989 Use ‘Counter.fromTx()‘ to load contract after each iteration. Also do multiple iterations of the counter.

I also noticed you aren't using Mochas test structure.

Also, you don't require contract id here.

msinkec commented 12 months ago

Just deploy from the test itself.