Releases: Lightprotocol/light-protocol
Releases · Lightprotocol/light-protocol
light-prover-client-v1.2.0
chore: Bump version of all Rust projects (#1246) * chore: Bump version of all Rust projects * Include IDL and other changes post build * chore: Bump light-sdk-macros Version 0.2.0 was already released and yanked. * chore: Keep photon-api at version 0.45.0 --------- Co-authored-by: vadorovsky <[email protected]> Co-authored-by: GitHub Actions <[email protected]> Co-authored-by: Michal Rostecki <[email protected]>
v.1.0.0
v1.0.0 - ZK Compression programs - Mainnet-Beta
What's Changed
- chore: release 0.6.0 by @vadorovsky in #1124
- chore: Bump version of all Rust projects by @github-actions in #1125
- feat: forester alerts + monitoring by @sergeytimoshin in #1095
- chore: released rust crates and cli with patched agave client by @SwenSchaeferjohann in #1127
- chore: remove airdrop in run_pipeline by @sergeytimoshin in #1128
- Update README.md RPC urls by @BHEEEET in #1130
- chore: Update README.md by @SwenSchaeferjohann in #1131
- feat: add test-validator --stop flag by @SwenSchaeferjohann in #1132
- feat: add forester-utils crate by @sergeytimoshin in #1133
- chore: added rollover logic to forester(once per slot) and test by @ananas-block in #1134
- chore: add proof len consistency check by @ananas-block in #1144
- refactor: use existing variable for vec len by @ananas-block in #1145
- feat: forester: fetch proofs in parallel by @sergeytimoshin in #1146
- refactor: forester: switch logging from
log
totracing
by @sergeytimoshin in #1143 - fix: queue comment IndexedArray -> HashSet by @ananas-block in #1149
- fix: remove custom signer seeds from invoke_cpi by @ananas-block in #1147
- feat: Add macros for compressed PDAs by @vadorovsky in #1123
- chore: comment ix (un)freeze inputs.owner, fix: capacity (un)freeze by @ananas-block in #1150
- chore: fix informational findings by @ananas-block in #1154
- refactor: forester: use handles when spawning queues by @sergeytimoshin in #1148
- chore: Add acknowledgment section to light-prover README by @sergeytimoshin in #1158
- feat: forester: recover previous epoch by @sergeytimoshin in #1156
- chore: guard protocol config update active phase by @ananas-block in #1153
- chore: fix cargo metadata error on first use of build.sh by @sergeytimoshin in #1155
- build(deps-dev): bump playwright from 1.45.3 to 1.46.1 by @dependabot in #1139
- refactor: forester: remove debug logging from SlotTracker and Solana RPC by @sergeytimoshin in #1163
- fix: light prover inclusion setup import by @ananas-block in #1162
- feat: forester: enable optional metrics reporting via CLI flag by @sergeytimoshin in #1164
- refactor: forester: add retry logic for epoch registration by @sergeytimoshin in #1160
- fix: forester: epoch recovery by @sergeytimoshin in #1165
- feat: add retry logic to RPC methods by @sergeytimoshin in #1166
- chore: Bump version of all Rust projects by @github-actions in #1168
- refactor: forester: add trees in wait_for_active_phase for recovery + don't retry to send report tx if already sent by @sergeytimoshin in #1170
- fix: typescript sdk: use cursor when accumulating accounts for transfer by @sergeytimoshin in #1171
- chore: photon-api: remove excessive logging in default_api.rs by @sergeytimoshin in #1173
- chore: use proving keys from trusted setup by @ananas-block in #1172
- chore: add verifiable build, reenable programs to be registered signer check by @ananas-block in #1182
- chore: update idls by @ananas-block in #1184
- chore: Bump version of all Rust projects by @github-actions in #1186
- refactor: async rollover by @sergeytimoshin in #1183
- refactor: forester: set compute unit limit to 1,000,000 by @sergeytimoshin in #1188
- chore: Bump version of all Rust projects by @github-actions in #1187
- refactor: send_batched_transactions optimisation by @sergeytimoshin in #1191
- chore: release rust-sdks and js-sdks by @SwenSchaeferjohann in #1192
- chore: add audit reports by @ananas-block in #1169
- chore: Fix URLs of audit reports by @vadorovsky in #1196
- chore: add deployment scripts by @ananas-block in #1194
- refactor: forester: safetys check to minimise non-eligibility + other safety checks by @sergeytimoshin in #1195
- chore: add verify build readme by @ananas-block in #1197
- refactor: forester: queue fetching logic to support configurable indices by @sergeytimoshin in #1200
- chore: photon 0.45.0, add: getValidityProofV0 for custom tree support by @SwenSchaeferjohann in #1202
- feat: photon 0.45 by @sergeytimoshin in #1203
- refactor: forester: switch to photon-0.45 by @sergeytimoshin in #1204
- feat: forester: add tree discovery & injection into the current epoch by @sergeytimoshin in #1201
- fix: add yield_now call in tree_finder loop by @sergeytimoshin in #1208
- feat: add debugging capability to RPC function by @sergeytimoshin in #1207
- refactor: Move
RpcConnection
to a separate, thinner crate by @vadorovsky in #1199 - fix: add signer check dns example by @ananas-block in #1210
- feat: forester: Add SOL balance monitoring and alerting by @sergeytimoshin in #1212
- fix: photon-api: API requests to append API key by @sergeytimoshin in #1213
- fix: forester: rollover threshold check by @sergeytimoshin in #1215
- feat: Add
constraint =
attribute to#[light_accounts]
macro by @vadorovsky in #1217 - refactor: forester: send_transaction use RPC pool by @sergeytimoshin in #1221
- fix: hash-set capacity pub -> private by @ananas-block in #1224
- chore: switch ne_bytes to le_bytes by @ananas-block in #1225
- refactor: Simplify the check for
light_account
attribute by @vadorovsky in #1219 - feat: Add
#[instruction]
attribute by @vadorovsky in #1220 - chore: remove Forester from light-cli by @sergeytimoshin in #1229
- refactor: forester: switch to SolanaRpcConnection for epoch registration & work submission. by @sergeytimoshin in #1228
- build(deps): bump next from 14.2.5 to 14.2.11 by @dependabot in #1226
- build(deps): bump tokio-stream from 0.1.15 to 0.1.16 by @dependabot in #1181
- build(deps): bump serde_with from 2.3.3 to 3.9.0 by @dependabot in #1178
- build(deps-dev): bump mocha and @types/mocha by @dependabot in #1174
- build(deps): bump peter-evans/create-pull-request from 6 to 7 by @dependabot in #1177
- chore: remove unused configuration and script files by @sergeytimoshin in #1227
- refactor: refactor cli args by @sergeytimoshin in #1222
- refactor: Remove hard dependency on `light-system-p...
light-prover-client-v1.0.0
chore: Bump version of all Rust projects (#1187) * chore: Bump version of all Rust projects * Include IDL and other changes post build * extract light-sdk-macros (#1189) Co-authored-by: swen <[email protected]> * fix: lint (#1190) Co-authored-by: swen <[email protected]> --------- Co-authored-by: SwenSchaeferjohann <[email protected]> Co-authored-by: GitHub Actions <[email protected]> Co-authored-by: swen <[email protected]>
light-prover-client-v0.6.0
light-prover-client-v0.5.0
bump rust, build
Devnet - v.0.6.0
Breaking changes include:
- New program IDs. The up-to-date list can be found here.
- JS RPC client: compressed account endpoints now get returned with a cursor that allows for proper pagination. therefore accounts must be accessed via
response.items.accounts
instead ofresponse.accounts
.
What's Changed
- chore: release rust 0.5.0 + bump photon by @SwenSchaeferjohann in #1022
- fix: unchecked token pool account by @ananas-block in #1025
- refactor: forester: update config and add dotenv support by @sergeytimoshin in #1026
- chore: Update
tokio
to workspace-wide specification by @sergeytimoshin in #1024 - chore: remove Playwright install by @sergeytimoshin in #1023
- fix: token data alloc by @ananas-block in #1018
- fix: add output merkle tree uniqueness check by @ananas-block in #1027
- chore: forester: remove obsolete scripts and update generate.ts by @sergeytimoshin in #1028
- fix: spend program owned account with program keypair by @ananas-block in #1029
- feat: forester: add PHOTON_API_KEY .env var support by @sergeytimoshin in #1031
- build(deps): bump uuid from 1.8.0 to 1.10.0 by @dependabot in #1014
- build(deps-dev): bump husky from 9.0.11 to 9.1.1 by @dependabot in #1013
- build(deps): bump react-dom and @types/react-dom by @dependabot in #1012
- refactor: forester: update .env.example to use PHOTON_API_KEY by @sergeytimoshin in #1035
- chore: bump JS versions to photon 0.38.0 by @SwenSchaeferjohann in #1037
- fix: (de)compression transfer ix token pool check by @ananas-block in #1032
- build(deps): bump serde from 1.0.197 to 1.0.204 by @dependabot in #1042
- build(deps): bump num-traits from 0.2.18 to 0.2.19 by @dependabot in #1041
- build(deps): bump react and @types/react by @dependabot in #1040
- build(deps-dev): bump playwright from 1.45.1 to 1.45.3 by @dependabot in #1039
- build(deps): bump bs58 from 4.0.1 to 6.0.0 by @dependabot in #1009
- feat: protocol config by @ananas-block in #986
- build(deps-dev): bump nx from 19.4.2 to 19.5.3 by @dependabot in #1036
- fix: compressed token program revoke test coverage with sol by @ananas-block in #1044
- chore: add forester pubkey and additional bytes to meta data by @ananas-block in #1051
- fix: mix delegated and owned compressed token accounts by @ananas-block in #1050
- chore: registry cleanup metadata forester by @ananas-block in #1052
- chore: Formal Specification for the Merkle Tree circuits by @kustosz in #1033
- build(deps): bump sysinfo from 0.30.12 to 0.31.2 by @dependabot in #1058
- build(deps-dev): bump mocha from 10.6.0 to 10.7.0 by @dependabot in #1053
- build(deps): bump serde from 1.0.197 to 1.0.204 by @dependabot in #1057
- build(deps-dev): bump @types/chai from 4.3.16 to 4.3.17 by @dependabot in #1056
- build(deps-dev): bump @types/node from 20.12.11 to 22.1.0 by @dependabot in #1054
- feat: Add
LightDiscriminator
derive macro by @vadorovsky in #1061 - chore: switch to agave 1.18.17 by @sergeytimoshin in #1048
- fix: noop account check by @ananas-block in #1067
- fix: impl suggestions by @ananas-block in #1064
- chore: add read only placeholder by @ananas-block in #1065
- fix: deregister program by @ananas-block in #1066
- fix: use lightprotocol/agave* for solana-rpc by @sergeytimoshin in #1070
- feat: preventing contention between foresters by @sergeytimoshin in #1006
- feat: optimize forester with concurrent proof fetching and tx processing by @sergeytimoshin in #1068
- fix: Don't emit incorrect roots in Merkle tree batch append by @vadorovsky in #1045
- refactor: forester: fetch trees only when forester starts by @sergeytimoshin in #1071
- refactor: remove rpc Clone implementations and add error handling by @sergeytimoshin in #1076
- build(deps): bump next from 14.2.2 to 14.2.5 by @dependabot in #1083
- chore: install.sh with checkpoints by @sergeytimoshin in #1074
- chore: update readme, add info about ubuntu deps by @sergeytimoshin in #1073
- build(deps): bump anyhow from 1.0.75 to 1.0.86 by @dependabot in #1077
- fix(macros): Provide full import paths in
light_accounts
macro by @vadorovsky in #1063 - feat: bb8-based SolanaRpcPool by @sergeytimoshin in #1075
- chore: RPC patch by @SwenSchaeferjohann in #1072
- feat: lookuptable support + batch compress by @SwenSchaeferjohann in #1087
- fix: update page.tsx to use
accounts.items
for selectMinCompressedSolAccountsForTransfer by @sergeytimoshin in #1091 - chore: program anchor 0.30.1 compat by @ananas-block in #1092
- refactor: forester: unwraps & code structure by @sergeytimoshin in #1088
- chore: Remove commented code by @vadorovsky in #1094
- feat: forester: do not retry on not eligible slots by @sergeytimoshin in #1089
- feat:
#[derive(LightHasher)]
macro andAsByteVec
trait by @vadorovsky in #1085 - feat: DNS example by @vadorovsky in #1059
- fix: Rust compilation and clippy errors by @vadorovsky in #1102
- build(deps): bump base64 from 0.12.3 to 0.22.0 by @dependabot in #1096
- build(deps-dev): bump syncpack from 12.3.3 to 12.4.0 by @dependabot in #1098
- fix: create empty token accounts with invalid mints by @ananas-block in #1093
- build(deps): bump actions/cache from 3 to 4 by @dependabot in #1097
- chore: add memcp filter option to rpc, bump to photon 0.39.0 by @SwenSchaeferjohann in #1043
- build(deps-dev): bump @types/node from 22.1.0 to 22.4.1 by @dependabot in #1099
- feat: Add
#[light_account]
macro by @vadorovsky in #1105 - feat: Add helpers for each compressed account action by @vadorovsky in #1106
- feat: support for different circuit types for R1CS export by @sergeytimoshin in #1103
- feat: forester: reduce get slot calls by @sergeytimoshin in #1090
- chore: update install.sh by @sergeytimoshin in #1107
- fix(macros): Don't include original type size when
size
attribute is used by @vadorovsky in #1108 - chore: change program ids and regenerate accounts by @ananas-block in #1104
- feat: Add
derive_address_seed
helper by @vadorovsky in #1109 - build(deps): bump ...
light-prover-client-v0.4.2
light-prover-client-v0.4.1
light-prover-client-v0.4.0
Devnet - v.0.5.0
This is the first ZK Compression Release on Solana Devnet.
To install this release via the CLI: npm i @lightprotocol/zk-compression-cli
Summary:
What's Changed
- fix: make e2e test with address queue updates concurrent by @ananas-block in #872
- test: Add more tests for
IndexedArray
by @vadorovsky in #878 - chore: add flexible changelog root history arrays e2e test by @ananas-block in #877
- ci: Enable automated update PRs from dependabot by @vadorovsky in #880
- chore: revert manual anchor spl implementation by @ananas-block in #896
- chore: add "deps" and "deps-dev" to pr.yml workflow by @sergeytimoshin in #898
- build(deps): bump sysinfo from 0.30.8 to 0.30.12 by @dependabot in #894
- build(deps-dev): bump @types/node-fetch from 2.6.6 to 2.6.11 by @dependabot in #888
- build(deps): bump url from 2.5.0 to 2.5.2 by @dependabot in #890
- build(deps): bump tokio-util from 0.7.9 to 0.7.11 by @dependabot in #892
- build(deps): bump quote from 1.0.35 to 1.0.36 by @dependabot in #889
- build(deps-dev): bump husky from 8.0.3 to 9.0.11 by @dependabot in #886
- build(deps): bump react and @types/react by @dependabot in #895
- build(deps): bump @noble/curves from 1.2.0 to 1.4.0 by @dependabot in #893
- build(deps): bump proc-macro2 from 1.0.81 to 1.0.86 by @dependabot in #887
- build(deps): bump actions/setup-go from 4 to 5 by @dependabot in #884
- build(deps): bump pnpm/action-setup from 2.4.0 to 4.0.0 by @dependabot in #885
- build(deps): bump softprops/action-gh-release from 1 to 2 by @dependabot in #883
- build(deps): bump @noble/hashes from 1.3.2 to 1.4.0 by @dependabot in #891
- chore: remove prover.js and circuit-lib code by @sergeytimoshin in #899
- test: Use on-chain queues with different sizes by @vadorovsky in #879
- fix: cpi context by @ananas-block in #867
- chore: indexed merkle tree emit two changelog entries at init by @ananas-block in #901
- chore: add some merkle tree asserts by @ananas-block in #902
- chore: pin solana-banks-interface version to 1.18.11 by @sergeytimoshin in #905
- chore: move anchor deps to workspace Cargo.toml by @sergeytimoshin in #907
- chore: patch CLI local proving keys by @SwenSchaeferjohann in #900
- chore: remove clone from by @ananas-block in #909
- refactor: forester by @sergeytimoshin in #897
- test: e2e with queues with random capacities by @vadorovsky in #903
- test: Assert changelog entries after each Merkle tree operation by @vadorovsky in #904
- test: Add tests for
light-merkle-tree-reference
by @vadorovsky in #866 - chore: add rollover to e2e tests by @ananas-block in #910
- chore: bump photon to 0.30.0 by @SwenSchaeferjohann in #911
- test: Add failing tests with invalid changelog by @vadorovsky in #906
- chore: add unit tests and cleanups by @ananas-block in #913
- build(deps-dev): bump nx from 19.3.0 to 19.3.2 by @dependabot in #924
- build(deps-dev): bump mocha and @types/mocha by @dependabot in #916
- build(deps-dev): bump eslint-config-next from 14.2.2 to 14.2.4 by @dependabot in #917
- build(deps): bump clap from 4.4.11 to 4.5.8 by @dependabot in #922
- build(deps): bump color-eyre from 0.6.2 to 0.6.3 by @dependabot in #921
- build(deps-dev): bump chai from 4.4.1 to 5.1.1 by @dependabot in #915
- build(deps): bump react and @types/react by @dependabot in #923
- chore: Use workspace version of spl-token and update it to 4.0.0. by @sergeytimoshin in #925
- build(deps): bump num-bigint from 0.4.4 to 0.4.6 by @dependabot in #919
- chore: Return errors for unsupported configurations by @vadorovsky in #912
- test: Test different queue configs (for real) by @vadorovsky in #927
- chore: review-cleanup by @ananas-block in #929
- fix: safely convert discriminator rpc response to BN by @SwenSchaeferjohann in #928
- fix: update test command script in token-escrow's package.json by @sergeytimoshin in #933
- fix: Don't initialize the non-existent
next_value_index
incopy_from_bytes
by @vadorovsky in #935 - fix: improved retry logic on address tree foresting by @sergeytimoshin in #937
- chore: Remove sized tree implementations other than 26 by @vadorovsky in #936
- fix: Correct the
fillup_index
by @vadorovsky in #938 - chore: Remove
dequeue_*
methods by @vadorovsky in #942 - fix: Handle
6k + 1
candidates properly by @vadorovsky in #943 - style: Rename
sibling_index
tolevel
by @vadorovsky in #946 - fix: Use the correct size (
self.height + 1
) for Merklepath
by @vadorovsky in #947 - fix: Pass only the value of new element to
update
by @vadorovsky in #945 - chore: Assign distinct error codes in
HasherError
variants by @vadorovsky in #949 - fix: Increment
first_index
correctly ininc_first_index
by @vadorovsky in #944 - fix: Update canopy after Merkle tree updates by @vadorovsky in #934
- chore: guard init merkle trees by @ananas-block in #931
- chore: clean up forester tests by @sergeytimoshin in #940
- chore: remove unused indexed Merkle tree type definitions by @ananas-block in #950
- feat: add deregister program by @ananas-block in #951
- perf: Use index as an argument in
HashSet::mark_with_sequence_number
by @vadorovsky in #952 - fix: allow unordered input compressed accounts by @ananas-block in #953
- fix: Handle invalid (zero) capacity of changelog and roots reliably by @vadorovsky in #930
- chore: switch indexed array to vec by @ananas-block in #926
- test: Add a simple test case for
read_cyclic_bounded_vec_at
by @vadorovsky in #954 - docs: Update discord link in README.md by @ananas-block in #955
- refactor: add generic Indexer to E2ETestEnv by @sergeytimoshin in #914
- build(deps): bump env_logger from 0.10.2 to 0.11.2 by @dependabot in #974
- build(deps): bump tokio from 1.36.0 to 1.38.0 by @dependabot in #972
- build(deps-dev): bump syncpack from 11.2.1 to 12.3.3 by @dependabot in #971
- build(deps-dev): bump playwright from 1.44.1 to 1.45.1 by @dependabot in #970
- build(deps-dev): bump @types/chai fro...