Skip to content

Merge upstream v0.8.1 - #14

Merged
littlehand26 merged 3 commits into
mainfrom
merge-v0.8.1
Oct 8, 2026
Merged

littlehand26 merged 3 commits into
mainfrom
merge-v0.8.1

Conversation

@littlehand26

@littlehand26 littlehand26 commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Merge upstream circlefin/arc-node v0.8.1 into main.

v0.8.1 contains one change, circlefin/arc-node#486: the PQ (SLH-DSA-SHA2-128s) precompile now charges base gas and message gas before copying its three bytes arguments out of the input. In v0.8.0 a call with zero gas and calldata whose offsets alias one large array forced the full copy before running out of gas. Upstream adds a differential proptest against the old implementation, so gas used and outputs are unchanged; this is not a consensus change. The PQ precompile has no hardfork gate and is active on mainnet.

malachite stays at v0.8.0; upstream v0.8.1 still pins it.

Merge

  • git merge v0.8.1: no conflicts
  • Cargo.lock: upstream adds proptest to arc-pq-precompile dev-dependencies (one line)
  • Fork patches are unchanged. None of them touch the PQ precompile.

Validation

  • cargo check --workspace --all-targets --locked: pass
  • cargo test -p arc-pq-precompile -p arc-precompiles --locked: pass (arc-pq-precompile 14/14 including the upstream differential test, arc-precompiles 68 passed, 1 ignored)
  • PR image build: pass (run 37717180605, public.ecr.aws/b2h7a5c4/chaintable/arc-node:9a4fe718 and arc-consensus:9a4fe718, amd64 + arm64)
  • lihe-dev sync test from a production snapshot (block hash and trace_debankBlock against production): pending, report will be committed to this branch at docs/debank/merge-v0.8.1.md

romac and others added 3 commits October 7, 2026 08:24
Closes: #487

## Summary

Charge the base gas and the message gas before the PQ precompile copies
its three `bytes` arguments out of the input. The work that a call does
is then limited by the gas that it pays.

Co-authored-by: Zhiyu Zhang <[email protected]>
Co-authored-by: Milap Sheth <[email protected]>
Upstream v0.8.1 contains circlefin/arc-node#486 (pq-precompile: reserve base gas before decoding input). No conflicts.
@littlehand26
littlehand26 merged commit 830ad37 into main Oct 8, 2026
4 checks passed
@littlehand26
littlehand26 deleted the merge-v0.8.1 branch October 8, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants