Skip to content

Commit 2de7b5e

Browse files
committed
Delegation parameters initialization when used from stakeTo() (#457)
Fix set delegation parameters initialization when used from stakeTo. Add an internal `_setDelegationParameters()` that accepts the indexer address for which we are setting the configuration and use it from `stake()`, `stakeTo()`, and the public `setDelegationParameters()` functions. Perform optimizations to reduce bytecode size about 8%.
1 parent c778b8f commit 2de7b5e

File tree

7 files changed

+152
-1804
lines changed

7 files changed

+152
-1804
lines changed

contracts/staking/IStakingV1.sol

Lines changed: 0 additions & 152 deletions
This file was deleted.

0 commit comments

Comments
 (0)