Giter Club home page Giter Club logo

Comments (3)

brewmaster012 avatar brewmaster012 commented on August 28, 2024

After increasing gas limit to 300k, it went through:

$ curl localhost:26657/tx?hash=0x0FB7AE4A4667B6662214C53EDD90134916E8E73AA8BA053FCD66F4D5B0538FC7
{
  "jsonrpc": "2.0",
  "id": -1,
  "result": {
    "hash": "0FB7AE4A4667B6662214C53EDD90134916E8E73AA8BA053FCD66F4D5B0538FC7",
    "height": "428941",
    "index": 38,
    "tx_result": {
      "code": 0,
      "data": "ChUKE1JlY2VpdmVDb25maXJtYXRpb24=",
      "log": "[{\"events\":[{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"ReceiveConfirmation\"}]}]}]",
      "info": "",
      "gas_wanted": "300000000",
      "gas_used": "200040330",
      "events": [
        {
          "type": "message",
          "attributes": [
            {
              "key": "YWN0aW9u",
              "value": "UmVjZWl2ZUNvbmZpcm1hdGlvbg==",
              "index": true
            }
          ]
        }
      ],
      "codespace": ""
    },
    "tx": "CpECCo4CCjMvemV0YWNoYWluLnpldGFjb3JlLnpldGFjb3JlLk1zZ1JlY2VpdmVDb25maXJtYXRpb24S1gEKK3pldGExOHVjYTZzdGplamRhc2dmc2Y3bjB1emQ1czNnbWRyc2o2YzVrYzMSQjB4ZjlkYmE4MDMwODNkYjA2ZGUxZjQ3YzRlYTc1NjczZWY4MGI1MmEzNWI1MjUzYTg2MDc5N2NkNjcxYzc4MDBjYRpCMHhkYzNkYzE5Nzg1NDI4M2Y1MzQ0NzI3MTA5ZWUzOGE5NGM4ODk3M2E1M2I5Y2Y3Y2YwOTk3OWM0ZGIxY2RkNjljIOmV+gIqEzEwMDAwMDAwMDAwMDAwMDAwMDAwAToDRVRIElwKUgpGCh8vY29zbW9zLmNyeXB0by5zZWNwMjU2azEuUHViS2V5EiMKIQPm7qMFXNCHrGP+JElWMYeIJ2BQB1JHPO+sRYjocYRBZRIECgIIARiEtjkSBhCAxoaPARpAQU4HDxdIR8P9stSnfarKPR7fFbeKbN1IXw3E6feJkfZM+DzdhJ1R8MpUeECg/MA1v80Snq4TFMbomjukfRyPQA=="
  }

from node.

brewmaster012 avatar brewmaster012 commented on August 28, 2024

The same confirmation on another node uses much less gas:

$ curl localhost:26657/tx?hash=0x150B7C22DAA8C81068485E013B57A8A017366C5B0D3493689118A568E673FBC5
{
  "jsonrpc": "2.0",
  "id": -1,
  "result": {
    "hash": "150B7C22DAA8C81068485E013B57A8A017366C5B0D3493689118A568E673FBC5",
    "height": "428941",
    "index": 39,
    "tx_result": {
      "code": 0,
      "data": "ChUKE1JlY2VpdmVDb25maXJtYXRpb24=",
      "log": "[{\"events\":[{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"ReceiveConfirmation\"}]}]}]",
      "info": "",
      "gas_wanted": "200000000",
      "gas_used": "74206",
      "events": [
        {
          "type": "message",
          "attributes": [
            {
              "key": "YWN0aW9u",
              "value": "UmVjZWl2ZUNvbmZpcm1hdGlvbg==",
              "index": true
            }
          ]
        }
      ],
      "codespace": ""
    },
    "tx": "CpECCo4CCjMvemV0YWNoYWluLnpldGFjb3JlLnpldGFjb3JlLk1zZ1JlY2VpdmVDb25maXJtYXRpb24S1gEKK3pldGExZ3Y1OGN4OXh4OHBlNGp4NG5mbDJkNTY2ZWhtMHF3eDVrYzRwdTMSQjB4ZjlkYmE4MDMwODNkYjA2ZGUxZjQ3YzRlYTc1NjczZWY4MGI1MmEzNWI1MjUzYTg2MDc5N2NkNjcxYzc4MDBjYRpCMHhkYzNkYzE5Nzg1NDI4M2Y1MzQ0NzI3MTA5ZWUzOGE5NGM4ODk3M2E1M2I5Y2Y3Y2YwOTk3OWM0ZGIxY2RkNjljIOmV+gIqEzEwMDAwMDAwMDAwMDAwMDAwMDAwAToDRVRIElsKUgpGCh8vY29zbW9zLmNyeXB0by5zZWNwMjU2azEuUHViS2V5EiMKIQP/npSHWomrf5UBbUwLCXFr/CAN5NlP+mhaoVauMkHjBBIECgIIARia8DgSBRCAhK9fGkAIYhkAvK2+JFcTjb2EaJlYCdRbfNehdZG1iW+a8juLjFPu07pvPmLl0bJd3+ybjmaIT5kq0nu0tc41nG/yHEua"
  }

from node.

brewmaster012 avatar brewmaster012 commented on August 28, 2024

closed by #76

from node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.