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

fix: broadcast error logging #33

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

echel0n-HX
Copy link

@echel0n-HX echel0n-HX commented Oct 4, 2023

fix #27

[INFO][Fri, 29 Sep 2023 05:22:43 GMT] [VOTE] Requesting on chain data
[INFO][Fri, 29 Sep 2023 05:22:44 GMT] [VOTE] Requesting prices from price server http://oracle-price-server:8532/latest
[INFO][Fri, 29 Sep 2023 05:22:44 GMT] [VOTE] Create transaction and sign
[INFO][Fri, 29 Sep 2023 05:22:44 GMT] [PREVOTE] msg: ["{\"@type\":\xxxxxxx


[ERROR][Fri, 29 Sep 2023 05:22:44 GMT] Error: Not supported for the network
    at MsgAggregateExchangeRatePrevote.toData (/app/node_modules/@terra-money/terra.js/src/core/oracle/msgs/MsgAggregateExchangeRatePrevote.ts:71:13)
    at /app/node_modules/@terra-money/terra.js/src/core/Tx.ts:185:42
    at Array.map (<anonymous>)
    at TxBody.toData (/app/node_modules/@terra-money/terra.js/src/core/Tx.ts:185:31)
    at Tx.toData (/app/node_modules/@terra-money/terra.js/src/core/Tx.ts:59:23)
    at /app/src/vote.ts:212:56
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async processVote (/app/src/vote.ts:211:15)
    at async vote (/app/src/vote.ts:333:5)

@echel0n-HX echel0n-HX changed the title fix: MsgAggregateExchangeRatePrevote error fix: broadcast error logging Oct 4, 2023
@nghuyenthevinh2000 nghuyenthevinh2000 merged commit c8321c7 into main Oct 4, 2023
4 checks passed
@inon-man inon-man deleted the fix/MsgAggregateExchangeRatePrevote-error branch October 5, 2023 07:44
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

Successfully merging this pull request may close these issues.

not supported for network
2 participants