eco-stake / restake

Auto-compounder script for Cosmos Validators using REStake
https://restake.app
MIT License
356 stars 307 forks source link

GenesisL1 autostake issues #772

Closed zenodeapp closed 6 months ago

zenodeapp commented 7 months ago

Hey,

So we've forked our source code to a different code base (from evmos to cronos). But I'm having a bit of difficulties getting autostaking to work again. For some reason I'm getting an enormous gas wanted value (possibly a max integer).

[20:47:47.353] Failed 50 messages: authz Exec message is disabled: invalid type [evmos/ethermint@v0.0.0-00010101000000-000000000000/app/ante/reject_msgs.go:27] With gas wanted: '18446744073709551615' and gas used: '6690' 
[20:47:47.925] genesis17ljslchxlj5s2uu3s3v7mypf3u6uat3axe7qpu Can autostake 257406666557409742 el1
[20:47:47.927] genesis1ag940t2gd4sn0wey7xgfjl83x2t5v62mvgdrnl Can autostake 380754029103371253190 el1
[20:47:47.927] genesis1llf63weea9zwqd0mnhrqn0nspr2tjvex8l8rdk 0 el1 reward is too low, skipping
[20:47:47.928] genesis1az557ezp4r3s4jv5ka7nmzrly34w9eztm4mzkk Can autostake 403384428451732346 el1
[20:47:47.935] genesis1lk9s8cjwn9532kht5g29zc35dyrd6mkmmwnu7u Can autostake 39089964865417306053 el1
[20:47:47.935] Sending batch 2
[20:47:48.532] Failed 23 messages: authz Exec message is disabled: invalid type [evmos/ethermint@v0.0.0-00010101000000-000000000000/app/ante/reject_msgs.go:27] With gas wanted: '18446744073709551615' and gas used: '13380' 
[20:47:48.532] Sent 0/2 transactions
[20:47:48.533] TX 1: Failed 50 messages: authz Exec message is disabled: invalid type [evmos/ethermint@v0.0.0-00010101000000-000000000000/app/ante/reject_msgs.go:27] With gas wanted: '18446744073709551615' and gas used: '6690' 
[20:47:48.533] TX 2: Failed 23 messages: authz Exec message is disabled: invalid type [evmos/ethermint@v0.0.0-00010101000000-000000000000/app/ante/reject_msgs.go:27] With gas wanted: '18446744073709551615' and gas used: '13380' 
zenodeapp commented 6 months ago

Okay I figured it out. We're on a version where authz messages are disabled in the mempool, see this PR: https://github.com/crypto-org-chain/cronos/pull/846 (for anyone who is interested in this particular case hehe!).