paloma icon indicating copy to clipboard operation
paloma copied to clipboard

bug: Pigeon v0.3.2 processing error - gas fee error

Open verabehr opened this issue 3 years ago • 7 comments

What is happening?

Section description Provide as much context as you can. Provide relevant software versions, screenshots, copy & paste error messages and so on. Give as much context as you can to make it easier for the developers to figure what is happening.

running Pigeon v0.3.2 returns an error max fee per gas less than block base fee. Pigeon does not crash, but error keeps repeating after some time

This can be seen on machine 173.255.229.106

Jul 25 14:36:29 localhost pigeon[1796019]: *chirp chirp*
Jul 25 14:36:29 localhost pigeon[1796019]: time="2022-07-25T14:36:29Z" level=info msg="starting relayer"
Jul 25 14:37:30 localhost pigeon[1796019]: time="2022-07-25T14:37:30Z" level=info msg="relayer loop"
Jul 25 14:37:31 localhost pigeon[1796019]: time="2022-07-25T14:37:31Z" level=info msg="relaying messages" messages-to-relay="[24048 24049 24050 24051 24052 24053 24054 24055 24056 24057 24058 24059 24060 24061 24062 24063 24064 24065 24066 24067 24068 24069 24070 24071 24072 24073 24074 24075 24076 24077 24078 24079 24080 24081 24082 24083 24084 24085 24086 24087 24088 24089 24090 24091 24092 24093 24094 24095 24096 24097 24098 24099 24100 24101 24102 24103 24104 24105 24106 24107 24108 24109 24110 24111 24112 24113 24114 24115 24116 24117 24118 24119 24120 24121 24122 24123 24124 24125 24126 24127 24128 24129 24130 24131 24132 24133 24134 24135 24136 24137 24138 24139 24140 24141 24142 24143 24144 24145 24146 24147 24148 24149 24150 24151 24152 24153 24154 24155 24156 24157 24158 24159 24160 24161 24162 24163 24164 24165 24166 24167 24168 24169 24170 24171 24172 24173 24174 24175 24176 24177 24178 24179 24180 24181 24182 24183 24184 24185 24186 24187 24188 24189 24190 24191 24192 24193 24194 24195 24196 24197 24198 24199 24200 24201 24202 24203 24204 24205 24206 24207 24208 24209 24210 24211 24212 24213 24214 24215 24216 24217 24218 24219 24220 24221 24222 24223 24224 24225 24226 24227 24228 24229 24230 24231 24232 24233 24234 24235 24236 24237 24238 24239 24240 24241 24242 24243 24244 24245 24246 24247]" queue-name=EVM/eth-main/evm-turnstone-message
Jul 25 14:37:35 localhost pigeon[1796019]: time="2022-07-25T14:37:35Z" level=error msg="processing error" chain-reference-id=eth-main error="original error: err: max fee per gas less than block base fee: address 0x5b466c5a56EcaD0eeA2AeedE2F07B3E29433Dba4, maxFeePerGas: 12115770342 baseFee: 13071372389 (supplied gas 4137352)\nenriched fields:\nmessage id[uint64] = 0x5df0\nmessage type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc0000108b8)}\n" msg-id=24048 queue-name=EVM/eth-main/evm-turnstone-message
Jul 25 14:37:39 localhost pigeon[1796019]: time="2022-07-25T14:37:39Z" level=error msg="processing error" chain-reference-id=eth-main error="original error: err: max fee per gas less than block base fee: address 0x5b466c5a56EcaD0eeA2AeedE2F07B3E29433Dba4, maxFeePerGas: 12115770342 baseFee: 13071372389 (supplied gas 4137352)\nenriched fields:\nmessage id[uint64] = 0x5df1\nmessage type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc0000108c8)}\n" msg-id=24049 queue-name=EVM/eth-main/evm-turnstone-message
Jul 25 14:44:38 localhost pigeon[1796019]: time="2022-07-25T14:44:38Z" level=error msg="processing error" chain-reference-id=eth-main error="original error: err: max fee per gas less than block base fee: address 0x5b466c5a56EcaD0eeA2AeedE2F07B3E29433Dba4, maxFeePerGas: 8806119107 baseFee: 9511222590 (supplied gas 5688369)\nenriched fields:\nmessage id[uint64] = 0x5e4e\nmessage type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc000010e98)}\n" msg-id=24142 queue-name=EVM/eth-main/evm-turnstone-message
Jul 25 14:44:43 localhost pigeon[1796019]: time="2022-07-25T14:44:43Z" level=error msg="processing error" chain-reference-id=eth-main error="original error: err: max fee per gas less than block base fee: address 0x5b466c5a56EcaD0eeA2AeedE2F07B3E29433Dba4, maxFeePerGas: 8806119107 baseFee: 9815505147 (supplied gas 5688369)\nenriched fields:\nmessage id[uint64] = 0x5e4f\nmessage type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc000010ea8)}\n" msg-id=24143 queue-name=EVM/eth-main/evm-turnstone-message
Jul 25 14:44:47 localhost pigeon[1796019]: time="2022-07-25T14:44:47Z" level=error msg="processing error" chain-reference-id=eth-main error="original error: err: max fee per gas less than block base fee: address 0x5b466c5a56EcaD0eeA2AeedE2F07B3E29433Dba4, maxFeePerGas: 8806119107 baseFee: 9327962725 (supplied gas 5688369)\nenriched fields:\nmessage id[uint64] = 0x5e50\nmessage type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc000010eb8)}\n" msg-id=24144 queue-name=EVM/eth-main/evm-turnstone-message
Jul 25 14:44:53 localhost pigeon[1796019]: time="2022-07-25T14:44:53Z" level=error msg="processing error" chain-reference-id=eth-main error="original error: err: max fee per gas less than block base fee: address 0x5b466c5a56EcaD0eeA2AeedE2F07B3E29433Dba4, maxFeePerGas: 8806119107 baseFee: 9327962725 (supplied gas 5688369)\nenriched fields:\nmessage id[uint64] = 0x5e51\nmessage type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc000010ec8)}\n" msg-id=24145 queue-name=EVM/eth-main/evm-turnstone-message
Jul 25 14:44:57 localhost pigeon[1796019]: time="2022-07-25T14:44:57Z" level=error msg="processing error" chain-reference-id=eth-main error="original error: err: max fee per gas less than block base fee: address 0x5b466c5a56EcaD0eeA2AeedE2F07B3E29433Dba4, maxFeePerGas: 8806119107 baseFee: 9327962725 (supplied gas 5688369)\nenriched fields:\nmessage id[uint64] = 0x5e52\nmessage type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc000010ed8)}\n" msg-id=24146 queue-name=EVM/eth-main/evm-turnstone-message
Jul 25 14:45:01 localhost pigeon[1796019]: time="2022-07-25T14:45:01Z" level=error msg="processing error" chain-reference-id=eth-main error="original error: err: max fee per gas less than block base fee: address 0x5b466c5a56EcaD0eeA2AeedE2F07B3E29433Dba4, maxFeePerGas: 8806119107 baseFee: 9327962725 (supplied gas 5688369)\nenriched fields:\nmessage id[uint64] = 0x5e53\nmessage type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc000010ee8)}\n" msg-id=24147 queue-name=EVM/eth-main/evm-turnstone-message

How to reproduce?

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

upgrade from pigeon 0.3.1 to 0.3.2

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.

verabehr avatar Jul 25 '22 14:07 verabehr

Also confirmed that I am receiving this message after depositing to ETH address.

time="2022-07-26T09:26:29Z" level=error msg="processing error" chain-reference-id=eth-main error="original error: err: max fee per gas less than block base fee: address 0x7e24006Be85DbEf1d8BFBa862Cc9aF9F269D35aF, maxFeePerGas: 13521836473 baseFee: 13735084408 (supplied gas 3708222)\nenriched fields:\n
message id[uint64] = 0x5e53\n
message type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc0001f9150)}\n" 
msg-id=24147 queue-name=EVM/eth-main/evm-turnstone-message

taariq avatar Jul 26 '22 09:07 taariq

@taariq @verabehr I am not really familiar with this error. Could you try adding gas-adjustment: 1.2 which will increase the estimated gas by 20% to your config file?

Like this: Screenshot 2022-07-26 at 13 25 51

Vizualni avatar Jul 26 '22 11:07 Vizualni

I'm at gas-adjustment: 1.5 This seems higher.

taariq avatar Jul 26 '22 12:07 taariq

@taariq do you have 1.5 set for Paloma and for evm? I just added gas-adjustment: 1.2 per instructions to the evm section of my config.yaml file and it appears it solved the issue. I'll check on it again in a bit to be sure though

verabehr avatar Jul 26 '22 12:07 verabehr

confirming that I haven't seen the error since the config update

verabehr avatar Jul 26 '22 13:07 verabehr

Thanks again @verabehr. Updated my ETH to 1.2, but haven't seen the error before or after this adjustment.

taariq avatar Jul 26 '22 13:07 taariq

Error returned for me. Not for Taariq and also not for zenaida-0 (which is having no errors). Updated my gas adjustement to 1.5 and will monitor. Reopening for now.

verabehr avatar Jul 26 '22 19:07 verabehr

Closing as stale now that we've updated to pigeon 0.6.0

taariq avatar Aug 24 '22 23:08 taariq