Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The denom in query oracle tx is aexo #269

Closed
4 tasks
cloud8little opened this issue Dec 16, 2024 · 2 comments
Closed
4 tasks

The denom in query oracle tx is aexo #269

cloud8little opened this issue Dec 16, 2024 · 2 comments
Assignees

Comments

@cloud8little
Copy link
Contributor

Summary of Bug

exocored q tx 12369997921ca9336aa44a97738b11a530dd54514931084a94802674f4b99961 --node http://localhost:20000

Version

exocore v1.0.9

Steps to Reproduce

{
  "height": "9717640",
  "txhash": "12369997921CA9336AA44A97738B11A530DD54514931084A94802674F4B99961",
  "codespace": "oracle",
  "code": 3,
  "data": "",
  "raw_log": "failed to execute message; message index: 0: price proposal ignored",
  "logs": [],
  "info": "",
  "gas_wanted": "0",
  "gas_used": "8596",
  "tx": {
    "@type": "/cosmos.tx.v1beta1.Tx",
    "body": {
      "messages": [
        {
          "@type": "/exocore.oracle.v1.MsgCreatePrice",
          "creator": "exo10z0847kehpxmqnmumzulm05afvrt5g2udcg89h",
          "feeder_id": "1",
          "prices": [
            {
              "source_id": "1",
              "prices": [
                {
                  "price": "392017850000",
                  "decimal": 8,
                  "timestamp": "2024-12-14 02:21:47",
                  "det_id": "129127208515966865082"
                }
              ],
              "desc": ""
            }
          ],
          "based_block": "9717638",
          "nonce": 2
        }
      ],
      "memo": "",
      "timeout_height": "0",
      "extension_options": [],
      "non_critical_extension_options": []
    },
    "auth_info": {
      "signer_infos": [
        {
          "public_key": {
            "@type": "/cosmos.crypto.ed25519.PubKey",
            "key": "AYWf7gveKW50faBXTgYhXkwIf13BiUAZ3pYbn7NzXIA="
          },
          "mode_info": {
            "single": {
              "mode": "SIGN_MODE_DIRECT"
            }
          },
          "sequence": "0"
        }
      ],
      "fee": {
        "amount": [
          {
            "denom": "aexo",
            "amount": "0"
          }
        ],
        "gas_limit": "0",
        "payer": "",
        "granter": ""
      },
      "tip": null
    },
    "signatures": [
      "O8jIoYAVdwYbMBPcSNCGPADIccsI0oMi64anyYvORlZNu1D8qCmZFPdBlWN9yNGbVfvskJKWxLvd3do6ANNFCQ=="
    ]
  },
  "timestamp": "2024-12-14T02:21:47Z",
  "events": []
}

Screenshots

Additional context


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@leonz789
Copy link
Contributor

imua-xyz/price-feeder@af8fbc4#diff-2f99483829f5c905c0aa20e9fa68fc9af1acbadb924b9361694938c06689b44f

@cloud8little
Copy link
Contributor Author

cloud8little commented Jan 14, 2025

Fixed, verified in #275 and imua-xyz/price-feeder@b3670da

exocored q tx 64d81f455bbcfa4900ec5396629c5979777f01aac417f087fbdc68fcf473afa5 --node http://localhost:20000
code: 0
codespace: ""
data: 122B0A292F65786F636F72652E6F7261636C652E76312E4D73674372656174655072696365526573706F6E7365
events:
- attributes:
  - index: true
    key: action
    value: /exocore.oracle.v1.MsgCreatePrice
  - index: true
    key: sender
    value: exo1yy7t66juna3nqx3pv36hkjhttedzey34mn2pur
  - index: true
    key: module
    value: oracle
  type: message
- attributes:
  - index: true
    key: feeder_id
    value: "2"
  - index: true
    key: based_block
    value: "25"
  - index: true
    key: proposer
    value: exovalcons1yy7t66juna3nqx3pv36hkjhttedzey34putf4c
  type: create_price
gas_used: "8194"
gas_wanted: "0"
height: "26"
info: ""
logs:
- events:
  - attributes:
    - key: action
      value: /exocore.oracle.v1.MsgCreatePrice
    - key: sender
      value: exo1yy7t66juna3nqx3pv36hkjhttedzey34mn2pur
    - key: module
      value: oracle
    type: message
  - attributes:
    - key: feeder_id
      value: "2"
    - key: based_block
      value: "25"
    - key: proposer
      value: exovalcons1yy7t66juna3nqx3pv36hkjhttedzey34putf4c
    type: create_price
  log: ""
  msg_index: 0
raw_log: '[{"msg_index":0,"events":[{"type":"message","attributes":[{"key":"action","value":"/exocore.oracle.v1.MsgCreatePrice"},{"key":"sender","value":"exo1yy7t66juna3nqx3pv36hkjhttedzey34mn2pur"},{"key":"module","value":"oracle"}]},{"type":"create_price","attributes":[{"key":"feeder_id","value":"2"},{"key":"based_block","value":"25"},{"key":"proposer","value":"exovalcons1yy7t66juna3nqx3pv36hkjhttedzey34putf4c"}]}]}]'
timestamp: "2025-01-14T09:33:45Z"
tx:
  '@type': /cosmos.tx.v1beta1.Tx
  auth_info:
    fee:
      amount:
      - amount: "0"
        denom: hua
      gas_limit: "0"
      granter: ""
      payer: ""
    signer_infos:
    - mode_info:
        single:
          mode: SIGN_MODE_DIRECT
      public_key:
        '@type': /cosmos.crypto.ed25519.PubKey
        key: mewAvaTA02A1p2iWo1CzCrM8Z/nPO1wLuGy6typJxUs=
      sequence: "0"
    tip: null
  body:
    extension_options: []
    memo: ""
    messages:
    - '@type': /exocore.oracle.v1.MsgCreatePrice
      based_block: "25"
      creator: exo1yy7t66juna3nqx3pv36hkjhttedzey34mn2pur
      feeder_id: "2"
      nonce: 1
      prices:
      - desc: ""
        prices:
        - decimal: 8
          det_id: "18446744073709556165"
          price: "384531862417"
          timestamp: "2025-01-14 09:33:45"
        source_id: "1"
    non_critical_extension_options: []
    timeout_height: "0"
  signatures:
  - /WK0SbHGspcEIOyY0gCQILwuwlTsodbUq2Ei3+Ewit0D3QWyp8m3XI1xmdkwQIC9s/L1vTc3DmqyFnB8gHBIAQ==
txhash: 64D81F455BBCFA4900EC5396629C5979777F01AAC417F087FBDC68FCF473AFA5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants