Notable changes
-
Added functions related to the rewards v2.1 release:
-
ChainReader.GetOperatorSetSplit
inchainio/clients/elcontracts
operatorSplit, err = chainReader.GetOperatorSetSplit( context.Background(), operatorAddr, operatorSet, )
-
ChainWriter.SetOperatorSetSplit
inchainio/clients/elcontracts
receipt, err = chainWriter.SetOperatorSetSplit( context.Background(), operatorAddr, operatorSet, split, waitForReceipt, )
-
-
Removed deprecated functions:
NewAVSRegistryContractBindings
: useavsregistry.NewBindingsFromConfig
insteadBuildAvsRegistryChainReader
: useavsregistry.NewReaderFromConfig
insteadBuildAvsRegistryChainSubscriber
: useavsregistry.NewSubscriberFromConfig
insteadBuildAvsRegistryChainWriter
: useavsregistry.NewWriterFromConfig
insteadNewEigenlayerContractBindings
: useelcontracts.NewBindingsFromConfig
insteadBuildELChainReader
: useelcontracts.NewReaderFromConfig
instead
-
Removed
RegisterOperatorInQuorumWithAVSRegistryCoordinator
fromavsregistry.ChainWriter
.- Users should use
RegisterOperator
or interact with bindings directly.
- Users should use
-
Removed panics from some functions.
BuildReadClients
,BuildAll
,NewZapLoggerByConfig
, andAvsRegistryServiceChainCaller.GetOperatorsAvsStateAtBlock
return errors instead of panicking. TheOperatorsInfoServiceInMemory
no longer panics (errors are only logged). -
Added documentation to all functions in
chainio/clients/elcontracts
andchainio/clients/avsregistry
. -
Added some functions related to slashing. More incoming in a future release.
What's Changed
- Update go.mod by @anupsv in #411
- feat: slashing by @shrimalmadhur in #342
- fix: generate am from delegation manager by @shrimalmadhur in #425
- test:
elcontracts.ChainWriter
slashing functions by @ricomateo in #427 - test: add admin and appointees test for reader by @damiramirez in #430
- feat: bls signer abstraction by @shrimalmadhur in #403
- InstrumentedClient having rpcCallsCollector as mandatory by @pablodeymo in #378
- Remove outdated TODO by @TomasArrachea in #396
- test:
elcontracts.ChainWriter
claim functions (slashing) by @ricomateo in #436 - test: use read clients builder by @maximopalopoli in #441
- test: add reader test coverage by @maximopalopoli in #429
- fix: change literal string values for constants or predefined values by @maximopalopoli in #442
- test: add more chain reader coverage by @maximopalopoli in #443
- Remove deprecated functions by @pablodeymo in #367
- Compliance test for BLS signature by @pablodeymo in #402
- Avoid panics by @pablodeymo in #389
- Add exponential backoff retries to send transactions by @TomasArrachea in #392
- test and fix
ChainWriter.RegisterForOperatorSets
function by @pablodeymo in #416 - signer module removed, since it's deprecated by @pablodeymo in #366
- feat: add api key to cerberus client by @shrimalmadhur in #449
- feat: socket test by @gpsanant in #450
- test:
chainWriter
add edge case tests to improve coverage by @damiramirez in #451 - test:
chainReader
shares and operatorSets functions by @damiramirez in #437 - test: add test cases where contract returns an error by @maximopalopoli in #446
- test:
chainReader
invalid config tests by @damiramirez in #447 - fix: add attribute nil verifications in chainReader by @maximopalopoli in #448
- test: increase avsRegistry chainWriter coverage by @maximopalopoli in #457
- chore(deps): bump golang.org/x/crypto from 0.22.0 to 0.31.0 by @dependabot in #408
- chore(deps): bump golang.org/x/net from 0.26.0 to 0.33.0 in /signer by @dependabot in #439
- chore: format contracts by @ricomateo in #472
- chore: update bindings by @ricomateo in #476
- test: add invalid config chainWriter tests by @maximopalopoli in #454
- ci: add job to check the bindings are up to date by @ricomateo in #475
- ci: add job to check the contracts are formatted and can be compiled by @ricomateo in #471
- ci: add job to check if anvil state is up to date by @ricomateo in #480
- docs:
avsregistry/reader
by @ricomateo in #495 - docs:
avsregistry/writer
by @ricomateo in #496 - test:
avsregistry
add tests for subscriber by @damiramirez in #456 - docs:
elcontracts/writer
by @ricomateo in #498 - refactor:
elcontracts
error handling by @damiramirez in #463 - refactor: reduce redundancy in avsRegistry writer test by @maximopalopoli in #462
- test: add cancelled context tests for chainReader by @maximopalopoli in #455
- feat: add clear deallocation queue function by @maximopalopoli in #508
- feat: add set rewards initiator function by @maximopalopoli in #510
- feat: update middleware submodule to v1.0.3-testnet-slashing release by @MegaRedHand in #478
- feat: add is operator set quorum function by @maximopalopoli in #513
- feat: add set slashable stake lookahead function by @maximopalopoli in #512
- feat: add eject operator function by @maximopalopoli in #532
- feat: add create slashable stake quorum func by @maximopalopoli in #531
- feat: add create total delegated stake quorum function by @maximopalopoli in #529
- feat: integrate Rewards V2.1 by @Sidu28 in #534
- feat: add set churn approver function by @maximopalopoli in #538
- feat: add set operator set params function by @maximopalopoli in #539
- fix: don't use
example.com
in test by @MegaRedHand in #537 - feat: add set ejector function by @maximopalopoli in #540
- docs: add function documentation for
elcontracts/reader
andavsregistry/subscriber
by @MegaRedHand in #533 - refactor: Remove DeregisterOperatorOperatorSets function by @maximopalopoli in #459
- refactor: Remove deprecated function that registers an operator of avsRegistry writer by @maximopalopoli in #460
- test: improve test for is operator set quorum case by @maximopalopoli in #546
- feat: add set account identifier function by @maximopalopoli in #542
- feat: add set ejection cooldown function by @maximopalopoli in #545
- feat: implement
StakeRegistry
view functions by @Sidu28 in #536
New Contributors
- @anupsv made their first contribution in #411
- @damiramirez made their first contribution in #430
- @maximopalopoli made their first contribution in #441
- @MegaRedHand made their first contribution in #478
Full Changelog: v0.1.14...v0.2.0