Polygon shipped two hard forks before telling anyone what they fixed

แหล่งที่มา Cryptopolitan

Polygon Labs quietly released two hard forks that fixed a number of security issues in its proof-of-stake (POS) network.

The layer-2 network finally shared the details in a forum post. All node operators have to upgrade or they will be kicked out of the network consensus.

Austin fork stops nodes from sending the TxDependency field

The worst bug was in Heimdall, which is the software that coordinates Polygon validators.

Heimdall bundles the contents of each transaction inside a wrapper called, google.protobuf.Any, according to a forum post by Parvez03.

A wrapper can sit inside another, just like how boxes can be packed inside other boxes. However, in this analogy, there’s no cap on how many layers deep wrappers could go.

An attacker could create a single transaction stacked with those layers for almost no cost. This makes validators waste computing power to unpack it.

Polygon described the flaw as “a permissionless way to force costly, correlated work across the whole validator set.”

The Kyoto hard fork upgraded the Heimdall software to v0.11.0.

“Kyoto adds a byte-level pre-scan that rejects a transaction once its nesting passes a threshold, enforced identically at mempool admission (CheckTx) and on the consensus path (ProcessProposal),” the post said.

Polygon checks two times:

  • When a transaction arrives.
  • When validators build the block.

The second hard fork, named Austin, focused on Bor, Polygon’s execution client. It patched two denial-of-service paths.

One was state-sync events, the process that carries L1-to-L2 bridge deposits. Those events execute contract code and precompiles, just like a normal transaction would do. However, the amount of gas burned was not capped per block.

The Austin fork adds a hard per-block limit on state-sync gas.

Polygon never capped the size of the TxDependency field.

A validator could load it with huge data to crash every node that read the block. There’s nothing else about that block that looked wrong.

Austin removes the field from the wire format entirely.

Nested protobuf fields let one cheap transaction force work on every Polygon validator.
Source: Polygon Forum.

Kyoto fork activated at Heimdall height 51,533,000

Polygon said that nobody exploited the bugs on the mainnet and that it fixed them all before the forks went live.

The Austin fork was activated on mainnet at Bor block 91,949,700 and the Kyoto fork at Heimdall height 51,533,000.

Every node requires Bor v2.10.0. Validators and full nodes also require Heimdall version 0.11.0. Nodes running older software have already forked from the canonical chain.

The fixes are simple binary upgrades, with no state migration, genesis change, or full resyncs needed.

POL traded at $0.09, down about 9.3% over the past 24 hours. The token is in the green zone, up 25.8% over the last 30 days, according to CoinGecko.

In July, the Heimdall V2 mainnet went offline for about an hour, according to a past Cryptopolitan report.

The smartest crypto minds already read our newsletter. Want in? Join them.

ข้อจำกัดความรับผิดชอบ: เพื่อการอ้างอิงเท่านั้น ผลการดำเนินงานในอดีตไม่ได้บ่งบอกถึงผลลัพธ์ในอนาคต
placeholder
คาดการณ์ EURUSD: ปรับตัวขึ้นใกล้ 1.1600 แนวโน้มขาขึ้นยังคงอยู่เหนือ SMA 100 วันในช่วงเช้าของตลาดลงทุนยุโรปวันจันทร์ คู่ EURUSD เคลื่อนไหวในแดนบวกใกล้ 1.1590 อย่างไรก็ตาม ขาขึ้นของคู่สกุลเงินหลักอาจมีไม่มาก เนื่องจากเทรดเดอร์เพิ่มการเก็งการปรับขึ้นอัตราดอกเบี้ย หลังจากเควิน วอร์ช ประธานธนาคารกลางสหรัฐฯ (เฟด) แสดงความเห็นไปในทาง hawkish 
ผู้เขียน  FXStreet
10 ชั่วโมงที่แล้ว
ในช่วงเช้าของตลาดลงทุนยุโรปวันจันทร์ คู่ EURUSD เคลื่อนไหวในแดนบวกใกล้ 1.1590 อย่างไรก็ตาม ขาขึ้นของคู่สกุลเงินหลักอาจมีไม่มาก เนื่องจากเทรดเดอร์เพิ่มการเก็งการปรับขึ้นอัตราดอกเบี้ย หลังจากเควิน วอร์ช ประธานธนาคารกลางสหรัฐฯ (เฟด) แสดงความเห็นไปในทาง hawkish 
placeholder
แนวโน้มราคาน้ำมันดิบ: ความขัดแย้งระหว่างสหรัฐฯ-อิหร่านทวีความรุนแรงขึ้นอีกครั้ง น้ำมันดิบเบรนท์จะปรับตัวขึ้นต่อหรือไม่หลังจากทะลุระดับ 90 ดอลลาร์? สหรัฐฯ และอิหร่านยิงปะทะกันโดยตรงอีกครั้งหลังจากผ่านไปนานกว่าหนึ่งเดือน ส่งผลให้ความเสี่ยงด้านการขนส่งทางเรือในช่องแคบฮอร์มุซทวีความรุนแรงขึ้นอย่างรวดเร็ว และดันราคาน้ำมันดิบโลกกลับขึ้นไป
ผู้เขียน  TradingKey
12 ชั่วโมงที่แล้ว
สหรัฐฯ และอิหร่านยิงปะทะกันโดยตรงอีกครั้งหลังจากผ่านไปนานกว่าหนึ่งเดือน ส่งผลให้ความเสี่ยงด้านการขนส่งทางเรือในช่องแคบฮอร์มุซทวีความรุนแรงขึ้นอย่างรวดเร็ว และดันราคาน้ำมันดิบโลกกลับขึ้นไป
placeholder
ข่าวหุ้นวันนี้ สหรัฐโจมตี Larak ดันความเสี่ยง Hormuz หุ้นสหรัฐแผ่วหลังเดือนบวก ทองโดน Warsh กด ขณะ SET หลุด 1,590ทันทุกกระแสการเงิน สรุปข่าวเด่น Forex หุ้น ทองคำ คริปโตฯ และเศรษฐกิจรอบวัน วิเคราะห์แนวโน้มตลาดด้วยข้อมูลเชิงลึก อ่านง่าย เข้าใจไว อัปเดตล่าสุดที่นี่
ผู้เขียน  Mitrade
14 ชั่วโมงที่แล้ว
ทันทุกกระแสการเงิน สรุปข่าวเด่น Forex หุ้น ทองคำ คริปโตฯ และเศรษฐกิจรอบวัน วิเคราะห์แนวโน้มตลาดด้วยข้อมูลเชิงลึก อ่านง่าย เข้าใจไว อัปเดตล่าสุดที่นี่
placeholder
ทองคำร่วงลงแตะระดับต่ำสุดในรอบเกือบสองสัปดาห์ ขณะที่การเก็งว่าเฟดจะใช้นโยบายการเงินที่เข้มงวดเพิ่มขึ้น ท่ามกลางความวิตกเกี่ยวกับเงินเฟ้อที่ขับเคลื่อนโดยราคาน้ำมันทองคำ (XAUUSD) ดึงดูดแรงขายระลอกใหม่ หลังปรับตัวขึ้นระหว่างวันที่บริเวณ $4,472 และร่วงลงสู่ระดับต่ำสุดในรอบหนึ่งสัปดาห์ครึ่งในช่วงการซื้อขายตลาดเอเชียวันจันทร์.
ผู้เขียน  FXStreet
15 ชั่วโมงที่แล้ว
ทองคำ (XAUUSD) ดึงดูดแรงขายระลอกใหม่ หลังปรับตัวขึ้นระหว่างวันที่บริเวณ $4,472 และร่วงลงสู่ระดับต่ำสุดในรอบหนึ่งสัปดาห์ครึ่งในช่วงการซื้อขายตลาดเอเชียวันจันทร์.
placeholder
ทองคำเคลื่อนไหวลดลงต่ำกว่า $4,450 หลังความเห็นเชิงคุมเข้มของ Warsh เพิ่มการเก็งการขึ้นดอกเบี้ยของเฟดในช่วงเช้าของตลาดลงทุนเอเชียวันจันทร์ ราคาทองคำ (XAUUSD) ดึงดูดแรงขายใกล้ระดับ $4,445 โลหะมีค่าปรับตัวลดลงเล็กน้อย หลังจากเควิน วอร์ช ประธานธนาคารกลางสหรัฐฯ (เฟด) กล่าวสุนทรพจน์ที่มีเนื้อหาไปในทางเข้มงวดนโยบายอย่างน่าประหลาดใจในการประชุมสัมมนาเศรษฐกิจแจ็กสัน โฮล.
ผู้เขียน  FXStreet
18 ชั่วโมงที่แล้ว
ในช่วงเช้าของตลาดลงทุนเอเชียวันจันทร์ ราคาทองคำ (XAUUSD) ดึงดูดแรงขายใกล้ระดับ $4,445 โลหะมีค่าปรับตัวลดลงเล็กน้อย หลังจากเควิน วอร์ช ประธานธนาคารกลางสหรัฐฯ (เฟด) กล่าวสุนทรพจน์ที่มีเนื้อหาไปในทางเข้มงวดนโยบายอย่างน่าประหลาดใจในการประชุมสัมมนาเศรษฐกิจแจ็กสัน โฮล.
goTop
quote