SHARE
TWEET

Untitled

a guest Jul 19th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. truffle test
  2. Using network 'development'.
  3.  
  4.  
  5. Compiling your contracts...
  6. ===========================
  7. > Everything is up to date, there is nothing to compile.
  8.  
  9.  
  10.  
  11.   Contract: CryptoMonsters
  12.     createMonster
  13.       √ Only sender can create monsters (48ms)
  14.       √ Check if the attackPower is set correctly (76ms)
  15.       √ Check if the monster is created (433ms)
  16. [
  17.   {
  18.     logIndex: 0,
  19.     transactionIndex: 0,
  20.     transactionHash: '0xc1872cd78991b463b3d11a4a9765e286230ba8873e8882f4912adb5fada7d521',
  21.     blockHash: '0xde852244cbb011838845d8aa335eafb5b22c6575970878ef3a4150a9c7642a1f',
  22.     blockNumber: 162,
  23.     address: '0x476E54fa9e216a730a80BD484D26045C0d203238',
  24.     type: 'mined',
  25.     id: 'log_a3fc8ece',
  26.     event: 'Transfer',
  27.     args: Result {
  28.       '0': '0x0000000000000000000000000000000000000000',
  29.       '1': '0x9cb1CfEFe3eEc69f009304DC2F6295dCB97FF89e',
  30.       '2': [BN],
  31.       __length__: 3,
  32.       from: '0x0000000000000000000000000000000000000000',
  33.       to: '0x9cb1CfEFe3eEc69f009304DC2F6295dCB97FF89e',
  34.       tokenId: [BN]
  35.     }
  36.   },
  37.   {
  38.     logIndex: 1,
  39.     transactionIndex: 0,
  40.     transactionHash: '0xc1872cd78991b463b3d11a4a9765e286230ba8873e8882f4912adb5fada7d521',
  41.     blockHash: '0xde852244cbb011838845d8aa335eafb5b22c6575970878ef3a4150a9c7642a1f',
  42.     blockNumber: 162,
  43.     address: '0x476E54fa9e216a730a80BD484D26045C0d203238',
  44.     type: 'mined',
  45.     id: 'log_40dbd4ee',
  46.     event: 'MonsterCreated',
  47.     args: Result { '0': [BN], __length__: 1, _MonsterID: [BN] }
  48.   }
  49. ]
  50.       √ Check the win case (375ms)
  51.  
  52.  
  53.   4 passing (1s)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top