Skip to content

Commit 4cf1969

Browse files
chore:release 0.3.0 (#351)
releases 0.3.0 ### What Changed? <!-- Describe the changes made in this pull request --> ### Reviewer Checklist - [ ] New features are tested and documented - [ ] PR updates the changelog with a description of changes - [ ] PR has one of the `changelog-X` labels (if applies) - [ ] Code deprecates any old functionality before removing it --------- Co-authored-by: Tomás Grüner <47506558+MegaRedHand@users.noreply.github.com>
1 parent 14b03b6 commit 4cf1969

File tree

5 files changed

+204
-62
lines changed

5 files changed

+204
-62
lines changed

.github/workflows/release-plz.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
push:
99
branches:
1010
- main
11+
- dev
1112

1213
jobs:
1314

CHANGELOG.md

Lines changed: 147 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,23 @@ Each version will have a separate `Breaking Changes` section as well. To describ
1212
Those changes in added, changed or breaking changes, should include usage examples to add clarity to the sdk user.
1313

1414
## [Unreleased]
15+
16+
### Security 🔒
17+
18+
### Added 🎉
19+
20+
### Breaking Changes 🛠
21+
22+
### Deprecated ⚠️
23+
24+
### Removed 🗑
25+
26+
### Documentation 📚
27+
28+
### Other Changes
29+
30+
## [0.3.0] - 2025-02-11
1531
### Added
16-
* Added `eigen_common` dependency to the `eigensdk` crate when "full" feature is enabled in [#249](https://github.com/Layr-Labs/eigensdk-rs/pull/249).
17-
* Added bindings for `ECDSAStakeRegistry` and `ECDSAServiceManagerBase` in [#269](https://github.com/Layr-Labs/eigensdk-rs/pull/269).
18-
* Added release-plz in ci in [#275](https://github.com/Layr-Labs/eigensdk-rs/pull/275).
1932
* Added new method `set_slashable_stake_lookahead` in `avsregistry/writer` in [#278](https://github.com/Layr-Labs/eigensdk-rs/pull/278).
2033
```rust
2134
let quorum_number = 0_u8;
@@ -64,9 +77,37 @@ Those changes in added, changed or breaking changes, should include usage exampl
6477
.status();
6578
// tx_status should be true
6679
```
67-
68-
* Added custom configuration for release-plz in [#281](https://github.com/Layr-Labs/eigensdk-rs/pull/281).
6980
* Added Rewards2.1 support in [#323](https://github.com/Layr-Labs/eigensdk-rs/pull/323).
81+
82+
* Set an operator's split on an operator set.
83+
84+
```rust
85+
let operator_set = OperatorSet {
86+
avs: avs_address,
87+
id: 0,
88+
};
89+
90+
let new_split = 5;
91+
let tx_hash = el_chain_writer
92+
.set_operator_set_split(OPERATOR_ADDRESS, operator_set.clone(), new_split)
93+
.await
94+
.unwrap();
95+
```
96+
97+
* Get an operator's split on an operator set.
98+
99+
```rust
100+
let operator_set = OperatorSet {
101+
avs: avs_address,
102+
id: 0,
103+
};
104+
let split = el_chain_writer
105+
.el_chain_reader
106+
.get_operator_set_split(OPERATOR_ADDRESS, operator_set)
107+
.await
108+
.unwrap();
109+
```
110+
70111
* Added new method `set_operator_set_param` in `avsregistry/writer` in [#327](https://github.com/Layr-Labs/eigensdk-rs/pull/327).
71112

72113
```rust
@@ -99,7 +140,7 @@ Those changes in added, changed or breaking changes, should include usage exampl
99140
```rust
100141
let operator_set_quourm = avs_reader.is_operator_set_quorum(0).await.unwrap();
101142
```
102-
143+
* Added version explicitly in crates in [#322](https://github.com/Layr-Labs/eigensdk-rs/pull/322).
103144
* Added new method `set_account_identifier` in `avsregistry/writer` in [#329](https://github.com/Layr-Labs/eigensdk-rs/pull/329).
104145

105146
```rust
@@ -110,12 +151,7 @@ Those changes in added, changed or breaking changes, should include usage exampl
110151
```
111152

112153
### Changed
113-
* Changes in the way bindings are generated in [#243](https://github.com/Layr-Labs/eigensdk-rs/pull/243).
114-
* The `bindings` target now generates the bindings using Docker with Foundry v0.3.0.
115-
* The previous `bindings` target was renamed to `bindings_host`, as it runs without Docker. However the `bindings_host` target is for CI use only. To generate the bindings, please use the `bindings` target.
116-
* Fixed the rewardsv2 bindings version in readme to 0.5.4 in [#246](https://github.com/Layr-Labs/eigensdk-rs/pull/246).
117-
* Fixed typo in release-plz toml file in [#284](https://github.com/Layr-Labs/eigensdk-rs/pull/284).
118-
* Fixed incorrect package name in Cargo.toml for examples in [#285](https://github.com/Layr-Labs/eigensdk-rs/pull/285).
154+
119155

120156
### Breaking changes
121157
* refactor: update interface on `bls aggregation` in [#254](https://github.com/Layr-Labs/eigensdk-rs/pull/254)
@@ -188,11 +224,109 @@ Those changes in added, changed or breaking changes, should include usage exampl
188224
* Slashing UAM changes in [#248](https://github.com/Layr-Labs/eigensdk-rs/pull/248).
189225

190226
### Removed
227+
228+
## [0.2.0] - 2025-02-06
229+
230+
### Security 🔒
231+
232+
* chore(deps): bump openssl from 0.10.68 to 0.10.70 in the cargo group across 1 directory by @dependabot in <https://github.com/Layr-Labs/eigensdk-rs/pull/291>
233+
234+
### Added 🎉
235+
236+
* Added `eigen_common` dependency to the `eigensdk` crate when "full" feature is enabled in [#249](https://github.com/Layr-Labs/eigensdk-rs/pull/249).
237+
* Now when enabling the "full" feature:
238+
239+
```toml
240+
eigensdk = { version = "0.2", features = ["full"] }
241+
```
242+
243+
You can use access the `eigen-common` crate as a submodule of `eigensdk`:
244+
245+
```rust
246+
use eigensdk::common::*;
247+
```
248+
249+
* Added bindings for `ECDSAStakeRegistry` and `ECDSAServiceManagerBase` in [#269](https://github.com/Layr-Labs/eigensdk-rs/pull/269).
250+
* These bindings can be accessed from:
251+
252+
```rust
253+
// From `eigensdk`
254+
use eigensdk::utils::middleware::ecdsaservicemanagerbase;
255+
use eigensdk::utils::middleware::ecdsastakeregistry;
256+
// From `eigen_utils`
257+
use eigen_utils::middleware::ecdsaservicemanagerbase;
258+
use eigen_utils::middleware::ecdsastakeregistry;
259+
```
260+
261+
* Starting on this release, we're using [`release-plz`](https://github.com/release-plz/release-plz) to streamline our release process.
262+
* Added release-plz in ci in [#275](https://github.com/Layr-Labs/eigensdk-rs/pull/275).
263+
* Added custom configuration for release-plz in [#281](https://github.com/Layr-Labs/eigensdk-rs/pull/281).
264+
* Fixed typo in release-plz toml file in [#284](https://github.com/Layr-Labs/eigensdk-rs/pull/284).
265+
266+
### Breaking Changes 🛠
267+
268+
* fix: use rewards coordinator on get operator avs/pi split methods by @maximopalopoli in <https://github.com/Layr-Labs/eigensdk-rs/pull/250>
269+
270+
* The parameters of `ChainReader::new` changed, and it now receives the address of the rewards coordinator.
271+
272+
It was previously called this way:
273+
274+
```rust
275+
let el_chain_reader = ELChainReader::new(
276+
logger,
277+
SLASHER_ADDRESS,
278+
DELEGATION_MANAGER_ADDRESS,
279+
AVS_DIRECTORY_ADDRESS,
280+
provider_url,
281+
);
282+
```
283+
284+
Now, it's called this way:
285+
286+
```rust
287+
let el_chain_reader = ELChainReader::new(
288+
logger,
289+
SLASHER_ADDRESS,
290+
DELEGATION_MANAGER_ADDRESS,
291+
REWARDS_COORDINATOR,
292+
AVS_DIRECTORY_ADDRESS,
293+
provider_url,
294+
);
295+
```
296+
297+
### Removed 🗑
298+
191299
* Removed homepage from testing-utils crate in [#266](https://github.com/Layr-Labs/eigensdk-rs/pull/266).
192300
* Removed changelog generation by release-plz in [#281](https://github.com/Layr-Labs/eigensdk-rs/pull/281).
193301
* Removed examples packages from workspace.dependencies in Cargo.toml in [#287](https://github.com/Layr-Labs/eigensdk-rs/pull/287).
194302
* Removed release-plz-pr workflow in release-plz in [#292](https://github.com/Layr-Labs/eigensdk-rs/pull/292).
195303

304+
### Documentation 📚
305+
306+
* Fixed the rewardsv2 bindings version in readme to 0.5.4 in [#246](https://github.com/Layr-Labs/eigensdk-rs/pull/246).
307+
* docs: improve changelog by adding examples by @maximopalopoli in <https://github.com/Layr-Labs/eigensdk-rs/pull/251>
308+
309+
### Other Changes
310+
311+
* Changes in the way bindings are generated in [#243](https://github.com/Layr-Labs/eigensdk-rs/pull/243).
312+
* The `bindings` target now generates the bindings using Docker with Foundry v0.3.0.
313+
* The previous `bindings` target was renamed to `bindings_host`, as it runs without Docker. However the `bindings_host` target is for CI use only. To generate the bindings, please use the `bindings` target.
314+
* Fixed incorrect package name in Cargo.toml for examples in [#285](https://github.com/Layr-Labs/eigensdk-rs/pull/285).
315+
* docs: add mention of updated bindings to changelog by @MegaRedHand in <https://github.com/Layr-Labs/eigensdk-rs/pull/233>
316+
* chore: format contracts by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/235>
317+
* ci: add foundry workflow by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/236>
318+
* ci: add CI job to check whether anvil state is up to date by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/237>
319+
* chore: remove existing bindings when generating new ones by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/242>
320+
* chore: remove alloy reexported crates from dependencies by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/244>
321+
* docs: sync root and `crates/eigensdk/` READMEs by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/245>
322+
* ci: add workflow to enforce updates to the changelog by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/239>
323+
* docs: add `RELEASE.md` by @MegaRedHand in <https://github.com/Layr-Labs/eigensdk-rs/pull/231>
324+
* ci: fix check bindings job by @pablodeymo in <https://github.com/Layr-Labs/eigensdk-rs/pull/247>
325+
* ci: fix job that checks anvil state is up-to-date by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/252>
326+
* refactor: move bindings generation to script by @MegaRedHand in <https://github.com/Layr-Labs/eigensdk-rs/pull/271>
327+
* fix: simplify Cargo.toml by @MegaRedHand in <https://github.com/Layr-Labs/eigensdk-rs/pull/282>
328+
* ci: split tests and coverage by @MegaRedHand in <https://github.com/Layr-Labs/eigensdk-rs/pull/286>
329+
196330
## [0.1.3] - 2024-01-17
197331
### Added 🎉
198332
* feat: add rewards-v2 related functionality by @supernovahs in https://github.com/Layr-Labs/eigensdk-rs/pull/221
@@ -312,4 +446,4 @@ Those changes in added, changed or breaking changes, should include usage exampl
312446
## Previous versions
313447

314448
This changelog was introduced in-between v0.1.2 and v0.1.3.
315-
For changes from previous releases, you can check on our GitHub repo's releases page: [github.com/Layr-Labs/eigensdk-rs/releases](https://github.com/Layr-Labs/eigensdk-rs/releases)
449+
For changes from previous releases, you can check on our GitHub repo's releases page: [github.com/Layr-Labs/eigensdk-rs/releases](https://github.com/Layr-Labs/eigensdk-rs/releases)

0 commit comments

Comments
 (0)