Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. > eth.getTransaction('0xdc9ccbc4ceb2bb2995936ec1499b5832fe20182c8aafdf1f03629b7c51ddbe14')
  2. {
  3. blockHash: "0xd424238083b52fac282897bd92489de5cca941e65b8540edb179fb6f5e3140d1",
  4. blockNumber: 36,
  5. from: "0x53f8adc81dd717ef85051d30512d976b67de9812",
  6. gas: 107369,
  7. gasPrice: 1000000000,
  8. hash: "0xdc9ccbc4ceb2bb2995936ec1499b5832fe20182c8aafdf1f03629b7c51ddbe14",
  9. input: "0x608060405234801561001057600080fd5b5060c68061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806360fe47b11460375780636d4ce63c146062575b600080fd5b606060048036036020811015604b57600080fd5b8101908080359060200190929190505050607e565b005b60686088565b6040518082815260200191505060405180910390f35b8060008190555050565b6000805490509056fea265627a7a723058200aa2dd1cde3ab552069d669da8d4bf38c4149ad3111141b4f2119e0cb129b5ae64736f6c63430005090032",
  10. nonce: 1,
  11. r: "0x384d96f64208198e4b0c33ff23a142033d23697e542603ba4ca30266a2de46dd",
  12. s: "0x7b8c9715bfe9d2d492814c116f087c2b45877b91370a1c26ec154ca8131f71b9",
  13. to: null,
  14. transactionIndex: 0,
  15. v: "0x41",
  16. value: 0
  17. }
  18.  
  19. > cnt = eth.contract(myContract.abi).at(myContract.address)
  20. {
  21. abi: [{
  22. constant: false,
  23. inputs: [{...}],
  24. name: "set",
  25. outputs: [],
  26. payable: false,
  27. stateMutability: "nonpayable",
  28. type: "function"
  29. }, {
  30. constant: true,
  31. inputs: [],
  32. name: "get",
  33. outputs: [{...}],
  34. payable: false,
  35. stateMutability: "view",
  36. type: "function"
  37. }],
  38. address: "0xd5aab8db7c2a650259e48c1e699e1f82bb3b922a",
  39. transactionHash: null,
  40. allEvents: function(),
  41. get: function(),
  42. set: function()
  43. }
  44. > cnt.set.sendTransaction(6,{from:eth.accounts[0]})
  45. Error: gas required exceeds allowance (3337487) or always failing transaction
  46. at web3.js:3143:20
  47. at web3.js:6347:15
  48. at web3.js:5081:36
  49. at web3.js:4137:16
  50. at <anonymous>:1:1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement