Skip to content

Instantly share code, notes, and snippets.

@kindaro
Created August 2, 2023 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kindaro/7b8957132c0f6ecc3950e66de4666af6 to your computer and use it in GitHub Desktop.
Save kindaro/7b8957132c0f6ecc3950e66de4666af6 to your computer and use it in GitHub Desktop.
% npm install
up to date, audited 220 packages in 1s
61 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
% npm run check
> inbox@1.0.0 check
> mocha *.test.js
This version of µWS is not compatible with your Node.js build:
Error: Cannot find module '../binaries/uws_linux_x64_115.node'
Require stack:
- /tmp/blockchain-examples/node_modules/ganache/node_modules/@trufflesuite/uws-js-unofficial/src/uws.js
- /tmp/blockchain-examples/node_modules/ganache/dist/node/core.js
- /tmp/blockchain-examples/checks.test.js
Falling back to a NodeJS implementation; performance may be degraded.
inbox
eth_accounts
eth_gasPrice
eth_blockNumber
eth_sendTransaction
Transaction: 0x91539d98024b500f327f9bcc4de87c3a54ae1b82d590b766426b57e3cd9db4d8
Contract created: 0xeaf2e0c4bb059e6b9ce355735c54981247bafd66
Gas usage: 454924
Block number: 1
Block time: Thu Aug 03 2023 01:35:23 GMT+0300 (GMT+03:00)
eth_getTransactionReceipt
eth_blockNumber
✔ gets compiled
eth_accounts
eth_gasPrice
eth_blockNumber
eth_sendTransaction
Transaction: 0x4b697da30ec1ac0a3b6379c4169de68014e80f250dc729f1e186c038eee46f13
Contract created: 0xa7db6ba5cfc475fdca078648300c02a8338da7eb
Gas usage: 454924
Block number: 2
Block time: Thu Aug 03 2023 01:35:23 GMT+0300 (GMT+03:00)
eth_getTransactionReceipt
eth_blockNumber
✔ gets an address
eth_accounts
eth_gasPrice
eth_blockNumber
eth_sendTransaction
Transaction: 0xa0945fb16c6a0e01e8a933bebd958c30f37d0dd4c7bac04e463b5df6e42f0255
Contract created: 0x5242e66c01494f45b56013e4c4efb1b1d2bac5af
Gas usage: 454924
Block number: 3
Block time: Thu Aug 03 2023 01:35:23 GMT+0300 (GMT+03:00)
eth_getTransactionReceipt
eth_blockNumber
eth_call
✔ has a message
eth_accounts
eth_gasPrice
eth_blockNumber
eth_sendTransaction
Transaction: 0xebc10fa120c5e4f095912f6a736dc6178a01109a74cbe718d18438cf7cfa020c
Contract created: 0x00653e1c427e2ba627a8146d9994d5dc46c8cda8
Gas usage: 454924
Block number: 4
Block time: Thu Aug 03 2023 01:35:23 GMT+0300 (GMT+03:00)
eth_getTransactionReceipt
eth_blockNumber
eth_gasPrice
eth_blockNumber
eth_sendTransaction
Transaction: 0xf23fffb2f175eb85d3e54891554fb2d808295bdc919726bc3e04c44164588653
Gas usage: 31437
Block number: 5
Block time: Thu Aug 03 2023 01:35:23 GMT+0300 (GMT+03:00)
eth_getTransactionReceipt
eth_blockNumber
eth_call
✔ can change the message (51ms)
4 passing (445ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment