秋田预测市场 · Discord 审计

新Relayer合约Gas Limit降低导致大额操作失败

2026-07-15 · Polymarket · 14 条相关讨论

Aemond Targaryen 2026-07-14 21:03:53

FYI the changelog doesn't specify the new (lower) gas limit for merges, converts, and redeems for the new relayer. I'm doing a binary search: - Converts are somewhere between `4_000_000` and `8_000_000` - Merges TBD, never faced a gas / `transaction would revert` issue - Redeems seems to be more tolerant, in the range of 48 to 64 Million

FYI the changelog doesn't specify the new (lower) gas limit for merges, converts, and redeems for the new relayer. I'm doing a binary search: - Converts are somewhere between `4_000_000` and `8_000_000` - Merges TBD, never faced a gas / `transaction would revert` issue - Redeems seems to be more tolerant, in the range of 48 to 64 Million

suhail 2026-07-14 21:06:47

i can add it! btw, i don't think the gas limit should be an issue or a blocker. but if it is, lmk and we can bump it

i can add it! btw, i don't think the gas limit should be an issue or a blocker. but if it is, lmk and we can bump it

Aemond Targaryen 2026-07-14 21:08:36

It's blocking when redeeming big batches of positions (hundreds), which I do daily It also blocks on large converts, like `nba-2027-champion` where there are 32 legs

It's blocking when redeeming big batches of positions (hundreds), which I do daily It also blocks on large converts, like `nba-2027-champion` where there are 32 legs

Aemond Targaryen 2026-07-14 21:09:17

The workaround is to convert a single (or a few) legs, and then merge the residual yes shares into the outstanding no shares that couldn't be converted. On the redeem front, need to chunk redeems into smaller batches

The workaround is to convert a single (or a few) legs, and then merge the residual yes shares into the outstanding no shares that couldn't be converted. On the redeem front, need to chunk redeems into smaller batches

Votobias 2026-07-14 21:46:16

+1, I've hit the limit several times when converting positions in events with many legs, so bumping the gas limit would definitely be helpful.

+1, I've hit the limit several times when converting positions in events with many legs, so bumping the gas limit would definitely be helpful.

Aemond Targaryen 2026-07-14 21:47:11

Paradoxically, bumping the gas limit would actually reduce gas consumption because small convert -> tons of merges uses more gas than one big convert

Paradoxically, bumping the gas limit would actually reduce gas consumption because small convert -> tons of merges uses more gas than one big convert

OMGittsBIGT 2026-07-14 21:51:42

Also cant convert shares currently. Merging is hit or miss. Redeems are the same. Some days its good, some days i cant. Yesterday I continuously got signed out and couldn't sign back in. Pretty hard to trust a website with a large amount of funds and my time when nothing works.

Also cant convert shares currently. Merging is hit or miss. Redeems are the same. Some days its good, some days i cant. Yesterday I continuously got signed out and couldn't sign back in. Pretty hard to trust a website with a large amount of funds and my time when nothing works.

Aemond Targaryen 2026-07-14 21:53:07

I flipped over to the new one and immediately noticed that the gas limits were smaller

I flipped over to the new one and immediately noticed that the gas limits were smaller

suhail 2026-07-14 21:53:56

you should be eligible for rebates though

you should be eligible for rebates though

elucidate 2026-07-14 21:54:36

like every day?

like every day?

OMGittsBIGT 2026-07-14 21:55:28

I have no clue. I use the UI to convert and merge. Could never get any of my automation to do it.

I have no clue. I use the UI to convert and merge. Could never get any of my automation to do it.

suhail 2026-07-14 21:57:46

just check which contract you're sending the request to - most probably you're using the legacy ones. the new ones should work just fine

just check which contract you're sending the request to - most probably you're using the legacy ones. the new ones should work just fine

OMGittsBIGT 2026-07-14 21:58:27

Yesterday it was basically impossible for me to use the site because of the sign out issue. Others were reporting it as well. was happening on both my desktop and laptop

Yesterday it was basically impossible for me to use the site because of the sign out issue. Others were reporting it as well. was happening on both my desktop and laptop

OMGittsBIGT 2026-07-14 21:59:52

Im clicking the convert and merge in the UI like everyone else. Idc about automating that, I just want it to work. I have no desire to build any further beyond what I have on this platform.

Im clicking the convert and merge in the UI like everyone else. Idc about automating that, I just want it to work. I have no desire to build any further beyond what I have on this platform.