Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream #5

Open
wants to merge 204 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
7cc123e
chore: from_values takes ref
dvdplm Nov 29, 2023
37918cc
Revert "chore: from_values takes ref"
dvdplm Nov 30, 2023
e68195f
chore: Remove TODOs about `from_values` taking a reference
dvdplm Nov 30, 2023
a90aa40
Implement MPT preinitialization (#1406)
LindaGuiga Dec 7, 2023
170ce5f
Preinitialize all code segments (#1409)
hratoanina Dec 7, 2023
edfc86c
Remove is_keccak_sponge (#1410)
hratoanina Dec 7, 2023
7efd147
Use mstore_32bytes to optimize decode_int_given_len (#1413)
LindaGuiga Dec 7, 2023
43ecf1d
chore: fix some comment typos
AdventureSeeker987 Dec 8, 2023
56e8395
Merge pull request #1416 from AdventureSeeker987/main
muursh Dec 8, 2023
3195c20
Merge MSTORE_32BYTES and MLOAD_32BYTES columns (#1414)
hratoanina Dec 8, 2023
5607faf
Check that limbs after the length are 0 (#1419)
LindaGuiga Dec 8, 2023
bfcfcdb
Add `Checkpoint` heights (#1418)
Nashtare Dec 9, 2023
942e43a
typo fix
dzizazda Dec 10, 2023
724437d
typo fix
dzizazda Dec 10, 2023
00ed16f
minor typo fix
dzizazda Dec 10, 2023
4e4e61c
typo fix
dzizazda Dec 12, 2023
837434c
Fix a minor typo in evm/spec/cpulogic.tex
muursh Dec 12, 2023
51ff8c5
Merge pull request #1420 from dzizazda/main
muursh Dec 12, 2023
bc1a3c4
Merge `push` and `prover_input` flags (#1417)
LindaGuiga Dec 13, 2023
3e8ad08
Rebase to main
4l0n50 Dec 13, 2023
f76ab77
Refactor run_next_jumpdest_table_proof
4l0n50 Dec 13, 2023
746e134
Fix jumpdest analisys test
4l0n50 Dec 13, 2023
71dff6e
Constrain MSTORE_32BYTES new offset limbs (#1415)
hratoanina Dec 13, 2023
2c5347c
Apply suggestions from code review
4l0n50 Dec 15, 2023
fdd7ee4
fix: make `from_noncanonical_biguint` work for zero (#1427)
shuklaayush Dec 15, 2023
81f13f3
Eliminate nested simulations
4l0n50 Dec 15, 2023
ad8c2df
Remove U256::as_u8 in comment
4l0n50 Dec 15, 2023
5a0c1ad
Fix fmt
4l0n50 Dec 15, 2023
77f1cd3
Clippy
4l0n50 Dec 15, 2023
a64311c
Add aborting signal (#1429)
Nashtare Dec 15, 2023
68b9f0a
Add ERC721 test (#1425)
hratoanina Dec 16, 2023
f8f6b07
Change context to current context for BN precompiles (#1428)
wborgeaud Dec 16, 2023
0b56ab7
Added a Discord badge to `README.md`
BGluth Dec 17, 2023
ee91b67
Merge pull request #1432 from 0xPolygonZero/discord_badge
BGluth Dec 17, 2023
536cd1c
Regenerate tries upon Kernel failure during `hash_final_tries` (#1424)
Nashtare Dec 18, 2023
f67ee25
Add exceptions handling to the interpreter (#1393)
LindaGuiga Dec 18, 2023
18e08f4
Filter range checks (#1433)
LindaGuiga Dec 18, 2023
096c745
Constrain new top to loaded value in MLOAD_GENERAL (#1434)
hratoanina Dec 19, 2023
7cb0488
Minor cleanup (#1435)
Nashtare Dec 19, 2023
a291d92
Merge pull request #1392 from 0xPolygonZero/dp-from_values-take-ref
dvdplm Dec 19, 2023
829ae64
Improve proof generation
4l0n50 Dec 19, 2023
7eff4e2
Constrain first offset of a segment (#1397)
hratoanina Dec 19, 2023
6ababc9
Remove aborts for invalid jumps
4l0n50 Dec 20, 2023
9e39d88
Rebase to main
4l0n50 Dec 13, 2023
ff3dc2e
Refactor run_next_jumpdest_table_proof
4l0n50 Dec 13, 2023
ed26098
Fix jumpdest analisys test
4l0n50 Dec 13, 2023
0bec627
Apply suggestions from code review
4l0n50 Dec 15, 2023
5acabad
Eliminate nested simulations
4l0n50 Dec 15, 2023
0898249
Remove U256::as_u8 in comment
4l0n50 Dec 15, 2023
aaa38b3
Fix fmt
4l0n50 Dec 15, 2023
c402506
Clippy
4l0n50 Dec 15, 2023
4e56948
Improve proof generation
4l0n50 Dec 19, 2023
11d668f
Remove aborts for invalid jumps
4l0n50 Dec 20, 2023
0ae56db
Reabse to main
4l0n50 Dec 20, 2023
3e78865
Remove aborts for invalid jumps and Rebase
4l0n50 Dec 13, 2023
24ae0d9
Clippy
4l0n50 Dec 20, 2023
cb3f91a
add Debug trait to PartitionWitness to enable trace information outpu…
wizicer Dec 21, 2023
dfcf276
Refactor encode_empty_node and encode_branch_node
4l0n50 Nov 30, 2023
c3d707c
Constrain partial_channel (#1436)
hratoanina Dec 21, 2023
ae3003a
Add alternative method to prove txs without pre-loaded table circuits…
Nashtare Dec 22, 2023
a834049
Rebase to main
4l0n50 Nov 30, 2023
48b9769
Remove duplicated label
4l0n50 Dec 27, 2023
a85f987
Fix bug in jumpdest proof generation and check that jumpdest addr < c…
4l0n50 Dec 28, 2023
9c573a0
Restore simple_transfer and Clippy
4l0n50 Dec 28, 2023
1a95f7a
Clippy
4l0n50 Dec 28, 2023
ef07eab
Pacify latest clippy (#1442)
Nashtare Jan 2, 2024
6cf4df7
Add initial constraint z polynomial (#1440)
LindaGuiga Jan 2, 2024
f46cf4e
Prevent some lints from being allowed (#1443)
Nashtare Jan 2, 2024
ab4508f
Add packed verification
4l0n50 Jan 5, 2024
8f1efa1
Fix minor error
4l0n50 Jan 5, 2024
247d655
Minor
4l0n50 Jan 5, 2024
f4713c4
Apply suggestions from code review
4l0n50 Jan 5, 2024
1c99473
Address comments
4l0n50 Jan 5, 2024
897ba58
Remove assertion in packed verif
4l0n50 Jan 5, 2024
18a14bf
Remove assertion
4l0n50 Jan 5, 2024
20db596
Add some more explicit doc on plonky2 crate
Nashtare Jan 5, 2024
3c8b150
Rustdoc
Nashtare Jan 8, 2024
ed2e1bc
Add comment
Nashtare Jan 8, 2024
3e61f06
Remove gas check in sys_stop (#1448)
Nashtare Jan 8, 2024
2dacbfe
Address bundling (#1426)
Nashtare Jan 8, 2024
47b4285
Remove unused macro
4l0n50 Jan 8, 2024
cb19f21
Add crate-level documentation (#1444)
Nashtare Jan 8, 2024
77f5109
Adress reviewer comments
4l0n50 Jan 8, 2024
7fc6b86
Minor
4l0n50 Jan 8, 2024
80917cb
Merge remote-tracking branch 'public/main' into refactor_encode_funcs
4l0n50 Jan 8, 2024
82804e4
Add some more + module doc
Nashtare Jan 8, 2024
dcbfef6
chore: fix typos (#1451)
vuittont60 Jan 9, 2024
f4be34d
Some more
Nashtare Jan 9, 2024
bd02117
Fix `after_mpt_delete_extension_branch` (#1449)
wborgeaud Jan 9, 2024
22e267c
Address bundling
4l0n50 Jan 9, 2024
3c699be
Merge remote-tracking branch 'public/main' into refactor_encode_funcs
4l0n50 Jan 9, 2024
5b71eb4
Address review comments
4l0n50 Jan 9, 2024
95c83ad
Merge pull request #1399 from topos-protocol/refactor_encode_funcs
4l0n50 Jan 9, 2024
1715573
Fix problems after address bundling
4l0n50 Jan 9, 2024
54a1313
Improve some calls to `%mstore_rlp` (#1452)
Nashtare Jan 9, 2024
c8430da
Add Boolean constraints for `ArithmeticStark` (#1453)
Nashtare Jan 9, 2024
aedfe5d
Implement CTL bundling (#1439)
LindaGuiga Jan 10, 2024
33def08
Merge branch 'main' into plonky2_doc
Nashtare Jan 10, 2024
85524cf
Intra doc link
Nashtare Jan 10, 2024
c329b36
chore(evm,field,plonky2):fix typos (#1454)
AdventureSeeker987 Jan 10, 2024
0bf9cd2
Use current context in ecrecover (#1456)
wborgeaud Jan 10, 2024
92aaa40
Apply suggestions from code review
4l0n50 Jan 10, 2024
ae4a720
Address comments
4l0n50 Jan 10, 2024
99a1eb5
Missing review comments
4l0n50 Jan 10, 2024
606732a
Free up some CPU cycles (#1457)
Nashtare Jan 11, 2024
6ef0a3c
Apply suggestions from code review
4l0n50 Jan 11, 2024
233ddd4
Constrain syscall/exceptions filter to be boolean (#1458)
Nashtare Jan 11, 2024
bead1d6
Adress review comments
4l0n50 Jan 11, 2024
fdedf3e
Merge remote-tracking branch 'public/main' into jumpdest_nd
4l0n50 Jan 11, 2024
f9c3ad6
Update empty_txn_list
4l0n50 Jan 11, 2024
ac9f704
Fix comment
4l0n50 Jan 11, 2024
cda3084
Apply review
Nashtare Jan 11, 2024
3b1ed82
Merge pull request #1447 from topos-protocol/plonky2_doc
Nashtare Jan 11, 2024
b05e84d
Interpreter GenerationInputs (#1455)
LindaGuiga Jan 11, 2024
a78a29a
Merge pull request #1423 from topos-protocol/jumpdest_nd
4l0n50 Jan 11, 2024
f80ebe7
Remove full memory channel (#1450)
hratoanina Jan 11, 2024
ab05d18
Bumped `eth_trie_utils`
BGluth Jan 11, 2024
b119e96
Merge pull request #1461 from 0xPolygonZero/eth_trie_utils_bug_fix
BGluth Jan 11, 2024
7f5fae8
Add files via upload
pgebheim Jan 11, 2024
de2709d
Update README.md
pgebheim Jan 11, 2024
ccd4ff8
Update Cargo.toml
pgebheim Jan 11, 2024
219365d
Packed rlp prover inputs (#1460)
4l0n50 Jan 12, 2024
c2a73ad
Fix clippy (#1464)
Nashtare Jan 12, 2024
7048305
Fix fill_gaps (#1465)
LindaGuiga Jan 12, 2024
bb48cab
Add math rendering with Katex (#1459)
Nashtare Jan 12, 2024
c4319dc
fix: make add_generators public (#1463)
ratankaliani Jan 12, 2024
5c1ec52
proofreading (#1466)
Ursulafe Jan 13, 2024
30b4799
Fix simulation for jumpdest analysis (#1467)
4l0n50 Jan 15, 2024
990eb34
Remove some CPU cycles (#1469)
Nashtare Jan 16, 2024
10fc966
Remove some more CPU cycles (#1472)
Nashtare Jan 17, 2024
39a2d62
Fix touched_addresses removal (#1473)
Nashtare Jan 17, 2024
265d46a
chore: update ci workflow (#1475)
leovct Jan 18, 2024
b8a16b3
Fix typos (#1479)
Thabokani Jan 19, 2024
8e1969d
Fix interpreter jumps (#1471)
LindaGuiga Jan 22, 2024
319fc6a
Improve SHA2 precompile (#1480)
Nashtare Jan 22, 2024
8cb80e0
Improve `blake2f` call (#1477)
Nashtare Jan 22, 2024
ae0907f
Merge pull request #1462 from 0xPolygonZero/pg/evm-licensing
muursh Jan 23, 2024
acc59c3
Speed-up `bn254` pairing operation (#1476)
Nashtare Jan 23, 2024
c070006
Improve `BIGNUM` operations (#1482)
Nashtare Jan 24, 2024
ca2e56e
Fix bugs in jumpdest analysis (#1474)
4l0n50 Jan 24, 2024
eff7cc0
Fix circuit sizes (#1484)
Nashtare Jan 25, 2024
14bb5bd
Use web_time crate instead of std::time (#1481)
vivekvpandya Jan 25, 2024
36e62a1
Use usize::BITS and wrapping_shr in reverse_index_bits_in_place_small…
vivekvpandya Jan 26, 2024
a9060e6
Add LA audit report
dlubarov Jan 28, 2024
f76245e
Cleanup imports (#1492)
Nashtare Feb 1, 2024
1dc22b7
Fix BaseSumGenerator and BaseSplitGenerator Ids (#1494)
utsavjnn Feb 1, 2024
e502a0d
Make CTLs more generic (#1493)
Nashtare Feb 1, 2024
6357963
Reorganize lookup / ctl modules (#1495)
Nashtare Feb 1, 2024
f3f7433
Some cleanup (#1498)
Nashtare Feb 3, 2024
af0259c
Remove StarkProofWithMetadata (#1497)
Nashtare Feb 4, 2024
212f29c
Add missing constraints mentioned by auditors (#1499)
Nashtare Feb 5, 2024
8f91913
Fix nightly version
Nashtare Feb 6, 2024
246c2b6
Fix workflow
Nashtare Feb 6, 2024
fb8452d
Merge pull request #1500 from topos-protocol/ci
dvdplm Feb 6, 2024
06444ea
Switch permutation argument for logUp in `starky` (#1496)
Nashtare Feb 6, 2024
1a08e78
Fix no-std tests and add corresponding jobs in the CI (#1501)
Nashtare Feb 6, 2024
d2598bd
Revert "Remove StarkProofWithMetadata (#1497)" (#1502)
Nashtare Feb 8, 2024
6b39fc9
Remove risk of panics in interpreter (#1519)
Nashtare Feb 10, 2024
b600142
Cleanup `alloc` / `std` imports for plonky2 (#1518)
Nashtare Feb 10, 2024
b6fec06
Fix nightly build (ahash issue) (#1524)
dvdplm Feb 12, 2024
3ec1bfd
Update `starky` and leverage it as dependency for `plonky2_evm` (#1503)
Nashtare Feb 13, 2024
710225c
Simulate jumpdest data with the interpreter (#1489)
4l0n50 Feb 13, 2024
6f42ed5
Add additional methods for Poseidon with PackedField (#1526)
Nashtare Feb 15, 2024
8753162
Fix build for wasm32/64-unknown-unknown without std (#1528)
gshep Feb 15, 2024
a7b985c
Add hash public input methods (#1529)
hratoanina Feb 16, 2024
3e579b6
Remove plonky2_evm post-migration to zk_evm monorepo (#1530)
Nashtare Feb 17, 2024
cfe4448
Implement `Default` for `DefaultGateSerializer` and `DefaultGenerator…
Nashtare Feb 18, 2024
da85f1b
typo (#1533)
guerrierindien Feb 18, 2024
6c9588a
Update licenses and dependencies (#1534)
Nashtare Feb 19, 2024
4a620f4
Fix latest clippy for `redundant_imports` (#1535)
Nashtare Feb 19, 2024
598ac87
Do some additional cleanup pre-release (#1532)
Nashtare Feb 19, 2024
c94dc6f
Version bump pre-release (#1536)
Nashtare Feb 20, 2024
7445ec9
Bump plonky2-util version (#1538)
Nashtare Feb 20, 2024
16746f1
chore: remove conditional compilation for debug_utils (#1540)
dvdplm Feb 23, 2024
75c746e
Create CODEOWNERS
muursh Feb 27, 2024
cc464cb
Merge pull request #1545 from 0xPolygonZero/code_owners
muursh Feb 27, 2024
0817fd8
Pacify clippy (#1547)
Nashtare Feb 28, 2024
44dc0f9
Add mention to versions in local dependencies (#1546)
Nashtare Feb 28, 2024
66127bc
Bump starky (#1549)
Nashtare Feb 29, 2024
316e13e
example documentation fix
npwardberkeley Mar 4, 2024
62ffe11
Merge pull request #1550 from 0xPolygonZero/example-doc-fix
npwardberkeley Mar 4, 2024
a137b64
Add SECURITY.md and move contribution guidance to CONTRIBUTING.md (#1…
Nashtare Mar 14, 2024
2a2becc
Fix CTLs with exactly two looking tables (#1555)
Nashtare Mar 14, 2024
4f8e631
Prove Starks without constraints (#1552)
4l0n50 Mar 15, 2024
54cee24
Bump versions pre-release (#1557)
hratoanina Mar 21, 2024
3e89c7c
refactor code
spartucus Mar 22, 2024
cbfd19e
Merge pull request #1558 from spartucus/main
muursh Mar 22, 2024
240839e
Update CHANGELOG.md
muursh Mar 22, 2024
53c5bc3
Merge pull request #1559 from 0xPolygonZero/update_changelog
muursh Mar 22, 2024
692a9e3
Add stdarch_x86_avx512 feature
jimpo Apr 7, 2024
0731fec
Simplify types: remove option from CTL filters
matthiasgoergens Apr 15, 2024
d74121c
Merge pull request #1567 from 0xmozak/matthias/remove-filter
muursh Apr 15, 2024
fefe94d
Update CHANGELOG.md
muursh Apr 15, 2024
2566321
Merge pull request #1566 from jimpo/avx512-feature
muursh Apr 15, 2024
c386a63
One more
muursh Apr 15, 2024
4c10381
Merge pull request #1568 from 0xPolygonZero/readme
muursh Apr 15, 2024
76da138
Bump versions pre-release (#1569)
Nashtare Apr 16, 2024
ee9ea11
merged with upstream
nikkolasg May 16, 2024
ff04ad3
using right vec
nikkolasg May 16, 2024
43be5c8
Merge branch 'main' into upstream
nicholas-mainardi Jul 9, 2024
3e11b94
Fix EqualityGenerator when 0 constant as left operand
nicholas-mainardi Jul 11, 2024
3c4cc37
Introduce poseidon2 (#8)
nicholas-mainardi Aug 19, 2024
a58a2bf
Fix `Witness` inheritance to `WitnessWrite`.
silathdiir Sep 3, 2024
22c42f6
Merge pull request #10 from Lagrange-Labs/starky-bn254-update
nikkolasg Sep 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .cargo/katex-header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css"
integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js"
integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz"
crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js"
integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI"
crossorigin="anonymous"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
renderMathInElement(document.body, {
fleqn: false,
macros: {
"\\F": "\\mathbb{F}",
"\\G": "\\mathbb{G}",
"\\O": "\\mathcal{O}",
"\\(": "\\left(",
"\\)": "\\right)",
"\\norm": "\\left\\vert #1 \\right\\vert",
"\\set": "\\mathcal{ #1 }",
},
delimiters: [
{ left: "$$", right: "$$", display: true },
{ left: "\\(", right: "\\)", display: false },
{ left: "$", right: "$", display: false },
{ left: "\\[", right: "\\]", display: true }
]
});
});
</script>
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @muursh @wborgeaud @Nashtare
160 changes: 68 additions & 92 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,123 +10,119 @@ on:
branches:
- "**"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always

jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
timeout-minutes: 30
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install nightly toolchain
id: rustc-toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
uses: dtolnay/rust-toolchain@nightly

- name: rust-cache
uses: actions/cache@v3
- name: Set up rust cache
uses: Swatinem/rust-cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: rustc-test-${{ steps.rustc-toolchain.outputs.rustc_hash }}-cargo-${{ hashFiles('**/Cargo.toml') }}
cache-on-failure: true

- name: Check in plonky2 subdirectory
uses: actions-rs/cargo@v1
with:
command: check
args: --manifest-path plonky2/Cargo.toml
run: cargo check --manifest-path plonky2/Cargo.toml
env:
RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0
RUST_LOG: 1
CARGO_INCREMENTAL: 1
RUST_BACKTRACE: 1

- name: Check in starky subdirectory
uses: actions-rs/cargo@v1
with:
command: check
args: --manifest-path starky/Cargo.toml
run: cargo check --manifest-path starky/Cargo.toml
env:
RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0
RUST_LOG: 1
CARGO_INCREMENTAL: 1
RUST_BACKTRACE: 1

- name: Check in evm subdirectory
uses: actions-rs/cargo@v1
with:
command: check
args: --manifest-path evm/Cargo.toml
- name: Run cargo test
run: cargo test --workspace
env:
RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0
RUST_LOG: 1
CARGO_INCREMENTAL: 1
RUST_BACKTRACE: 1

- name: Run cargo test
uses: actions-rs/cargo@v1
wasm:
name: Check wasm32 compatibility
runs-on: ubuntu-latest
timeout-minutes: 30
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
with:
targets: wasm32-unknown-unknown

- name: Set up rust cache
uses: Swatinem/rust-cache@v2
with:
command: test
args: --workspace
cache-on-failure: true

- name: Check in plonky2 subdirectory for wasm targets
run: cargo check --manifest-path plonky2/Cargo.toml --target wasm32-unknown-unknown --no-default-features
env:
RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0
RUST_LOG: 1
CARGO_INCREMENTAL: 1
RUST_BACKTRACE: 1

wasm32:
name: wasm32 compatibility
- name: Check in starky subdirectory for wasm targets
run: cargo check --manifest-path starky/Cargo.toml --target wasm32-unknown-unknown --no-default-features
env:
RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0
RUST_LOG: 1
CARGO_INCREMENTAL: 1
RUST_BACKTRACE: 1

no_std:
name: Test Suite in no-std
runs-on: ubuntu-latest
timeout-minutes: 30
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install nightly wasm32 toolchain
id: rustc-toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
target: wasm32-unknown-unknown
default: true
override: true

- name: rust-cache
uses: actions/cache@v3
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@master
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: rustc-wasm32-${{ steps.rustc-toolchain.outputs.rustc_hash }}-cargo-${{ hashFiles('**/Cargo.toml') }}
toolchain: nightly-2024-02-01

- name: Check in plonky2 subdirectory
uses: actions-rs/cargo@v1
- name: Set up rust cache
uses: Swatinem/rust-cache@v2
with:
command: check
args: --manifest-path plonky2/Cargo.toml --target wasm32-unknown-unknown --no-default-features
cache-on-failure: true

- name: Run cargo test in plonky2 subdirectory (no-std)
run: cargo test --manifest-path plonky2/Cargo.toml --no-default-features --lib
env:
RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0
RUST_LOG: 1
CARGO_INCREMENTAL: 1
RUST_BACKTRACE: 1

- name: Check in starky subdirectory
uses: actions-rs/cargo@v1
with:
command: check
args: --manifest-path starky/Cargo.toml --target wasm32-unknown-unknown --no-default-features
- name: Run cargo test in starky subdirectory (no-std)
run: cargo test --manifest-path starky/Cargo.toml --no-default-features --lib
env:
RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0
RUST_LOG: 1
Expand All @@ -136,44 +132,24 @@ jobs:
lints:
name: Formatting and Clippy
runs-on: ubuntu-latest
timeout-minutes: 10
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install nightly toolchain
id: rustc-toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@nightly
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy

- name: rust-cache
uses: actions/cache@v3
- name: Set up rust cache
uses: Swatinem/rust-cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: rustc-lints-${{ steps.rustc-toolchain.outputs.rustc_hash }}-cargo-${{ hashFiles('**/Cargo.toml') }}
cache-on-failure: true

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
env:
CARGO_INCREMENTAL: 1
run: cargo fmt --all --check

- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets -- -D warnings -A incomplete-features
env:
# Seems necessary until https://github.com/rust-lang/rust/pull/115819 is merged.
CARGO_INCREMENTAL: 0
run: cargo clippy --all-features --all-targets -- -D warnings -A incomplete-features
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.2.3] - 2024-04-16

- Code refactoring ([#1558](https://github.com/0xPolygonZero/plonky2/pull/1558))
- Simplify types: remove option from CTL filters ([#1567](https://github.com/0xPolygonZero/plonky2/pull/1567))
- Add stdarch_x86_avx512 feature ([#1566](https://github.com/0xPolygonZero/plonky2/pull/1566))

## [0.2.2] - 2024-03-21

### Changed
- Fix CTLs with exactly two looking tables ([#1555](https://github.com/0xPolygonZero/plonky2/pull/1555))
- Make Starks without constraints provable ([#1552](https://github.com/0xPolygonZero/plonky2/pull/1552))

## [0.2.1] - 2024-03-01 (`starky` crate only)

### Changed
- Always compile cross_table_lookups::debug_utils ([#1540](https://github.com/0xPolygonZero/plonky2/pull/1540))

## [0.2.0] - 2024-02-20
- Initial CHANGELOG tracking.
Loading
Loading