palomachain / paloma

The fast blockchain messenger protocol
Apache License 2.0
290 stars 135 forks source link

bug: gas-prices: 0.001ugrain and pigeon insufficient fee #1315

Open cosmoscats opened 2 weeks ago

cosmoscats commented 2 weeks ago

What is happening?

Section description Provide as much context as you can. Give as much context as you can to make it easier for the developers to figure what is happening.

when i make changes to config yaml and put recommended setting, i see erros gas-adjustment: 10 gas-prices: 0.001ugrain

Paloma and pigeon versions and logs

Section description Write down paloma version. Write down pigeon version. Copy and paste pigeon config file as well as relevant ENV variables.

palomad version v2.3.2 pigeon version App version: v2.3.3 Build commit hash: 5217eed063e90aeef15eff56f63f036b5663d34b

pigeon config

paloma: chain-id: tumbler call-timeout: 20s keyring-dir: /home/0/paloma/.paloma keyring-pass-env-name: PALOMA_KEYRING_PASS keyring-type: os validator-key: ${VALIDATOR} base-rpc-url: http://localhost:26657 gas-adjustment: 10 gas-prices: 0.001ugrain account-prefix: paloma signing-keys:

- cc

- cc1

- cc2

Pigeon logs:

Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=info msg="signing transaction" component=send-msgs key=cc x-correlation-id=csk98blj182iq5pr74bg Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=warning msg="Failed to broadcast TX." error="insufficient fee" sync-result="&{13 insufficient fees; got: 11114ugrain required: 111137ugrain: insufficient fee sdk CB9935762B5D4D50914B4C5515767772D46CD0705FA689AB0850D781E0AD87B2}" x-correlation-id=csk98blj182iq5pr74bg Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=error msg="failed to add message evidence" error="failed to broadcast tx: insufficient fee" height=21113359 nearest-to-time="2024-11-04 09:22:02.407167827 +0000 UTC" queue-type-name=evm/eth-main/validators-balances x-correlation-id=csk98blj182iq5pr74bg Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=error msg="error attesting messages" action=attest error="failed to broadcast tx: insufficient fee" message-ids="[364916]" messages-to-attest="[364916]" queue-name=evm/eth-main/validators-balances x-correlation-id=csk98blj182iq5pr74bg Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=info msg="signing transaction" component=send-msgs key=cc x-correlation-id=csk98blj182iq5pr74bg Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=warning msg="Failed to broadcast TX." error="insufficient fee" sync-result="&{13 insufficient fees; got: 325ugrain required: 3247ugrain: insufficient fee sdk 160EFD7783D26E863545EFAB8469DCE31CDD1B14BA1802DDBCD622E4B1BEF47C}" x-correlation-id=csk98blj182iq5pr74bg Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=error msg="failed to send Paloma status update" action=attest error="failed to broadcast tx: insufficient fee" message-ids="[364916]" messages-to-attest="[364916]" queue-name=evm/eth-main/validators-balances x-correlation-id=csk98blj182iq5pr74bg Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=info msg="attester loop" x-correlation-id=csk98mdj182iq5pr7910 Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=info msg="relayer loop" Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=info msg="signer loop" Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=info msg="estimator loop" Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=info msg="attesting 1 messages" action=attest message-ids="[364916]" messages-to-attest="[364916]" queue-name=evm/eth-main/validators-balances x-correlation-id=csk98mdj182iq5pr7910 Nov 04 09:31:05 server-31-24-56-54 pigeon[3267455]: time="2024-11-04T09:31:05Z" level=info msg="signer loop"

How to reproduce?

Section description Please write detailed steps of what you were doing for this bug to appear.

just make changes in config, then restart pigeon and show logs

What is the expected behaviour?

Section description If you know, please write down what is the expected behaviour. If you don't know, that's ok. We can have a discussion in comments.

node will go to jail after few minutes

cosmoscats commented 2 weeks ago

Jail reason reason: No evidence supplied for contentious message 364916

taariq commented 2 weeks ago

try gas-adjustment: 15 @cosmoscats

cosmoscats commented 2 weeks ago

try gas-adjustment: 15 @cosmoscats

i have increased it to 20.

still jailed

reason reason: validator's pigeon has been inactive